ve_defs.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Linux 2.6.32 and later Kernel module for VMware MVP Hypervisor Support
  3. *
  4. * Copyright (C) 2010-2013 VMware, Inc. All rights reserved.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published by
  8. * the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  13. * more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along with
  16. * this program; see the file COPYING. If not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18. */
  19. #line 5
  20. /**
  21. * @file
  22. *
  23. * @brief Virtualization extension definitions.
  24. *
  25. * See ARM PRD03-GENC-008353 11.0.
  26. */
  27. #ifndef _VE_DEFS_H_
  28. #define _VE_DEFS_H_
  29. #define INCLUDE_ALLOW_MVPD
  30. #define INCLUDE_ALLOW_VMX
  31. #define INCLUDE_ALLOW_MODULE
  32. #define INCLUDE_ALLOW_MONITOR
  33. #define INCLUDE_ALLOW_PV
  34. #define INCLUDE_ALLOW_GPL
  35. #include "include_check.h"
  36. #define ARM_VE_HSR_EC_BIT_POS 26
  37. #define ARM_VE_HSR_EC_LENGTH 6
  38. #define ARM_VE_HSR_EC_UNKNOWN 0x00
  39. #define ARM_VE_HSR_EC_WFI_WFE 0x01
  40. #define ARM_VE_HSR_EC_MCR_MRC_CP15 0x03
  41. #define ARM_VE_HSR_EC_MCRR_MRRC_CP15 0x04
  42. #define ARM_VE_HSR_EC_MCR_MRC_CP14 0x05
  43. #define ARM_VE_HSR_EC_LDC_STC_CP14 0x06
  44. #define ARM_VE_HSR_EC_HCPTR 0x07
  45. #define ARM_VE_HSR_EC_MRC_CP10 0x08
  46. #define ARM_VE_HSR_EC_JAZELLE 0x09
  47. #define ARM_VE_HSR_EC_BXJ 0x0a
  48. #define ARM_VE_HSR_EC_MRRC_CP14 0x0c
  49. #define ARM_VE_HSR_EC_SVC_HYP 0x11
  50. #define ARM_VE_HSR_EC_HVC 0x12
  51. #define ARM_VE_HSR_EC_SMC 0x13
  52. #define ARM_VE_HSR_EC_IABORT_SND 0x20
  53. #define ARM_VE_HSR_EC_IABORT_HYP 0x21
  54. #define ARM_VE_HSR_EC_DABORT_SND 0x24
  55. #define ARM_VE_HSR_EC_DABORT_HYP 0x25
  56. #define ARM_VE_HSR_FS_BIT_POS 0
  57. #define ARM_VE_HSR_FS_LENGTH 6
  58. #define ARM_VE_HSR_FS_TRANS_L1 0x5
  59. #define ARM_VE_HSR_FS_TRANS_L2 0x6
  60. #define ARM_VE_HSR_FS_TRANS_L3 0x7
  61. #define ARM_VE_HSR_FS_PERM_L1 0xd
  62. #define ARM_VE_HSR_FS_PERM_L2 0xe
  63. #define ARM_VE_HSR_FS_PERM_L3 0xf
  64. #endif /* ifndef _VE_DEFS_H_ */