]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Remove guest registers and cpu_data parameters from apic_mmio_access
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 3 Apr 2015 17:58:25 +0000 (19:58 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commit015f5e58d9960c26b013cb6db37aa22cf5a3e79b
treed7f64916a13907710d35c0edf6175b7a4b5e4a01
parentbb784c93249386d40971ec0da1bac0c28fb05677
x86: Remove guest registers and cpu_data parameters from apic_mmio_access

The function only works on the current CPU, thus should avoid to take
misleading parameters. The necessary references can be obtained inline.

With the parameters no longer needed, the callers
svm/vmx_handle_apic_access can drop some of them as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/apic.c
hypervisor/arch/x86/include/asm/apic.h
hypervisor/arch/x86/svm.c
hypervisor/arch/x86/vmx.c