]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitb2312f059c893833de58876c74290511846cd208
tree6164572aeaf0761412af0ce860b031e126cebcba
parent4baacfb0de53b05428c87d377fc8a3def4dc10e7
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