]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: add io_apic_ops to allow interception
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 20 Mar 2012 22:25:00 +0000 (18:25 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 20 Mar 2012 22:25:00 +0000 (18:25 -0400)
commit2944022f31139ae9650177e2667aa84448823388
tree073683e61ae8a51ad85dabc29f38b866504a325d
parent963ec11c2a01e27975cf3da0ec637dae029fe96c
x86: add io_apic_ops to allow interception

Xen dom0 needs to paravirtualize IO operations to the IO APIC, so add
a io_apic_ops for it to intercept.  Do this as ops structure because
there's at least some chance that another paravirtualized environment
may want to intercept these.

[ Impact: indirect IO APIC access via io_apic_ops ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/io_apic.c