kvm.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License, version 2, as
  4. * published by the Free Software Foundation.
  5. *
  6. * This program is distributed in the hope that it will be useful,
  7. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. * GNU General Public License for more details.
  10. *
  11. * You should have received a copy of the GNU General Public License
  12. * along with this program; if not, write to the Free Software
  13. * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14. *
  15. * Copyright IBM Corp. 2007
  16. *
  17. * Authors: Hollis Blanchard <hollisb@us.ibm.com>
  18. */
  19. #ifndef __LINUX_KVM_POWERPC_H
  20. #define __LINUX_KVM_POWERPC_H
  21. #include <linux/types.h>
  22. struct kvm_regs {
  23. __u64 pc;
  24. __u64 cr;
  25. __u64 ctr;
  26. __u64 lr;
  27. __u64 xer;
  28. __u64 msr;
  29. __u64 srr0;
  30. __u64 srr1;
  31. __u64 pid;
  32. __u64 sprg0;
  33. __u64 sprg1;
  34. __u64 sprg2;
  35. __u64 sprg3;
  36. __u64 sprg4;
  37. __u64 sprg5;
  38. __u64 sprg6;
  39. __u64 sprg7;
  40. __u64 gpr[32];
  41. };
  42. struct kvm_sregs {
  43. };
  44. struct kvm_fpu {
  45. __u64 fpr[32];
  46. };
  47. struct kvm_debug_exit_arch {
  48. };
  49. /* for KVM_SET_GUEST_DEBUG */
  50. struct kvm_guest_debug_arch {
  51. };
  52. #endif /* __LINUX_KVM_POWERPC_H */