]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Remove parameters from x2apic_handle_read/write
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 3 Apr 2015 13:33:25 +0000 (15:33 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commitbb784c93249386d40971ec0da1bac0c28fb05677
treebae52efd5ce0cc23a830648a66dc83b59fef7ed2
parent5233c243dbd19ceb059fbd6ef311bd06b7bac009
x86: Remove parameters from x2apic_handle_read/write

The function only works against the current CPU, thus should avoid to
take the misleading parameters. We can retrieve the per-cpu data
structure and the guest registers in the function now.

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