Skip to content

Commit

Permalink
KVM: PPC: Add QPR registers
Browse files Browse the repository at this point in the history
The Gekko has GPRs, SPRs and FPRs like normal PowerPC codes, but
it also has QPRs which are basically single precision only FPU registers
that get used when in paired single mode.

The following patches depend on them being around, so let's add the
definitions early.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Alexander Graf authored and Avi Kivity committed Apr 25, 2010
1 parent 052ce62 commit 5aa9e2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/powerpc/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ struct kvm_vcpu_arch {
u64 vsr[32];
#endif

#ifdef CONFIG_PPC_BOOK3S
/* For Gekko paired singles */
u32 qpr[32];
#endif

ulong pc;
ulong ctr;
ulong lr;
Expand Down

0 comments on commit 5aa9e2f

Please sign in to comment.