Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376600
b: refs/heads/master
c: 688cded
h: refs/heads/master
v: v3
  • Loading branch information
David Daney authored and Gleb Natapov committed Jun 3, 2013
1 parent 2979c52 commit 9058968
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f3dc6d76424538efb2095055035254b14499c77
refs/heads/master: 688cded320a4760de679160b42f9a81face02674
16 changes: 11 additions & 5 deletions trunk/arch/mips/include/uapi/asm/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
#define N_MIPS_COPROC_REGS 32
#define N_MIPS_COPROC_SEL 8

/* for KVM_GET_REGS and KVM_SET_REGS */
/*
* for KVM_GET_REGS and KVM_SET_REGS
*
* If Config[AT] is zero (32-bit CPU), the register contents are
* stored in the lower 32-bits of the struct kvm_regs fields and sign
* extended to 64-bits.
*/
struct kvm_regs {
__u32 gprs[32];
__u32 hi;
__u32 lo;
__u32 pc;
__u64 gprs[32];
__u64 hi;
__u64 lo;
__u64 pc;

__u32 cp0reg[N_MIPS_COPROC_REGS][N_MIPS_COPROC_SEL];
};
Expand Down

0 comments on commit 9058968

Please sign in to comment.