]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Rework RAX register accessors of PCI layer
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Apr 2015 05:53:18 +0000 (07:53 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commit816b34becc0a8c08965d623e16e7ef88539f2e6d
tree10d76382ab1e7204d06a498ffbe7754c13430f4e
parentf691199ac38f1706ce108fd6b5548a882cbcf8bc
x86: Rework RAX register accessors of PCI layer

Stop requiring that the guest registers are passed down to the
accessors. Access handlers always work over the issuing CPU, thus can
obtain the register state themselves. Rename the accessors to make it
clear that they work against guest registers.

This allows to drop the guest_regs parameters from
data_port_in/out_handler.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/pci.c