]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: ppc: Add DCR access information to struct kvm_run
authorHollis Blanchard <hollisb@us.ibm.com>
Thu, 17 Apr 2008 04:28:07 +0000 (23:28 -0500)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 15:21:37 +0000 (18:21 +0300)
commit903aa89e81d98c9bb3b44b907c683161fd79e4a9
tree6164572aeaf0761412af0ce860b031e126cebcba
parent8a63f1fcc032b9c3b68af0dbe2a266394fadc86c
KVM: ppc: Add DCR access information to struct kvm_run

Device Control Registers are essentially another address space found on PowerPC
4xx processors, analogous to PIO on x86. DCRs are always 32 bits, and can be
identified by a 32-bit number. We forward most DCR accesses to userspace for
emulation (with the exception of CPR0 registers, which can be read directly
for simplicity in timebase frequency determination).

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/kvm.h