]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: ivshmem: Simplify pci_ivshmem_cfg_read
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 18 May 2015 07:44:17 +0000 (09:44 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 May 2015 04:53:48 +0000 (06:53 +0200)
commitb93fda8ff381f4331646e5bb1ed09b95cce9ebc3
treeb33187c31f5f21e50e9b31b9b0777cef1e73914a
parent294110a88764422584bcd82dd5f7b37bc510b713
core: ivshmem: Simplify pci_ivshmem_cfg_read

Masking of the returned value is already done by the callers. So we just
need to shift the DWORD according to the access address.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/include/jailhouse/pci.h
hypervisor/pci.c
hypervisor/pci_ivshmem.c