Add DCR access information to
PATCH 1/1 Add DCR access information to
1 file changed, 7 insertions(+)
include/linux/kvm.h | 7 +++++++
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).
include/linux/kvm.h +7 -0
@@ -82,6 +82,7 @@#define KVM_EXIT_TPR_ACCESS 12#define KVM_EXIT_S390_SIEIC 13#define KVM_EXIT_S390_RESET 14 +#define KVM_EXIT_DCR 15/* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */ struct kvm_run {
@@ -161,6 +162,12 @@#define KVM_S390_RESET_CPU_INIT 8#define KVM_S390_RESET_IPL 16__u64 s390_reset_flags; +/* KVM_EXIT_DCR */ +struct { +__u32 dcrn; +__u32 data; +__u8 is_write; + } dcr;/* Fix the size of the union. */ char padding[256 ]; };
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel