Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2667 lines
76 KiB

  1. // cvconst.h - codeview constant definitions
  2. //-----------------------------------------------------------------
  3. //
  4. // Copyright Microsoft Corporation. All Rights Reserved.
  5. //
  6. //---------------------------------------------------------------
  7. #ifndef _CVCONST_H_
  8. #define _CVCONST_H_
  9. // Enumeration for function call type
  10. typedef enum CV_call_e {
  11. CV_CALL_NEAR_C = 0x00, // near right to left push, caller pops stack
  12. CV_CALL_FAR_C = 0x01, // far right to left push, caller pops stack
  13. CV_CALL_NEAR_PASCAL = 0x02, // near left to right push, callee pops stack
  14. CV_CALL_FAR_PASCAL = 0x03, // far left to right push, callee pops stack
  15. CV_CALL_NEAR_FAST = 0x04, // near left to right push with regs, callee pops stack
  16. CV_CALL_FAR_FAST = 0x05, // far left to right push with regs, callee pops stack
  17. CV_CALL_SKIPPED = 0x06, // skipped (unused) call index
  18. CV_CALL_NEAR_STD = 0x07, // near standard call
  19. CV_CALL_FAR_STD = 0x08, // far standard call
  20. CV_CALL_NEAR_SYS = 0x09, // near sys call
  21. CV_CALL_FAR_SYS = 0x0a, // far sys call
  22. CV_CALL_THISCALL = 0x0b, // this call (this passed in register)
  23. CV_CALL_MIPSCALL = 0x0c, // Mips call
  24. CV_CALL_GENERIC = 0x0d, // Generic call sequence
  25. CV_CALL_ALPHACALL = 0x0e, // Alpha call
  26. CV_CALL_PPCCALL = 0x0f, // PPC call
  27. CV_CALL_SHCALL = 0x10, // Hitachi SuperH call
  28. CV_CALL_ARMCALL = 0x11, // ARM call
  29. CV_CALL_AM33CALL = 0x12, // AM33 call
  30. CV_CALL_TRICALL = 0x13, // TriCore Call
  31. CV_CALL_SH5CALL = 0x14, // Hitachi SuperH-5 call
  32. CV_CALL_M32RCALL = 0x15, // M32R Call
  33. CV_CALL_RESERVED = 0x16 // first unused call enumeration
  34. } CV_call_e;
  35. // Values for the access protection of class attributes
  36. typedef enum CV_access_e {
  37. CV_private = 1,
  38. CV_protected = 2,
  39. CV_public = 3
  40. } CV_access_e;
  41. typedef enum THUNK_ORDINAL {
  42. THUNK_ORDINAL_NOTYPE, // standard thunk
  43. THUNK_ORDINAL_ADJUSTOR, // "this" adjustor thunk
  44. THUNK_ORDINAL_VCALL, // virtual call thunk
  45. THUNK_ORDINAL_PCODE, // pcode thunk
  46. THUNK_ORDINAL_LOAD, // thunk which loads the address to jump to
  47. // via unknown means...
  48. // trampoline thunk ordinals - only for use in Trampoline thunk symbols
  49. THUNK_ORDINAL_TRAMP_INCREMENTAL,
  50. THUNK_ORDINAL_TRAMP_BRANCHISLAND,
  51. } THUNK_ORDINAL;
  52. enum CV_SourceChksum_t {
  53. CHKSUM_TYPE_NONE = 0, // indicates no checksum is available
  54. CHKSUM_TYPE_MD5
  55. };
  56. //
  57. // DIA enums
  58. //
  59. enum SymTagEnum
  60. {
  61. SymTagNull,
  62. SymTagExe,
  63. SymTagCompiland,
  64. SymTagCompilandDetails,
  65. SymTagCompilandEnv,
  66. SymTagFunction,
  67. SymTagBlock,
  68. SymTagData,
  69. SymTagAnnotation,
  70. SymTagLabel,
  71. SymTagPublicSymbol,
  72. SymTagUDT,
  73. SymTagEnum,
  74. SymTagFunctionType,
  75. SymTagPointerType,
  76. SymTagArrayType,
  77. SymTagBaseType,
  78. SymTagTypedef,
  79. SymTagBaseClass,
  80. SymTagFriend,
  81. SymTagFunctionArgType,
  82. SymTagFuncDebugStart,
  83. SymTagFuncDebugEnd,
  84. SymTagUsingNamespace,
  85. SymTagVTableShape,
  86. SymTagVTable,
  87. SymTagCustom,
  88. SymTagThunk,
  89. SymTagCustomType,
  90. SymTagManagedType,
  91. SymTagDimension,
  92. SymTagMax
  93. };
  94. enum LocationType
  95. {
  96. LocIsNull,
  97. LocIsStatic,
  98. LocIsTLS,
  99. LocIsRegRel,
  100. LocIsThisRel,
  101. LocIsEnregistered,
  102. LocIsBitField,
  103. LocIsSlot,
  104. LocIsIlRel,
  105. LocInMetaData,
  106. LocIsConstant,
  107. LocTypeMax
  108. };
  109. enum DataKind
  110. {
  111. DataIsUnknown,
  112. DataIsLocal,
  113. DataIsStaticLocal,
  114. DataIsParam,
  115. DataIsObjectPtr,
  116. DataIsFileStatic,
  117. DataIsGlobal,
  118. DataIsMember,
  119. DataIsStaticMember,
  120. DataIsConstant
  121. };
  122. enum UdtKind
  123. {
  124. UdtStruct,
  125. UdtClass,
  126. UdtUnion
  127. };
  128. enum BasicType
  129. {
  130. btNoType = 0,
  131. btVoid = 1,
  132. btChar = 2,
  133. btWChar = 3,
  134. btInt = 6,
  135. btUInt = 7,
  136. btFloat = 8,
  137. btBCD = 9,
  138. btBool = 10,
  139. btLong = 13,
  140. btULong = 14,
  141. btCurrency = 25,
  142. btDate = 26,
  143. btVariant = 27,
  144. btComplex = 28,
  145. btBit = 29,
  146. btBSTR = 30,
  147. btHresult = 31
  148. };
  149. // enum describing the compile flag source language
  150. typedef enum CV_CFL_LANG {
  151. CV_CFL_C = 0x00,
  152. CV_CFL_CXX = 0x01,
  153. CV_CFL_FORTRAN = 0x02,
  154. CV_CFL_MASM = 0x03,
  155. CV_CFL_PASCAL = 0x04,
  156. CV_CFL_BASIC = 0x05,
  157. CV_CFL_COBOL = 0x06,
  158. CV_CFL_LINK = 0x07,
  159. CV_CFL_CVTRES = 0x08,
  160. CV_CFL_CVTPGD = 0x09,
  161. } CV_CFL_LANG;
  162. // enum describing target processor
  163. typedef enum CV_CPU_TYPE_e {
  164. CV_CFL_8080 = 0x00,
  165. CV_CFL_8086 = 0x01,
  166. CV_CFL_80286 = 0x02,
  167. CV_CFL_80386 = 0x03,
  168. CV_CFL_80486 = 0x04,
  169. CV_CFL_PENTIUM = 0x05,
  170. CV_CFL_PENTIUMII = 0x06,
  171. CV_CFL_PENTIUMPRO = CV_CFL_PENTIUMII,
  172. CV_CFL_PENTIUMIII = 0x07,
  173. CV_CFL_MIPS = 0x10,
  174. CV_CFL_MIPSR4000 = CV_CFL_MIPS, // don't break current code
  175. CV_CFL_MIPS16 = 0x11,
  176. CV_CFL_MIPS32 = 0x12,
  177. CV_CFL_MIPS64 = 0x13,
  178. CV_CFL_MIPSI = 0x14,
  179. CV_CFL_MIPSII = 0x15,
  180. CV_CFL_MIPSIII = 0x16,
  181. CV_CFL_MIPSIV = 0x17,
  182. CV_CFL_MIPSV = 0x18,
  183. CV_CFL_M68000 = 0x20,
  184. CV_CFL_M68010 = 0x21,
  185. CV_CFL_M68020 = 0x22,
  186. CV_CFL_M68030 = 0x23,
  187. CV_CFL_M68040 = 0x24,
  188. CV_CFL_ALPHA = 0x30,
  189. CV_CFL_ALPHA_21064 = 0x30,
  190. CV_CFL_ALPHA_21164 = 0x31,
  191. CV_CFL_ALPHA_21164A = 0x32,
  192. CV_CFL_ALPHA_21264 = 0x33,
  193. CV_CFL_ALPHA_21364 = 0x34,
  194. CV_CFL_PPC601 = 0x40,
  195. CV_CFL_PPC603 = 0x41,
  196. CV_CFL_PPC604 = 0x42,
  197. CV_CFL_PPC620 = 0x43,
  198. CV_CFL_PPCFP = 0x44,
  199. CV_CFL_SH3 = 0x50,
  200. CV_CFL_SH3E = 0x51,
  201. CV_CFL_SH3DSP = 0x52,
  202. CV_CFL_SH4 = 0x53,
  203. CV_CFL_SHMEDIA = 0x54,
  204. CV_CFL_ARM3 = 0x60,
  205. CV_CFL_ARM4 = 0x61,
  206. CV_CFL_ARM4T = 0x62,
  207. CV_CFL_ARM5 = 0x63,
  208. CV_CFL_ARM5T = 0x64,
  209. CV_CFL_OMNI = 0x70,
  210. CV_CFL_IA64 = 0x80,
  211. CV_CFL_IA64_1 = 0x80,
  212. CV_CFL_IA64_2 = 0x81,
  213. CV_CFL_CEE = 0x90,
  214. CV_CFL_AM33 = 0xA0,
  215. CV_CFL_M32R = 0xB0,
  216. CV_CFL_TRICORE = 0xC0,
  217. CV_CFL_X8664 = 0xD0,
  218. CV_CFL_AMD64 = CV_CFL_X8664,
  219. CV_CFL_EBC = 0xE0,
  220. CV_CFL_THUMB = 0xF0,
  221. } CV_CPU_TYPE_e;
  222. typedef enum CV_HREG_e {
  223. // Register subset shared by all processor types,
  224. // must not overlap with any of the ranges below, hence the high values
  225. CV_ALLREG_ERR = 30000,
  226. CV_ALLREG_TEB = 30001,
  227. CV_ALLREG_TIMER = 30002,
  228. CV_ALLREG_EFAD1 = 30003,
  229. CV_ALLREG_EFAD2 = 30004,
  230. CV_ALLREG_EFAD3 = 30005,
  231. CV_ALLREG_VFRAME= 30006,
  232. CV_ALLREG_HANDLE= 30007,
  233. CV_ALLREG_PARAMS= 30008,
  234. CV_ALLREG_LOCALS= 30009,
  235. CV_ALLREG_TID = 30010,
  236. CV_ALLREG_ENV = 30011,
  237. CV_ALLREG_CMDLN = 30012,
  238. // Register set for the Intel 80x86 and ix86 processor series
  239. // (plus PCODE registers)
  240. CV_REG_NONE = 0,
  241. CV_REG_AL = 1,
  242. CV_REG_CL = 2,
  243. CV_REG_DL = 3,
  244. CV_REG_BL = 4,
  245. CV_REG_AH = 5,
  246. CV_REG_CH = 6,
  247. CV_REG_DH = 7,
  248. CV_REG_BH = 8,
  249. CV_REG_AX = 9,
  250. CV_REG_CX = 10,
  251. CV_REG_DX = 11,
  252. CV_REG_BX = 12,
  253. CV_REG_SP = 13,
  254. CV_REG_BP = 14,
  255. CV_REG_SI = 15,
  256. CV_REG_DI = 16,
  257. CV_REG_EAX = 17,
  258. CV_REG_ECX = 18,
  259. CV_REG_EDX = 19,
  260. CV_REG_EBX = 20,
  261. CV_REG_ESP = 21,
  262. CV_REG_EBP = 22,
  263. CV_REG_ESI = 23,
  264. CV_REG_EDI = 24,
  265. CV_REG_ES = 25,
  266. CV_REG_CS = 26,
  267. CV_REG_SS = 27,
  268. CV_REG_DS = 28,
  269. CV_REG_FS = 29,
  270. CV_REG_GS = 30,
  271. CV_REG_IP = 31,
  272. CV_REG_FLAGS = 32,
  273. CV_REG_EIP = 33,
  274. CV_REG_EFLAGS = 34,
  275. CV_REG_TEMP = 40, // PCODE Temp
  276. CV_REG_TEMPH = 41, // PCODE TempH
  277. CV_REG_QUOTE = 42, // PCODE Quote
  278. CV_REG_PCDR3 = 43, // PCODE reserved
  279. CV_REG_PCDR4 = 44, // PCODE reserved
  280. CV_REG_PCDR5 = 45, // PCODE reserved
  281. CV_REG_PCDR6 = 46, // PCODE reserved
  282. CV_REG_PCDR7 = 47, // PCODE reserved
  283. CV_REG_CR0 = 80, // CR0 -- control registers
  284. CV_REG_CR1 = 81,
  285. CV_REG_CR2 = 82,
  286. CV_REG_CR3 = 83,
  287. CV_REG_CR4 = 84, // Pentium
  288. CV_REG_DR0 = 90, // Debug register
  289. CV_REG_DR1 = 91,
  290. CV_REG_DR2 = 92,
  291. CV_REG_DR3 = 93,
  292. CV_REG_DR4 = 94,
  293. CV_REG_DR5 = 95,
  294. CV_REG_DR6 = 96,
  295. CV_REG_DR7 = 97,
  296. CV_REG_GDTR = 110,
  297. CV_REG_GDTL = 111,
  298. CV_REG_IDTR = 112,
  299. CV_REG_IDTL = 113,
  300. CV_REG_LDTR = 114,
  301. CV_REG_TR = 115,
  302. CV_REG_PSEUDO1 = 116,
  303. CV_REG_PSEUDO2 = 117,
  304. CV_REG_PSEUDO3 = 118,
  305. CV_REG_PSEUDO4 = 119,
  306. CV_REG_PSEUDO5 = 120,
  307. CV_REG_PSEUDO6 = 121,
  308. CV_REG_PSEUDO7 = 122,
  309. CV_REG_PSEUDO8 = 123,
  310. CV_REG_PSEUDO9 = 124,
  311. CV_REG_ST0 = 128,
  312. CV_REG_ST1 = 129,
  313. CV_REG_ST2 = 130,
  314. CV_REG_ST3 = 131,
  315. CV_REG_ST4 = 132,
  316. CV_REG_ST5 = 133,
  317. CV_REG_ST6 = 134,
  318. CV_REG_ST7 = 135,
  319. CV_REG_CTRL = 136,
  320. CV_REG_STAT = 137,
  321. CV_REG_TAG = 138,
  322. CV_REG_FPIP = 139,
  323. CV_REG_FPCS = 140,
  324. CV_REG_FPDO = 141,
  325. CV_REG_FPDS = 142,
  326. CV_REG_ISEM = 143,
  327. CV_REG_FPEIP = 144,
  328. CV_REG_FPEDO = 145,
  329. CV_REG_MM0 = 146,
  330. CV_REG_MM1 = 147,
  331. CV_REG_MM2 = 148,
  332. CV_REG_MM3 = 149,
  333. CV_REG_MM4 = 150,
  334. CV_REG_MM5 = 151,
  335. CV_REG_MM6 = 152,
  336. CV_REG_MM7 = 153,
  337. CV_REG_XMM0 = 154, // KATMAI registers
  338. CV_REG_XMM1 = 155,
  339. CV_REG_XMM2 = 156,
  340. CV_REG_XMM3 = 157,
  341. CV_REG_XMM4 = 158,
  342. CV_REG_XMM5 = 159,
  343. CV_REG_XMM6 = 160,
  344. CV_REG_XMM7 = 161,
  345. CV_REG_XMM00 = 162, // KATMAI sub-registers
  346. CV_REG_XMM01 = 163,
  347. CV_REG_XMM02 = 164,
  348. CV_REG_XMM03 = 165,
  349. CV_REG_XMM10 = 166,
  350. CV_REG_XMM11 = 167,
  351. CV_REG_XMM12 = 168,
  352. CV_REG_XMM13 = 169,
  353. CV_REG_XMM20 = 170,
  354. CV_REG_XMM21 = 171,
  355. CV_REG_XMM22 = 172,
  356. CV_REG_XMM23 = 173,
  357. CV_REG_XMM30 = 174,
  358. CV_REG_XMM31 = 175,
  359. CV_REG_XMM32 = 176,
  360. CV_REG_XMM33 = 177,
  361. CV_REG_XMM40 = 178,
  362. CV_REG_XMM41 = 179,
  363. CV_REG_XMM42 = 180,
  364. CV_REG_XMM43 = 181,
  365. CV_REG_XMM50 = 182,
  366. CV_REG_XMM51 = 183,
  367. CV_REG_XMM52 = 184,
  368. CV_REG_XMM53 = 185,
  369. CV_REG_XMM60 = 186,
  370. CV_REG_XMM61 = 187,
  371. CV_REG_XMM62 = 188,
  372. CV_REG_XMM63 = 189,
  373. CV_REG_XMM70 = 190,
  374. CV_REG_XMM71 = 191,
  375. CV_REG_XMM72 = 192,
  376. CV_REG_XMM73 = 193,
  377. CV_REG_XMM0L = 194,
  378. CV_REG_XMM1L = 195,
  379. CV_REG_XMM2L = 196,
  380. CV_REG_XMM3L = 197,
  381. CV_REG_XMM4L = 198,
  382. CV_REG_XMM5L = 199,
  383. CV_REG_XMM6L = 200,
  384. CV_REG_XMM7L = 201,
  385. CV_REG_XMM0H = 202,
  386. CV_REG_XMM1H = 203,
  387. CV_REG_XMM2H = 204,
  388. CV_REG_XMM3H = 205,
  389. CV_REG_XMM4H = 206,
  390. CV_REG_XMM5H = 207,
  391. CV_REG_XMM6H = 208,
  392. CV_REG_XMM7H = 209,
  393. CV_REG_MXCSR = 211, // XMM status register
  394. CV_REG_EDXEAX = 212, // EDX:EAX pair
  395. CV_REG_EMM0L = 220, // XMM sub-registers (WNI integer)
  396. CV_REG_EMM1L = 221,
  397. CV_REG_EMM2L = 222,
  398. CV_REG_EMM3L = 223,
  399. CV_REG_EMM4L = 224,
  400. CV_REG_EMM5L = 225,
  401. CV_REG_EMM6L = 226,
  402. CV_REG_EMM7L = 227,
  403. CV_REG_EMM0H = 228,
  404. CV_REG_EMM1H = 229,
  405. CV_REG_EMM2H = 230,
  406. CV_REG_EMM3H = 231,
  407. CV_REG_EMM4H = 232,
  408. CV_REG_EMM5H = 233,
  409. CV_REG_EMM6H = 234,
  410. CV_REG_EMM7H = 235,
  411. // do not change the order of these regs, first one must be even too
  412. CV_REG_MM00 = 236,
  413. CV_REG_MM01 = 237,
  414. CV_REG_MM10 = 238,
  415. CV_REG_MM11 = 239,
  416. CV_REG_MM20 = 240,
  417. CV_REG_MM21 = 241,
  418. CV_REG_MM30 = 242,
  419. CV_REG_MM31 = 243,
  420. CV_REG_MM40 = 244,
  421. CV_REG_MM41 = 245,
  422. CV_REG_MM50 = 246,
  423. CV_REG_MM51 = 247,
  424. CV_REG_MM60 = 248,
  425. CV_REG_MM61 = 249,
  426. CV_REG_MM70 = 250,
  427. CV_REG_MM71 = 251,
  428. // registers for the 68K processors
  429. CV_R68_D0 = 0,
  430. CV_R68_D1 = 1,
  431. CV_R68_D2 = 2,
  432. CV_R68_D3 = 3,
  433. CV_R68_D4 = 4,
  434. CV_R68_D5 = 5,
  435. CV_R68_D6 = 6,
  436. CV_R68_D7 = 7,
  437. CV_R68_A0 = 8,
  438. CV_R68_A1 = 9,
  439. CV_R68_A2 = 10,
  440. CV_R68_A3 = 11,
  441. CV_R68_A4 = 12,
  442. CV_R68_A5 = 13,
  443. CV_R68_A6 = 14,
  444. CV_R68_A7 = 15,
  445. CV_R68_CCR = 16,
  446. CV_R68_SR = 17,
  447. CV_R68_USP = 18,
  448. CV_R68_MSP = 19,
  449. CV_R68_SFC = 20,
  450. CV_R68_DFC = 21,
  451. CV_R68_CACR = 22,
  452. CV_R68_VBR = 23,
  453. CV_R68_CAAR = 24,
  454. CV_R68_ISP = 25,
  455. CV_R68_PC = 26,
  456. //reserved 27
  457. CV_R68_FPCR = 28,
  458. CV_R68_FPSR = 29,
  459. CV_R68_FPIAR = 30,
  460. //reserved 31
  461. CV_R68_FP0 = 32,
  462. CV_R68_FP1 = 33,
  463. CV_R68_FP2 = 34,
  464. CV_R68_FP3 = 35,
  465. CV_R68_FP4 = 36,
  466. CV_R68_FP5 = 37,
  467. CV_R68_FP6 = 38,
  468. CV_R68_FP7 = 39,
  469. //reserved 40
  470. CV_R68_MMUSR030 = 41,
  471. CV_R68_MMUSR = 42,
  472. CV_R68_URP = 43,
  473. CV_R68_DTT0 = 44,
  474. CV_R68_DTT1 = 45,
  475. CV_R68_ITT0 = 46,
  476. CV_R68_ITT1 = 47,
  477. //reserved 50
  478. CV_R68_PSR = 51,
  479. CV_R68_PCSR = 52,
  480. CV_R68_VAL = 53,
  481. CV_R68_CRP = 54,
  482. CV_R68_SRP = 55,
  483. CV_R68_DRP = 56,
  484. CV_R68_TC = 57,
  485. CV_R68_AC = 58,
  486. CV_R68_SCC = 59,
  487. CV_R68_CAL = 60,
  488. CV_R68_TT0 = 61,
  489. CV_R68_TT1 = 62,
  490. //reserved 63
  491. CV_R68_BAD0 = 64,
  492. CV_R68_BAD1 = 65,
  493. CV_R68_BAD2 = 66,
  494. CV_R68_BAD3 = 67,
  495. CV_R68_BAD4 = 68,
  496. CV_R68_BAD5 = 69,
  497. CV_R68_BAD6 = 70,
  498. CV_R68_BAD7 = 71,
  499. CV_R68_BAC0 = 72,
  500. CV_R68_BAC1 = 73,
  501. CV_R68_BAC2 = 74,
  502. CV_R68_BAC3 = 75,
  503. CV_R68_BAC4 = 76,
  504. CV_R68_BAC5 = 77,
  505. CV_R68_BAC6 = 78,
  506. CV_R68_BAC7 = 79,
  507. // Register set for the MIPS 4000
  508. CV_M4_NOREG = CV_REG_NONE,
  509. CV_M4_IntZERO = 10, /* CPU REGISTER */
  510. CV_M4_IntAT = 11,
  511. CV_M4_IntV0 = 12,
  512. CV_M4_IntV1 = 13,
  513. CV_M4_IntA0 = 14,
  514. CV_M4_IntA1 = 15,
  515. CV_M4_IntA2 = 16,
  516. CV_M4_IntA3 = 17,
  517. CV_M4_IntT0 = 18,
  518. CV_M4_IntT1 = 19,
  519. CV_M4_IntT2 = 20,
  520. CV_M4_IntT3 = 21,
  521. CV_M4_IntT4 = 22,
  522. CV_M4_IntT5 = 23,
  523. CV_M4_IntT6 = 24,
  524. CV_M4_IntT7 = 25,
  525. CV_M4_IntS0 = 26,
  526. CV_M4_IntS1 = 27,
  527. CV_M4_IntS2 = 28,
  528. CV_M4_IntS3 = 29,
  529. CV_M4_IntS4 = 30,
  530. CV_M4_IntS5 = 31,
  531. CV_M4_IntS6 = 32,
  532. CV_M4_IntS7 = 33,
  533. CV_M4_IntT8 = 34,
  534. CV_M4_IntT9 = 35,
  535. CV_M4_IntKT0 = 36,
  536. CV_M4_IntKT1 = 37,
  537. CV_M4_IntGP = 38,
  538. CV_M4_IntSP = 39,
  539. CV_M4_IntS8 = 40,
  540. CV_M4_IntRA = 41,
  541. CV_M4_IntLO = 42,
  542. CV_M4_IntHI = 43,
  543. CV_M4_Fir = 50,
  544. CV_M4_Psr = 51,
  545. CV_M4_FltF0 = 60, /* Floating point registers */
  546. CV_M4_FltF1 = 61,
  547. CV_M4_FltF2 = 62,
  548. CV_M4_FltF3 = 63,
  549. CV_M4_FltF4 = 64,
  550. CV_M4_FltF5 = 65,
  551. CV_M4_FltF6 = 66,
  552. CV_M4_FltF7 = 67,
  553. CV_M4_FltF8 = 68,
  554. CV_M4_FltF9 = 69,
  555. CV_M4_FltF10 = 70,
  556. CV_M4_FltF11 = 71,
  557. CV_M4_FltF12 = 72,
  558. CV_M4_FltF13 = 73,
  559. CV_M4_FltF14 = 74,
  560. CV_M4_FltF15 = 75,
  561. CV_M4_FltF16 = 76,
  562. CV_M4_FltF17 = 77,
  563. CV_M4_FltF18 = 78,
  564. CV_M4_FltF19 = 79,
  565. CV_M4_FltF20 = 80,
  566. CV_M4_FltF21 = 81,
  567. CV_M4_FltF22 = 82,
  568. CV_M4_FltF23 = 83,
  569. CV_M4_FltF24 = 84,
  570. CV_M4_FltF25 = 85,
  571. CV_M4_FltF26 = 86,
  572. CV_M4_FltF27 = 87,
  573. CV_M4_FltF28 = 88,
  574. CV_M4_FltF29 = 89,
  575. CV_M4_FltF30 = 90,
  576. CV_M4_FltF31 = 91,
  577. CV_M4_FltFsr = 92,
  578. // Register set for the ALPHA AXP
  579. CV_ALPHA_NOREG = CV_REG_NONE,
  580. CV_ALPHA_FltF0 = 10, // Floating point registers
  581. CV_ALPHA_FltF1 = 11,
  582. CV_ALPHA_FltF2 = 12,
  583. CV_ALPHA_FltF3 = 13,
  584. CV_ALPHA_FltF4 = 14,
  585. CV_ALPHA_FltF5 = 15,
  586. CV_ALPHA_FltF6 = 16,
  587. CV_ALPHA_FltF7 = 17,
  588. CV_ALPHA_FltF8 = 18,
  589. CV_ALPHA_FltF9 = 19,
  590. CV_ALPHA_FltF10 = 20,
  591. CV_ALPHA_FltF11 = 21,
  592. CV_ALPHA_FltF12 = 22,
  593. CV_ALPHA_FltF13 = 23,
  594. CV_ALPHA_FltF14 = 24,
  595. CV_ALPHA_FltF15 = 25,
  596. CV_ALPHA_FltF16 = 26,
  597. CV_ALPHA_FltF17 = 27,
  598. CV_ALPHA_FltF18 = 28,
  599. CV_ALPHA_FltF19 = 29,
  600. CV_ALPHA_FltF20 = 30,
  601. CV_ALPHA_FltF21 = 31,
  602. CV_ALPHA_FltF22 = 32,
  603. CV_ALPHA_FltF23 = 33,
  604. CV_ALPHA_FltF24 = 34,
  605. CV_ALPHA_FltF25 = 35,
  606. CV_ALPHA_FltF26 = 36,
  607. CV_ALPHA_FltF27 = 37,
  608. CV_ALPHA_FltF28 = 38,
  609. CV_ALPHA_FltF29 = 39,
  610. CV_ALPHA_FltF30 = 40,
  611. CV_ALPHA_FltF31 = 41,
  612. CV_ALPHA_IntV0 = 42, // Integer registers
  613. CV_ALPHA_IntT0 = 43,
  614. CV_ALPHA_IntT1 = 44,
  615. CV_ALPHA_IntT2 = 45,
  616. CV_ALPHA_IntT3 = 46,
  617. CV_ALPHA_IntT4 = 47,
  618. CV_ALPHA_IntT5 = 48,
  619. CV_ALPHA_IntT6 = 49,
  620. CV_ALPHA_IntT7 = 50,
  621. CV_ALPHA_IntS0 = 51,
  622. CV_ALPHA_IntS1 = 52,
  623. CV_ALPHA_IntS2 = 53,
  624. CV_ALPHA_IntS3 = 54,
  625. CV_ALPHA_IntS4 = 55,
  626. CV_ALPHA_IntS5 = 56,
  627. CV_ALPHA_IntFP = 57,
  628. CV_ALPHA_IntA0 = 58,
  629. CV_ALPHA_IntA1 = 59,
  630. CV_ALPHA_IntA2 = 60,
  631. CV_ALPHA_IntA3 = 61,
  632. CV_ALPHA_IntA4 = 62,
  633. CV_ALPHA_IntA5 = 63,
  634. CV_ALPHA_IntT8 = 64,
  635. CV_ALPHA_IntT9 = 65,
  636. CV_ALPHA_IntT10 = 66,
  637. CV_ALPHA_IntT11 = 67,
  638. CV_ALPHA_IntRA = 68,
  639. CV_ALPHA_IntT12 = 69,
  640. CV_ALPHA_IntAT = 70,
  641. CV_ALPHA_IntGP = 71,
  642. CV_ALPHA_IntSP = 72,
  643. CV_ALPHA_IntZERO = 73,
  644. CV_ALPHA_Fpcr = 74, // Control registers
  645. CV_ALPHA_Fir = 75,
  646. CV_ALPHA_Psr = 76,
  647. CV_ALPHA_FltFsr = 77,
  648. CV_ALPHA_SoftFpcr = 78,
  649. // Register Set for Motorola/IBM PowerPC
  650. /*
  651. ** PowerPC General Registers ( User Level )
  652. */
  653. CV_PPC_GPR0 = 1,
  654. CV_PPC_GPR1 = 2,
  655. CV_PPC_GPR2 = 3,
  656. CV_PPC_GPR3 = 4,
  657. CV_PPC_GPR4 = 5,
  658. CV_PPC_GPR5 = 6,
  659. CV_PPC_GPR6 = 7,
  660. CV_PPC_GPR7 = 8,
  661. CV_PPC_GPR8 = 9,
  662. CV_PPC_GPR9 = 10,
  663. CV_PPC_GPR10 = 11,
  664. CV_PPC_GPR11 = 12,
  665. CV_PPC_GPR12 = 13,
  666. CV_PPC_GPR13 = 14,
  667. CV_PPC_GPR14 = 15,
  668. CV_PPC_GPR15 = 16,
  669. CV_PPC_GPR16 = 17,
  670. CV_PPC_GPR17 = 18,
  671. CV_PPC_GPR18 = 19,
  672. CV_PPC_GPR19 = 20,
  673. CV_PPC_GPR20 = 21,
  674. CV_PPC_GPR21 = 22,
  675. CV_PPC_GPR22 = 23,
  676. CV_PPC_GPR23 = 24,
  677. CV_PPC_GPR24 = 25,
  678. CV_PPC_GPR25 = 26,
  679. CV_PPC_GPR26 = 27,
  680. CV_PPC_GPR27 = 28,
  681. CV_PPC_GPR28 = 29,
  682. CV_PPC_GPR29 = 30,
  683. CV_PPC_GPR30 = 31,
  684. CV_PPC_GPR31 = 32,
  685. /*
  686. ** PowerPC Condition Register ( User Level )
  687. */
  688. CV_PPC_CR = 33,
  689. CV_PPC_CR0 = 34,
  690. CV_PPC_CR1 = 35,
  691. CV_PPC_CR2 = 36,
  692. CV_PPC_CR3 = 37,
  693. CV_PPC_CR4 = 38,
  694. CV_PPC_CR5 = 39,
  695. CV_PPC_CR6 = 40,
  696. CV_PPC_CR7 = 41,
  697. /*
  698. ** PowerPC Floating Point Registers ( User Level )
  699. */
  700. CV_PPC_FPR0 = 42,
  701. CV_PPC_FPR1 = 43,
  702. CV_PPC_FPR2 = 44,
  703. CV_PPC_FPR3 = 45,
  704. CV_PPC_FPR4 = 46,
  705. CV_PPC_FPR5 = 47,
  706. CV_PPC_FPR6 = 48,
  707. CV_PPC_FPR7 = 49,
  708. CV_PPC_FPR8 = 50,
  709. CV_PPC_FPR9 = 51,
  710. CV_PPC_FPR10 = 52,
  711. CV_PPC_FPR11 = 53,
  712. CV_PPC_FPR12 = 54,
  713. CV_PPC_FPR13 = 55,
  714. CV_PPC_FPR14 = 56,
  715. CV_PPC_FPR15 = 57,
  716. CV_PPC_FPR16 = 58,
  717. CV_PPC_FPR17 = 59,
  718. CV_PPC_FPR18 = 60,
  719. CV_PPC_FPR19 = 61,
  720. CV_PPC_FPR20 = 62,
  721. CV_PPC_FPR21 = 63,
  722. CV_PPC_FPR22 = 64,
  723. CV_PPC_FPR23 = 65,
  724. CV_PPC_FPR24 = 66,
  725. CV_PPC_FPR25 = 67,
  726. CV_PPC_FPR26 = 68,
  727. CV_PPC_FPR27 = 69,
  728. CV_PPC_FPR28 = 70,
  729. CV_PPC_FPR29 = 71,
  730. CV_PPC_FPR30 = 72,
  731. CV_PPC_FPR31 = 73,
  732. /*
  733. ** PowerPC Floating Point Status and Control Register ( User Level )
  734. */
  735. CV_PPC_FPSCR = 74,
  736. /*
  737. ** PowerPC Machine State Register ( Supervisor Level )
  738. */
  739. CV_PPC_MSR = 75,
  740. /*
  741. ** PowerPC Segment Registers ( Supervisor Level )
  742. */
  743. CV_PPC_SR0 = 76,
  744. CV_PPC_SR1 = 77,
  745. CV_PPC_SR2 = 78,
  746. CV_PPC_SR3 = 79,
  747. CV_PPC_SR4 = 80,
  748. CV_PPC_SR5 = 81,
  749. CV_PPC_SR6 = 82,
  750. CV_PPC_SR7 = 83,
  751. CV_PPC_SR8 = 84,
  752. CV_PPC_SR9 = 85,
  753. CV_PPC_SR10 = 86,
  754. CV_PPC_SR11 = 87,
  755. CV_PPC_SR12 = 88,
  756. CV_PPC_SR13 = 89,
  757. CV_PPC_SR14 = 90,
  758. CV_PPC_SR15 = 91,
  759. /*
  760. ** For all of the special purpose registers add 100 to the SPR# that the
  761. ** Motorola/IBM documentation gives with the exception of any imaginary
  762. ** registers.
  763. */
  764. /*
  765. ** PowerPC Special Purpose Registers ( User Level )
  766. */
  767. CV_PPC_PC = 99, // PC (imaginary register)
  768. CV_PPC_MQ = 100, // MPC601
  769. CV_PPC_XER = 101,
  770. CV_PPC_RTCU = 104, // MPC601
  771. CV_PPC_RTCL = 105, // MPC601
  772. CV_PPC_LR = 108,
  773. CV_PPC_CTR = 109,
  774. CV_PPC_COMPARE = 110, // part of XER (internal to the debugger only)
  775. CV_PPC_COUNT = 111, // part of XER (internal to the debugger only)
  776. /*
  777. ** PowerPC Special Purpose Registers ( Supervisor Level )
  778. */
  779. CV_PPC_DSISR = 118,
  780. CV_PPC_DAR = 119,
  781. CV_PPC_DEC = 122,
  782. CV_PPC_SDR1 = 125,
  783. CV_PPC_SRR0 = 126,
  784. CV_PPC_SRR1 = 127,
  785. CV_PPC_SPRG0 = 372,
  786. CV_PPC_SPRG1 = 373,
  787. CV_PPC_SPRG2 = 374,
  788. CV_PPC_SPRG3 = 375,
  789. CV_PPC_ASR = 280, // 64-bit implementations only
  790. CV_PPC_EAR = 382,
  791. CV_PPC_PVR = 287,
  792. CV_PPC_BAT0U = 628,
  793. CV_PPC_BAT0L = 629,
  794. CV_PPC_BAT1U = 630,
  795. CV_PPC_BAT1L = 631,
  796. CV_PPC_BAT2U = 632,
  797. CV_PPC_BAT2L = 633,
  798. CV_PPC_BAT3U = 634,
  799. CV_PPC_BAT3L = 635,
  800. CV_PPC_DBAT0U = 636,
  801. CV_PPC_DBAT0L = 637,
  802. CV_PPC_DBAT1U = 638,
  803. CV_PPC_DBAT1L = 639,
  804. CV_PPC_DBAT2U = 640,
  805. CV_PPC_DBAT2L = 641,
  806. CV_PPC_DBAT3U = 642,
  807. CV_PPC_DBAT3L = 643,
  808. /*
  809. ** PowerPC Special Purpose Registers Implementation Dependent ( Supervisor Level )
  810. */
  811. /*
  812. ** Doesn't appear that IBM/Motorola has finished defining these.
  813. */
  814. CV_PPC_PMR0 = 1044, // MPC620,
  815. CV_PPC_PMR1 = 1045, // MPC620,
  816. CV_PPC_PMR2 = 1046, // MPC620,
  817. CV_PPC_PMR3 = 1047, // MPC620,
  818. CV_PPC_PMR4 = 1048, // MPC620,
  819. CV_PPC_PMR5 = 1049, // MPC620,
  820. CV_PPC_PMR6 = 1050, // MPC620,
  821. CV_PPC_PMR7 = 1051, // MPC620,
  822. CV_PPC_PMR8 = 1052, // MPC620,
  823. CV_PPC_PMR9 = 1053, // MPC620,
  824. CV_PPC_PMR10 = 1054, // MPC620,
  825. CV_PPC_PMR11 = 1055, // MPC620,
  826. CV_PPC_PMR12 = 1056, // MPC620,
  827. CV_PPC_PMR13 = 1057, // MPC620,
  828. CV_PPC_PMR14 = 1058, // MPC620,
  829. CV_PPC_PMR15 = 1059, // MPC620,
  830. CV_PPC_DMISS = 1076, // MPC603
  831. CV_PPC_DCMP = 1077, // MPC603
  832. CV_PPC_HASH1 = 1078, // MPC603
  833. CV_PPC_HASH2 = 1079, // MPC603
  834. CV_PPC_IMISS = 1080, // MPC603
  835. CV_PPC_ICMP = 1081, // MPC603
  836. CV_PPC_RPA = 1082, // MPC603
  837. CV_PPC_HID0 = 1108, // MPC601, MPC603, MPC620
  838. CV_PPC_HID1 = 1109, // MPC601
  839. CV_PPC_HID2 = 1110, // MPC601, MPC603, MPC620 ( IABR )
  840. CV_PPC_HID3 = 1111, // Not Defined
  841. CV_PPC_HID4 = 1112, // Not Defined
  842. CV_PPC_HID5 = 1113, // MPC601, MPC604, MPC620 ( DABR )
  843. CV_PPC_HID6 = 1114, // Not Defined
  844. CV_PPC_HID7 = 1115, // Not Defined
  845. CV_PPC_HID8 = 1116, // MPC620 ( BUSCSR )
  846. CV_PPC_HID9 = 1117, // MPC620 ( L2CSR )
  847. CV_PPC_HID10 = 1118, // Not Defined
  848. CV_PPC_HID11 = 1119, // Not Defined
  849. CV_PPC_HID12 = 1120, // Not Defined
  850. CV_PPC_HID13 = 1121, // MPC604 ( HCR )
  851. CV_PPC_HID14 = 1122, // Not Defined
  852. CV_PPC_HID15 = 1123, // MPC601, MPC604, MPC620 ( PIR )
  853. //
  854. // JAVA VM registers
  855. //
  856. CV_JAVA_PC = 1,
  857. //
  858. // Register set for the Hitachi SH3
  859. //
  860. CV_SH3_NOREG = CV_REG_NONE,
  861. CV_SH3_IntR0 = 10, // CPU REGISTER
  862. CV_SH3_IntR1 = 11,
  863. CV_SH3_IntR2 = 12,
  864. CV_SH3_IntR3 = 13,
  865. CV_SH3_IntR4 = 14,
  866. CV_SH3_IntR5 = 15,
  867. CV_SH3_IntR6 = 16,
  868. CV_SH3_IntR7 = 17,
  869. CV_SH3_IntR8 = 18,
  870. CV_SH3_IntR9 = 19,
  871. CV_SH3_IntR10 = 20,
  872. CV_SH3_IntR11 = 21,
  873. CV_SH3_IntR12 = 22,
  874. CV_SH3_IntR13 = 23,
  875. CV_SH3_IntFp = 24,
  876. CV_SH3_IntSp = 25,
  877. CV_SH3_Gbr = 38,
  878. CV_SH3_Pr = 39,
  879. CV_SH3_Mach = 40,
  880. CV_SH3_Macl = 41,
  881. CV_SH3_Pc = 50,
  882. CV_SH3_Sr = 51,
  883. CV_SH3_BarA = 60,
  884. CV_SH3_BasrA = 61,
  885. CV_SH3_BamrA = 62,
  886. CV_SH3_BbrA = 63,
  887. CV_SH3_BarB = 64,
  888. CV_SH3_BasrB = 65,
  889. CV_SH3_BamrB = 66,
  890. CV_SH3_BbrB = 67,
  891. CV_SH3_BdrB = 68,
  892. CV_SH3_BdmrB = 69,
  893. CV_SH3_Brcr = 70,
  894. //
  895. // Additional registers for Hitachi SH processors
  896. //
  897. CV_SH_Fpscr = 75, // floating point status/control register
  898. CV_SH_Fpul = 76, // floating point communication register
  899. CV_SH_FpR0 = 80, // Floating point registers
  900. CV_SH_FpR1 = 81,
  901. CV_SH_FpR2 = 82,
  902. CV_SH_FpR3 = 83,
  903. CV_SH_FpR4 = 84,
  904. CV_SH_FpR5 = 85,
  905. CV_SH_FpR6 = 86,
  906. CV_SH_FpR7 = 87,
  907. CV_SH_FpR8 = 88,
  908. CV_SH_FpR9 = 89,
  909. CV_SH_FpR10 = 90,
  910. CV_SH_FpR11 = 91,
  911. CV_SH_FpR12 = 92,
  912. CV_SH_FpR13 = 93,
  913. CV_SH_FpR14 = 94,
  914. CV_SH_FpR15 = 95,
  915. CV_SH_XFpR0 = 96,
  916. CV_SH_XFpR1 = 97,
  917. CV_SH_XFpR2 = 98,
  918. CV_SH_XFpR3 = 99,
  919. CV_SH_XFpR4 = 100,
  920. CV_SH_XFpR5 = 101,
  921. CV_SH_XFpR6 = 102,
  922. CV_SH_XFpR7 = 103,
  923. CV_SH_XFpR8 = 104,
  924. CV_SH_XFpR9 = 105,
  925. CV_SH_XFpR10 = 106,
  926. CV_SH_XFpR11 = 107,
  927. CV_SH_XFpR12 = 108,
  928. CV_SH_XFpR13 = 109,
  929. CV_SH_XFpR14 = 110,
  930. CV_SH_XFpR15 = 111,
  931. //
  932. // Register set for the ARM processor.
  933. //
  934. CV_ARM_NOREG = CV_REG_NONE,
  935. CV_ARM_R0 = 10,
  936. CV_ARM_R1 = 11,
  937. CV_ARM_R2 = 12,
  938. CV_ARM_R3 = 13,
  939. CV_ARM_R4 = 14,
  940. CV_ARM_R5 = 15,
  941. CV_ARM_R6 = 16,
  942. CV_ARM_R7 = 17,
  943. CV_ARM_R8 = 18,
  944. CV_ARM_R9 = 19,
  945. CV_ARM_R10 = 20,
  946. CV_ARM_R11 = 21, // Frame pointer, if allocated
  947. CV_ARM_R12 = 22,
  948. CV_ARM_SP = 23, // Stack pointer
  949. CV_ARM_LR = 24, // Link Register
  950. CV_ARM_PC = 25, // Program counter
  951. CV_ARM_CPSR = 26, // Current program status register
  952. //
  953. // Register set for Intel IA64
  954. //
  955. CV_IA64_NOREG = CV_REG_NONE,
  956. // Branch Registers
  957. CV_IA64_Br0 = 512,
  958. CV_IA64_Br1 = 513,
  959. CV_IA64_Br2 = 514,
  960. CV_IA64_Br3 = 515,
  961. CV_IA64_Br4 = 516,
  962. CV_IA64_Br5 = 517,
  963. CV_IA64_Br6 = 518,
  964. CV_IA64_Br7 = 519,
  965. // Predicate Registers
  966. CV_IA64_P0 = 704,
  967. CV_IA64_P1 = 705,
  968. CV_IA64_P2 = 706,
  969. CV_IA64_P3 = 707,
  970. CV_IA64_P4 = 708,
  971. CV_IA64_P5 = 709,
  972. CV_IA64_P6 = 710,
  973. CV_IA64_P7 = 711,
  974. CV_IA64_P8 = 712,
  975. CV_IA64_P9 = 713,
  976. CV_IA64_P10 = 714,
  977. CV_IA64_P11 = 715,
  978. CV_IA64_P12 = 716,
  979. CV_IA64_P13 = 717,
  980. CV_IA64_P14 = 718,
  981. CV_IA64_P15 = 719,
  982. CV_IA64_P16 = 720,
  983. CV_IA64_P17 = 721,
  984. CV_IA64_P18 = 722,
  985. CV_IA64_P19 = 723,
  986. CV_IA64_P20 = 724,
  987. CV_IA64_P21 = 725,
  988. CV_IA64_P22 = 726,
  989. CV_IA64_P23 = 727,
  990. CV_IA64_P24 = 728,
  991. CV_IA64_P25 = 729,
  992. CV_IA64_P26 = 730,
  993. CV_IA64_P27 = 731,
  994. CV_IA64_P28 = 732,
  995. CV_IA64_P29 = 733,
  996. CV_IA64_P30 = 734,
  997. CV_IA64_P31 = 735,
  998. CV_IA64_P32 = 736,
  999. CV_IA64_P33 = 737,
  1000. CV_IA64_P34 = 738,
  1001. CV_IA64_P35 = 739,
  1002. CV_IA64_P36 = 740,
  1003. CV_IA64_P37 = 741,
  1004. CV_IA64_P38 = 742,
  1005. CV_IA64_P39 = 743,
  1006. CV_IA64_P40 = 744,
  1007. CV_IA64_P41 = 745,
  1008. CV_IA64_P42 = 746,
  1009. CV_IA64_P43 = 747,
  1010. CV_IA64_P44 = 748,
  1011. CV_IA64_P45 = 749,
  1012. CV_IA64_P46 = 750,
  1013. CV_IA64_P47 = 751,
  1014. CV_IA64_P48 = 752,
  1015. CV_IA64_P49 = 753,
  1016. CV_IA64_P50 = 754,
  1017. CV_IA64_P51 = 755,
  1018. CV_IA64_P52 = 756,
  1019. CV_IA64_P53 = 757,
  1020. CV_IA64_P54 = 758,
  1021. CV_IA64_P55 = 759,
  1022. CV_IA64_P56 = 760,
  1023. CV_IA64_P57 = 761,
  1024. CV_IA64_P58 = 762,
  1025. CV_IA64_P59 = 763,
  1026. CV_IA64_P60 = 764,
  1027. CV_IA64_P61 = 765,
  1028. CV_IA64_P62 = 766,
  1029. CV_IA64_P63 = 767,
  1030. CV_IA64_Preds = 768,
  1031. // Banked General Registers
  1032. CV_IA64_IntH0 = 832,
  1033. CV_IA64_IntH1 = 833,
  1034. CV_IA64_IntH2 = 834,
  1035. CV_IA64_IntH3 = 835,
  1036. CV_IA64_IntH4 = 836,
  1037. CV_IA64_IntH5 = 837,
  1038. CV_IA64_IntH6 = 838,
  1039. CV_IA64_IntH7 = 839,
  1040. CV_IA64_IntH8 = 840,
  1041. CV_IA64_IntH9 = 841,
  1042. CV_IA64_IntH10 = 842,
  1043. CV_IA64_IntH11 = 843,
  1044. CV_IA64_IntH12 = 844,
  1045. CV_IA64_IntH13 = 845,
  1046. CV_IA64_IntH14 = 846,
  1047. CV_IA64_IntH15 = 847,
  1048. // Special Registers
  1049. CV_IA64_Ip = 1016,
  1050. CV_IA64_Umask = 1017,
  1051. CV_IA64_Cfm = 1018,
  1052. CV_IA64_Psr = 1019,
  1053. // Banked General Registers
  1054. CV_IA64_Nats = 1020,
  1055. CV_IA64_Nats2 = 1021,
  1056. CV_IA64_Nats3 = 1022,
  1057. // General-Purpose Registers
  1058. // Integer registers
  1059. CV_IA64_IntR0 = 1024,
  1060. CV_IA64_IntR1 = 1025,
  1061. CV_IA64_IntR2 = 1026,
  1062. CV_IA64_IntR3 = 1027,
  1063. CV_IA64_IntR4 = 1028,
  1064. CV_IA64_IntR5 = 1029,
  1065. CV_IA64_IntR6 = 1030,
  1066. CV_IA64_IntR7 = 1031,
  1067. CV_IA64_IntR8 = 1032,
  1068. CV_IA64_IntR9 = 1033,
  1069. CV_IA64_IntR10 = 1034,
  1070. CV_IA64_IntR11 = 1035,
  1071. CV_IA64_IntR12 = 1036,
  1072. CV_IA64_IntR13 = 1037,
  1073. CV_IA64_IntR14 = 1038,
  1074. CV_IA64_IntR15 = 1039,
  1075. CV_IA64_IntR16 = 1040,
  1076. CV_IA64_IntR17 = 1041,
  1077. CV_IA64_IntR18 = 1042,
  1078. CV_IA64_IntR19 = 1043,
  1079. CV_IA64_IntR20 = 1044,
  1080. CV_IA64_IntR21 = 1045,
  1081. CV_IA64_IntR22 = 1046,
  1082. CV_IA64_IntR23 = 1047,
  1083. CV_IA64_IntR24 = 1048,
  1084. CV_IA64_IntR25 = 1049,
  1085. CV_IA64_IntR26 = 1050,
  1086. CV_IA64_IntR27 = 1051,
  1087. CV_IA64_IntR28 = 1052,
  1088. CV_IA64_IntR29 = 1053,
  1089. CV_IA64_IntR30 = 1054,
  1090. CV_IA64_IntR31 = 1055,
  1091. // Register Stack
  1092. CV_IA64_IntR32 = 1056,
  1093. CV_IA64_IntR33 = 1057,
  1094. CV_IA64_IntR34 = 1058,
  1095. CV_IA64_IntR35 = 1059,
  1096. CV_IA64_IntR36 = 1060,
  1097. CV_IA64_IntR37 = 1061,
  1098. CV_IA64_IntR38 = 1062,
  1099. CV_IA64_IntR39 = 1063,
  1100. CV_IA64_IntR40 = 1064,
  1101. CV_IA64_IntR41 = 1065,
  1102. CV_IA64_IntR42 = 1066,
  1103. CV_IA64_IntR43 = 1067,
  1104. CV_IA64_IntR44 = 1068,
  1105. CV_IA64_IntR45 = 1069,
  1106. CV_IA64_IntR46 = 1070,
  1107. CV_IA64_IntR47 = 1071,
  1108. CV_IA64_IntR48 = 1072,
  1109. CV_IA64_IntR49 = 1073,
  1110. CV_IA64_IntR50 = 1074,
  1111. CV_IA64_IntR51 = 1075,
  1112. CV_IA64_IntR52 = 1076,
  1113. CV_IA64_IntR53 = 1077,
  1114. CV_IA64_IntR54 = 1078,
  1115. CV_IA64_IntR55 = 1079,
  1116. CV_IA64_IntR56 = 1080,
  1117. CV_IA64_IntR57 = 1081,
  1118. CV_IA64_IntR58 = 1082,
  1119. CV_IA64_IntR59 = 1083,
  1120. CV_IA64_IntR60 = 1084,
  1121. CV_IA64_IntR61 = 1085,
  1122. CV_IA64_IntR62 = 1086,
  1123. CV_IA64_IntR63 = 1087,
  1124. CV_IA64_IntR64 = 1088,
  1125. CV_IA64_IntR65 = 1089,
  1126. CV_IA64_IntR66 = 1090,
  1127. CV_IA64_IntR67 = 1091,
  1128. CV_IA64_IntR68 = 1092,
  1129. CV_IA64_IntR69 = 1093,
  1130. CV_IA64_IntR70 = 1094,
  1131. CV_IA64_IntR71 = 1095,
  1132. CV_IA64_IntR72 = 1096,
  1133. CV_IA64_IntR73 = 1097,
  1134. CV_IA64_IntR74 = 1098,
  1135. CV_IA64_IntR75 = 1099,
  1136. CV_IA64_IntR76 = 1100,
  1137. CV_IA64_IntR77 = 1101,
  1138. CV_IA64_IntR78 = 1102,
  1139. CV_IA64_IntR79 = 1103,
  1140. CV_IA64_IntR80 = 1104,
  1141. CV_IA64_IntR81 = 1105,
  1142. CV_IA64_IntR82 = 1106,
  1143. CV_IA64_IntR83 = 1107,
  1144. CV_IA64_IntR84 = 1108,
  1145. CV_IA64_IntR85 = 1109,
  1146. CV_IA64_IntR86 = 1110,
  1147. CV_IA64_IntR87 = 1111,
  1148. CV_IA64_IntR88 = 1112,
  1149. CV_IA64_IntR89 = 1113,
  1150. CV_IA64_IntR90 = 1114,
  1151. CV_IA64_IntR91 = 1115,
  1152. CV_IA64_IntR92 = 1116,
  1153. CV_IA64_IntR93 = 1117,
  1154. CV_IA64_IntR94 = 1118,
  1155. CV_IA64_IntR95 = 1119,
  1156. CV_IA64_IntR96 = 1120,
  1157. CV_IA64_IntR97 = 1121,
  1158. CV_IA64_IntR98 = 1122,
  1159. CV_IA64_IntR99 = 1123,
  1160. CV_IA64_IntR100 = 1124,
  1161. CV_IA64_IntR101 = 1125,
  1162. CV_IA64_IntR102 = 1126,
  1163. CV_IA64_IntR103 = 1127,
  1164. CV_IA64_IntR104 = 1128,
  1165. CV_IA64_IntR105 = 1129,
  1166. CV_IA64_IntR106 = 1130,
  1167. CV_IA64_IntR107 = 1131,
  1168. CV_IA64_IntR108 = 1132,
  1169. CV_IA64_IntR109 = 1133,
  1170. CV_IA64_IntR110 = 1134,
  1171. CV_IA64_IntR111 = 1135,
  1172. CV_IA64_IntR112 = 1136,
  1173. CV_IA64_IntR113 = 1137,
  1174. CV_IA64_IntR114 = 1138,
  1175. CV_IA64_IntR115 = 1139,
  1176. CV_IA64_IntR116 = 1140,
  1177. CV_IA64_IntR117 = 1141,
  1178. CV_IA64_IntR118 = 1142,
  1179. CV_IA64_IntR119 = 1143,
  1180. CV_IA64_IntR120 = 1144,
  1181. CV_IA64_IntR121 = 1145,
  1182. CV_IA64_IntR122 = 1146,
  1183. CV_IA64_IntR123 = 1147,
  1184. CV_IA64_IntR124 = 1148,
  1185. CV_IA64_IntR125 = 1149,
  1186. CV_IA64_IntR126 = 1150,
  1187. CV_IA64_IntR127 = 1151,
  1188. // Floating-Point Registers
  1189. // Low Floating Point Registers
  1190. CV_IA64_FltF0 = 2048,
  1191. CV_IA64_FltF1 = 2049,
  1192. CV_IA64_FltF2 = 2050,
  1193. CV_IA64_FltF3 = 2051,
  1194. CV_IA64_FltF4 = 2052,
  1195. CV_IA64_FltF5 = 2053,
  1196. CV_IA64_FltF6 = 2054,
  1197. CV_IA64_FltF7 = 2055,
  1198. CV_IA64_FltF8 = 2056,
  1199. CV_IA64_FltF9 = 2057,
  1200. CV_IA64_FltF10 = 2058,
  1201. CV_IA64_FltF11 = 2059,
  1202. CV_IA64_FltF12 = 2060,
  1203. CV_IA64_FltF13 = 2061,
  1204. CV_IA64_FltF14 = 2062,
  1205. CV_IA64_FltF15 = 2063,
  1206. CV_IA64_FltF16 = 2064,
  1207. CV_IA64_FltF17 = 2065,
  1208. CV_IA64_FltF18 = 2066,
  1209. CV_IA64_FltF19 = 2067,
  1210. CV_IA64_FltF20 = 2068,
  1211. CV_IA64_FltF21 = 2069,
  1212. CV_IA64_FltF22 = 2070,
  1213. CV_IA64_FltF23 = 2071,
  1214. CV_IA64_FltF24 = 2072,
  1215. CV_IA64_FltF25 = 2073,
  1216. CV_IA64_FltF26 = 2074,
  1217. CV_IA64_FltF27 = 2075,
  1218. CV_IA64_FltF28 = 2076,
  1219. CV_IA64_FltF29 = 2077,
  1220. CV_IA64_FltF30 = 2078,
  1221. CV_IA64_FltF31 = 2079,
  1222. // High Floating Point Registers
  1223. CV_IA64_FltF32 = 2080,
  1224. CV_IA64_FltF33 = 2081,
  1225. CV_IA64_FltF34 = 2082,
  1226. CV_IA64_FltF35 = 2083,
  1227. CV_IA64_FltF36 = 2084,
  1228. CV_IA64_FltF37 = 2085,
  1229. CV_IA64_FltF38 = 2086,
  1230. CV_IA64_FltF39 = 2087,
  1231. CV_IA64_FltF40 = 2088,
  1232. CV_IA64_FltF41 = 2089,
  1233. CV_IA64_FltF42 = 2090,
  1234. CV_IA64_FltF43 = 2091,
  1235. CV_IA64_FltF44 = 2092,
  1236. CV_IA64_FltF45 = 2093,
  1237. CV_IA64_FltF46 = 2094,
  1238. CV_IA64_FltF47 = 2095,
  1239. CV_IA64_FltF48 = 2096,
  1240. CV_IA64_FltF49 = 2097,
  1241. CV_IA64_FltF50 = 2098,
  1242. CV_IA64_FltF51 = 2099,
  1243. CV_IA64_FltF52 = 2100,
  1244. CV_IA64_FltF53 = 2101,
  1245. CV_IA64_FltF54 = 2102,
  1246. CV_IA64_FltF55 = 2103,
  1247. CV_IA64_FltF56 = 2104,
  1248. CV_IA64_FltF57 = 2105,
  1249. CV_IA64_FltF58 = 2106,
  1250. CV_IA64_FltF59 = 2107,
  1251. CV_IA64_FltF60 = 2108,
  1252. CV_IA64_FltF61 = 2109,
  1253. CV_IA64_FltF62 = 2110,
  1254. CV_IA64_FltF63 = 2111,
  1255. CV_IA64_FltF64 = 2112,
  1256. CV_IA64_FltF65 = 2113,
  1257. CV_IA64_FltF66 = 2114,
  1258. CV_IA64_FltF67 = 2115,
  1259. CV_IA64_FltF68 = 2116,
  1260. CV_IA64_FltF69 = 2117,
  1261. CV_IA64_FltF70 = 2118,
  1262. CV_IA64_FltF71 = 2119,
  1263. CV_IA64_FltF72 = 2120,
  1264. CV_IA64_FltF73 = 2121,
  1265. CV_IA64_FltF74 = 2122,
  1266. CV_IA64_FltF75 = 2123,
  1267. CV_IA64_FltF76 = 2124,
  1268. CV_IA64_FltF77 = 2125,
  1269. CV_IA64_FltF78 = 2126,
  1270. CV_IA64_FltF79 = 2127,
  1271. CV_IA64_FltF80 = 2128,
  1272. CV_IA64_FltF81 = 2129,
  1273. CV_IA64_FltF82 = 2130,
  1274. CV_IA64_FltF83 = 2131,
  1275. CV_IA64_FltF84 = 2132,
  1276. CV_IA64_FltF85 = 2133,
  1277. CV_IA64_FltF86 = 2134,
  1278. CV_IA64_FltF87 = 2135,
  1279. CV_IA64_FltF88 = 2136,
  1280. CV_IA64_FltF89 = 2137,
  1281. CV_IA64_FltF90 = 2138,
  1282. CV_IA64_FltF91 = 2139,
  1283. CV_IA64_FltF92 = 2140,
  1284. CV_IA64_FltF93 = 2141,
  1285. CV_IA64_FltF94 = 2142,
  1286. CV_IA64_FltF95 = 2143,
  1287. CV_IA64_FltF96 = 2144,
  1288. CV_IA64_FltF97 = 2145,
  1289. CV_IA64_FltF98 = 2146,
  1290. CV_IA64_FltF99 = 2147,
  1291. CV_IA64_FltF100 = 2148,
  1292. CV_IA64_FltF101 = 2149,
  1293. CV_IA64_FltF102 = 2150,
  1294. CV_IA64_FltF103 = 2151,
  1295. CV_IA64_FltF104 = 2152,
  1296. CV_IA64_FltF105 = 2153,
  1297. CV_IA64_FltF106 = 2154,
  1298. CV_IA64_FltF107 = 2155,
  1299. CV_IA64_FltF108 = 2156,
  1300. CV_IA64_FltF109 = 2157,
  1301. CV_IA64_FltF110 = 2158,
  1302. CV_IA64_FltF111 = 2159,
  1303. CV_IA64_FltF112 = 2160,
  1304. CV_IA64_FltF113 = 2161,
  1305. CV_IA64_FltF114 = 2162,
  1306. CV_IA64_FltF115 = 2163,
  1307. CV_IA64_FltF116 = 2164,
  1308. CV_IA64_FltF117 = 2165,
  1309. CV_IA64_FltF118 = 2166,
  1310. CV_IA64_FltF119 = 2167,
  1311. CV_IA64_FltF120 = 2168,
  1312. CV_IA64_FltF121 = 2169,
  1313. CV_IA64_FltF122 = 2170,
  1314. CV_IA64_FltF123 = 2171,
  1315. CV_IA64_FltF124 = 2172,
  1316. CV_IA64_FltF125 = 2173,
  1317. CV_IA64_FltF126 = 2174,
  1318. CV_IA64_FltF127 = 2175,
  1319. // Application Registers
  1320. CV_IA64_ApKR0 = 3072,
  1321. CV_IA64_ApKR1 = 3073,
  1322. CV_IA64_ApKR2 = 3074,
  1323. CV_IA64_ApKR3 = 3075,
  1324. CV_IA64_ApKR4 = 3076,
  1325. CV_IA64_ApKR5 = 3077,
  1326. CV_IA64_ApKR6 = 3078,
  1327. CV_IA64_ApKR7 = 3079,
  1328. CV_IA64_AR8 = 3080,
  1329. CV_IA64_AR9 = 3081,
  1330. CV_IA64_AR10 = 3082,
  1331. CV_IA64_AR11 = 3083,
  1332. CV_IA64_AR12 = 3084,
  1333. CV_IA64_AR13 = 3085,
  1334. CV_IA64_AR14 = 3086,
  1335. CV_IA64_AR15 = 3087,
  1336. CV_IA64_RsRSC = 3088,
  1337. CV_IA64_RsBSP = 3089,
  1338. CV_IA64_RsBSPSTORE = 3090,
  1339. CV_IA64_RsRNAT = 3091,
  1340. CV_IA64_AR20 = 3092,
  1341. CV_IA64_StFCR = 3093,
  1342. CV_IA64_AR22 = 3094,
  1343. CV_IA64_AR23 = 3095,
  1344. CV_IA64_EFLAG = 3096,
  1345. CV_IA64_CSD = 3097,
  1346. CV_IA64_SSD = 3098,
  1347. CV_IA64_CFLG = 3099,
  1348. CV_IA64_StFSR = 3100,
  1349. CV_IA64_StFIR = 3101,
  1350. CV_IA64_StFDR = 3102,
  1351. CV_IA64_AR31 = 3103,
  1352. CV_IA64_ApCCV = 3104,
  1353. CV_IA64_AR33 = 3105,
  1354. CV_IA64_AR34 = 3106,
  1355. CV_IA64_AR35 = 3107,
  1356. CV_IA64_ApUNAT = 3108,
  1357. CV_IA64_AR37 = 3109,
  1358. CV_IA64_AR38 = 3110,
  1359. CV_IA64_AR39 = 3111,
  1360. CV_IA64_StFPSR = 3112,
  1361. CV_IA64_AR41 = 3113,
  1362. CV_IA64_AR42 = 3114,
  1363. CV_IA64_AR43 = 3115,
  1364. CV_IA64_ApITC = 3116,
  1365. CV_IA64_AR45 = 3117,
  1366. CV_IA64_AR46 = 3118,
  1367. CV_IA64_AR47 = 3119,
  1368. CV_IA64_AR48 = 3120,
  1369. CV_IA64_AR49 = 3121,
  1370. CV_IA64_AR50 = 3122,
  1371. CV_IA64_AR51 = 3123,
  1372. CV_IA64_AR52 = 3124,
  1373. CV_IA64_AR53 = 3125,
  1374. CV_IA64_AR54 = 3126,
  1375. CV_IA64_AR55 = 3127,
  1376. CV_IA64_AR56 = 3128,
  1377. CV_IA64_AR57 = 3129,
  1378. CV_IA64_AR58 = 3130,
  1379. CV_IA64_AR59 = 3131,
  1380. CV_IA64_AR60 = 3132,
  1381. CV_IA64_AR61 = 3133,
  1382. CV_IA64_AR62 = 3134,
  1383. CV_IA64_AR63 = 3135,
  1384. CV_IA64_RsPFS = 3136,
  1385. CV_IA64_ApLC = 3137,
  1386. CV_IA64_ApEC = 3138,
  1387. CV_IA64_AR67 = 3139,
  1388. CV_IA64_AR68 = 3140,
  1389. CV_IA64_AR69 = 3141,
  1390. CV_IA64_AR70 = 3142,
  1391. CV_IA64_AR71 = 3143,
  1392. CV_IA64_AR72 = 3144,
  1393. CV_IA64_AR73 = 3145,
  1394. CV_IA64_AR74 = 3146,
  1395. CV_IA64_AR75 = 3147,
  1396. CV_IA64_AR76 = 3148,
  1397. CV_IA64_AR77 = 3149,
  1398. CV_IA64_AR78 = 3150,
  1399. CV_IA64_AR79 = 3151,
  1400. CV_IA64_AR80 = 3152,
  1401. CV_IA64_AR81 = 3153,
  1402. CV_IA64_AR82 = 3154,
  1403. CV_IA64_AR83 = 3155,
  1404. CV_IA64_AR84 = 3156,
  1405. CV_IA64_AR85 = 3157,
  1406. CV_IA64_AR86 = 3158,
  1407. CV_IA64_AR87 = 3159,
  1408. CV_IA64_AR88 = 3160,
  1409. CV_IA64_AR89 = 3161,
  1410. CV_IA64_AR90 = 3162,
  1411. CV_IA64_AR91 = 3163,
  1412. CV_IA64_AR92 = 3164,
  1413. CV_IA64_AR93 = 3165,
  1414. CV_IA64_AR94 = 3166,
  1415. CV_IA64_AR95 = 3167,
  1416. CV_IA64_AR96 = 3168,
  1417. CV_IA64_AR97 = 3169,
  1418. CV_IA64_AR98 = 3170,
  1419. CV_IA64_AR99 = 3171,
  1420. CV_IA64_AR100 = 3172,
  1421. CV_IA64_AR101 = 3173,
  1422. CV_IA64_AR102 = 3174,
  1423. CV_IA64_AR103 = 3175,
  1424. CV_IA64_AR104 = 3176,
  1425. CV_IA64_AR105 = 3177,
  1426. CV_IA64_AR106 = 3178,
  1427. CV_IA64_AR107 = 3179,
  1428. CV_IA64_AR108 = 3180,
  1429. CV_IA64_AR109 = 3181,
  1430. CV_IA64_AR110 = 3182,
  1431. CV_IA64_AR111 = 3183,
  1432. CV_IA64_AR112 = 3184,
  1433. CV_IA64_AR113 = 3185,
  1434. CV_IA64_AR114 = 3186,
  1435. CV_IA64_AR115 = 3187,
  1436. CV_IA64_AR116 = 3188,
  1437. CV_IA64_AR117 = 3189,
  1438. CV_IA64_AR118 = 3190,
  1439. CV_IA64_AR119 = 3191,
  1440. CV_IA64_AR120 = 3192,
  1441. CV_IA64_AR121 = 3193,
  1442. CV_IA64_AR122 = 3194,
  1443. CV_IA64_AR123 = 3195,
  1444. CV_IA64_AR124 = 3196,
  1445. CV_IA64_AR125 = 3197,
  1446. CV_IA64_AR126 = 3198,
  1447. CV_IA64_AR127 = 3199,
  1448. // CPUID Registers
  1449. CV_IA64_CPUID0 = 3328,
  1450. CV_IA64_CPUID1 = 3329,
  1451. CV_IA64_CPUID2 = 3330,
  1452. CV_IA64_CPUID3 = 3331,
  1453. CV_IA64_CPUID4 = 3332,
  1454. // Control Registers
  1455. CV_IA64_ApDCR = 4096,
  1456. CV_IA64_ApITM = 4097,
  1457. CV_IA64_ApIVA = 4098,
  1458. CV_IA64_CR3 = 4099,
  1459. CV_IA64_CR4 = 4100,
  1460. CV_IA64_CR5 = 4101,
  1461. CV_IA64_CR6 = 4102,
  1462. CV_IA64_CR7 = 4103,
  1463. CV_IA64_ApPTA = 4104,
  1464. CV_IA64_ApGPTA = 4105,
  1465. CV_IA64_CR10 = 4106,
  1466. CV_IA64_CR11 = 4107,
  1467. CV_IA64_CR12 = 4108,
  1468. CV_IA64_CR13 = 4109,
  1469. CV_IA64_CR14 = 4110,
  1470. CV_IA64_CR15 = 4111,
  1471. CV_IA64_StIPSR = 4112,
  1472. CV_IA64_StISR = 4113,
  1473. CV_IA64_CR18 = 4114,
  1474. CV_IA64_StIIP = 4115,
  1475. CV_IA64_StIFA = 4116,
  1476. CV_IA64_StITIR = 4117,
  1477. CV_IA64_StIIPA = 4118,
  1478. CV_IA64_StIFS = 4119,
  1479. CV_IA64_StIIM = 4120,
  1480. CV_IA64_StIHA = 4121,
  1481. CV_IA64_CR26 = 4122,
  1482. CV_IA64_CR27 = 4123,
  1483. CV_IA64_CR28 = 4124,
  1484. CV_IA64_CR29 = 4125,
  1485. CV_IA64_CR30 = 4126,
  1486. CV_IA64_CR31 = 4127,
  1487. CV_IA64_CR32 = 4128,
  1488. CV_IA64_CR33 = 4129,
  1489. CV_IA64_CR34 = 4130,
  1490. CV_IA64_CR35 = 4131,
  1491. CV_IA64_CR36 = 4132,
  1492. CV_IA64_CR37 = 4133,
  1493. CV_IA64_CR38 = 4134,
  1494. CV_IA64_CR39 = 4135,
  1495. CV_IA64_CR40 = 4136,
  1496. CV_IA64_CR41 = 4137,
  1497. CV_IA64_CR42 = 4138,
  1498. CV_IA64_CR43 = 4139,
  1499. CV_IA64_CR44 = 4140,
  1500. CV_IA64_CR45 = 4141,
  1501. CV_IA64_CR46 = 4142,
  1502. CV_IA64_CR47 = 4143,
  1503. CV_IA64_CR48 = 4144,
  1504. CV_IA64_CR49 = 4145,
  1505. CV_IA64_CR50 = 4146,
  1506. CV_IA64_CR51 = 4147,
  1507. CV_IA64_CR52 = 4148,
  1508. CV_IA64_CR53 = 4149,
  1509. CV_IA64_CR54 = 4150,
  1510. CV_IA64_CR55 = 4151,
  1511. CV_IA64_CR56 = 4152,
  1512. CV_IA64_CR57 = 4153,
  1513. CV_IA64_CR58 = 4154,
  1514. CV_IA64_CR59 = 4155,
  1515. CV_IA64_CR60 = 4156,
  1516. CV_IA64_CR61 = 4157,
  1517. CV_IA64_CR62 = 4158,
  1518. CV_IA64_CR63 = 4159,
  1519. CV_IA64_SaLID = 4160,
  1520. CV_IA64_SaIVR = 4161,
  1521. CV_IA64_SaTPR = 4162,
  1522. CV_IA64_SaEOI = 4163,
  1523. CV_IA64_SaIRR0 = 4164,
  1524. CV_IA64_SaIRR1 = 4165,
  1525. CV_IA64_SaIRR2 = 4166,
  1526. CV_IA64_SaIRR3 = 4167,
  1527. CV_IA64_SaITV = 4168,
  1528. CV_IA64_SaPMV = 4169,
  1529. CV_IA64_SaCMCV = 4170,
  1530. CV_IA64_CR75 = 4171,
  1531. CV_IA64_CR76 = 4172,
  1532. CV_IA64_CR77 = 4173,
  1533. CV_IA64_CR78 = 4174,
  1534. CV_IA64_CR79 = 4175,
  1535. CV_IA64_SaLRR0 = 4176,
  1536. CV_IA64_SaLRR1 = 4177,
  1537. CV_IA64_CR82 = 4178,
  1538. CV_IA64_CR83 = 4179,
  1539. CV_IA64_CR84 = 4180,
  1540. CV_IA64_CR85 = 4181,
  1541. CV_IA64_CR86 = 4182,
  1542. CV_IA64_CR87 = 4183,
  1543. CV_IA64_CR88 = 4184,
  1544. CV_IA64_CR89 = 4185,
  1545. CV_IA64_CR90 = 4186,
  1546. CV_IA64_CR91 = 4187,
  1547. CV_IA64_CR92 = 4188,
  1548. CV_IA64_CR93 = 4189,
  1549. CV_IA64_CR94 = 4190,
  1550. CV_IA64_CR95 = 4191,
  1551. CV_IA64_CR96 = 4192,
  1552. CV_IA64_CR97 = 4193,
  1553. CV_IA64_CR98 = 4194,
  1554. CV_IA64_CR99 = 4195,
  1555. CV_IA64_CR100 = 4196,
  1556. CV_IA64_CR101 = 4197,
  1557. CV_IA64_CR102 = 4198,
  1558. CV_IA64_CR103 = 4199,
  1559. CV_IA64_CR104 = 4200,
  1560. CV_IA64_CR105 = 4201,
  1561. CV_IA64_CR106 = 4202,
  1562. CV_IA64_CR107 = 4203,
  1563. CV_IA64_CR108 = 4204,
  1564. CV_IA64_CR109 = 4205,
  1565. CV_IA64_CR110 = 4206,
  1566. CV_IA64_CR111 = 4207,
  1567. CV_IA64_CR112 = 4208,
  1568. CV_IA64_CR113 = 4209,
  1569. CV_IA64_CR114 = 4210,
  1570. CV_IA64_CR115 = 4211,
  1571. CV_IA64_CR116 = 4212,
  1572. CV_IA64_CR117 = 4213,
  1573. CV_IA64_CR118 = 4214,
  1574. CV_IA64_CR119 = 4215,
  1575. CV_IA64_CR120 = 4216,
  1576. CV_IA64_CR121 = 4217,
  1577. CV_IA64_CR122 = 4218,
  1578. CV_IA64_CR123 = 4219,
  1579. CV_IA64_CR124 = 4220,
  1580. CV_IA64_CR125 = 4221,
  1581. CV_IA64_CR126 = 4222,
  1582. CV_IA64_CR127 = 4223,
  1583. // Protection Key Registers
  1584. CV_IA64_Pkr0 = 5120,
  1585. CV_IA64_Pkr1 = 5121,
  1586. CV_IA64_Pkr2 = 5122,
  1587. CV_IA64_Pkr3 = 5123,
  1588. CV_IA64_Pkr4 = 5124,
  1589. CV_IA64_Pkr5 = 5125,
  1590. CV_IA64_Pkr6 = 5126,
  1591. CV_IA64_Pkr7 = 5127,
  1592. CV_IA64_Pkr8 = 5128,
  1593. CV_IA64_Pkr9 = 5129,
  1594. CV_IA64_Pkr10 = 5130,
  1595. CV_IA64_Pkr11 = 5131,
  1596. CV_IA64_Pkr12 = 5132,
  1597. CV_IA64_Pkr13 = 5133,
  1598. CV_IA64_Pkr14 = 5134,
  1599. CV_IA64_Pkr15 = 5135,
  1600. // Region Registers
  1601. CV_IA64_Rr0 = 6144,
  1602. CV_IA64_Rr1 = 6145,
  1603. CV_IA64_Rr2 = 6146,
  1604. CV_IA64_Rr3 = 6147,
  1605. CV_IA64_Rr4 = 6148,
  1606. CV_IA64_Rr5 = 6149,
  1607. CV_IA64_Rr6 = 6150,
  1608. CV_IA64_Rr7 = 6151,
  1609. // Performance Monitor Data Registers
  1610. CV_IA64_PFD0 = 7168,
  1611. CV_IA64_PFD1 = 7169,
  1612. CV_IA64_PFD2 = 7170,
  1613. CV_IA64_PFD3 = 7171,
  1614. CV_IA64_PFD4 = 7172,
  1615. CV_IA64_PFD5 = 7173,
  1616. CV_IA64_PFD6 = 7174,
  1617. CV_IA64_PFD7 = 7175,
  1618. // Performance Monitor Config Registers
  1619. CV_IA64_PFC0 = 7424,
  1620. CV_IA64_PFC1 = 7425,
  1621. CV_IA64_PFC2 = 7426,
  1622. CV_IA64_PFC3 = 7427,
  1623. CV_IA64_PFC4 = 7428,
  1624. CV_IA64_PFC5 = 7429,
  1625. CV_IA64_PFC6 = 7430,
  1626. CV_IA64_PFC7 = 7431,
  1627. // Instruction Translation Registers
  1628. CV_IA64_TrI0 = 8192,
  1629. CV_IA64_TrI1 = 8193,
  1630. CV_IA64_TrI2 = 8194,
  1631. CV_IA64_TrI3 = 8195,
  1632. CV_IA64_TrI4 = 8196,
  1633. CV_IA64_TrI5 = 8197,
  1634. CV_IA64_TrI6 = 8198,
  1635. CV_IA64_TrI7 = 8199,
  1636. // Data Translation Registers
  1637. CV_IA64_TrD0 = 8320,
  1638. CV_IA64_TrD1 = 8321,
  1639. CV_IA64_TrD2 = 8322,
  1640. CV_IA64_TrD3 = 8323,
  1641. CV_IA64_TrD4 = 8324,
  1642. CV_IA64_TrD5 = 8325,
  1643. CV_IA64_TrD6 = 8326,
  1644. CV_IA64_TrD7 = 8327,
  1645. // Instruction Breakpoint Registers
  1646. CV_IA64_DbI0 = 8448,
  1647. CV_IA64_DbI1 = 8449,
  1648. CV_IA64_DbI2 = 8450,
  1649. CV_IA64_DbI3 = 8451,
  1650. CV_IA64_DbI4 = 8452,
  1651. CV_IA64_DbI5 = 8453,
  1652. CV_IA64_DbI6 = 8454,
  1653. CV_IA64_DbI7 = 8455,
  1654. // Data Breakpoint Registers
  1655. CV_IA64_DbD0 = 8576,
  1656. CV_IA64_DbD1 = 8577,
  1657. CV_IA64_DbD2 = 8578,
  1658. CV_IA64_DbD3 = 8579,
  1659. CV_IA64_DbD4 = 8580,
  1660. CV_IA64_DbD5 = 8581,
  1661. CV_IA64_DbD6 = 8582,
  1662. CV_IA64_DbD7 = 8583,
  1663. //
  1664. // Register set for the TriCore processor.
  1665. //
  1666. CV_TRI_NOREG = CV_REG_NONE,
  1667. // General Purpose Data Registers
  1668. CV_TRI_D0 = 10,
  1669. CV_TRI_D1 = 11,
  1670. CV_TRI_D2 = 12,
  1671. CV_TRI_D3 = 13,
  1672. CV_TRI_D4 = 14,
  1673. CV_TRI_D5 = 15,
  1674. CV_TRI_D6 = 16,
  1675. CV_TRI_D7 = 17,
  1676. CV_TRI_D8 = 18,
  1677. CV_TRI_D9 = 19,
  1678. CV_TRI_D10 = 20,
  1679. CV_TRI_D11 = 21,
  1680. CV_TRI_D12 = 22,
  1681. CV_TRI_D13 = 23,
  1682. CV_TRI_D14 = 24,
  1683. CV_TRI_D15 = 25,
  1684. // General Purpose Address Registers
  1685. CV_TRI_A0 = 26,
  1686. CV_TRI_A1 = 27,
  1687. CV_TRI_A2 = 28,
  1688. CV_TRI_A3 = 29,
  1689. CV_TRI_A4 = 30,
  1690. CV_TRI_A5 = 31,
  1691. CV_TRI_A6 = 32,
  1692. CV_TRI_A7 = 33,
  1693. CV_TRI_A8 = 34,
  1694. CV_TRI_A9 = 35,
  1695. CV_TRI_A10 = 36,
  1696. CV_TRI_A11 = 37,
  1697. CV_TRI_A12 = 38,
  1698. CV_TRI_A13 = 39,
  1699. CV_TRI_A14 = 40,
  1700. CV_TRI_A15 = 41,
  1701. // Extended (64-bit) data registers
  1702. CV_TRI_E0 = 42,
  1703. CV_TRI_E2 = 43,
  1704. CV_TRI_E4 = 44,
  1705. CV_TRI_E6 = 45,
  1706. CV_TRI_E8 = 46,
  1707. CV_TRI_E10 = 47,
  1708. CV_TRI_E12 = 48,
  1709. CV_TRI_E14 = 49,
  1710. // Extended (64-bit) address registers
  1711. CV_TRI_EA0 = 50,
  1712. CV_TRI_EA2 = 51,
  1713. CV_TRI_EA4 = 52,
  1714. CV_TRI_EA6 = 53,
  1715. CV_TRI_EA8 = 54,
  1716. CV_TRI_EA10 = 55,
  1717. CV_TRI_EA12 = 56,
  1718. CV_TRI_EA14 = 57,
  1719. CV_TRI_PSW = 58,
  1720. CV_TRI_PCXI = 59,
  1721. CV_TRI_PC = 60,
  1722. CV_TRI_FCX = 61,
  1723. CV_TRI_LCX = 62,
  1724. CV_TRI_ISP = 63,
  1725. CV_TRI_ICR = 64,
  1726. CV_TRI_BIV = 65,
  1727. CV_TRI_BTV = 66,
  1728. CV_TRI_SYSCON = 67,
  1729. CV_TRI_DPRx_0 = 68,
  1730. CV_TRI_DPRx_1 = 69,
  1731. CV_TRI_DPRx_2 = 70,
  1732. CV_TRI_DPRx_3 = 71,
  1733. CV_TRI_CPRx_0 = 68,
  1734. CV_TRI_CPRx_1 = 69,
  1735. CV_TRI_CPRx_2 = 70,
  1736. CV_TRI_CPRx_3 = 71,
  1737. CV_TRI_DPMx_0 = 68,
  1738. CV_TRI_DPMx_1 = 69,
  1739. CV_TRI_DPMx_2 = 70,
  1740. CV_TRI_DPMx_3 = 71,
  1741. CV_TRI_CPMx_0 = 68,
  1742. CV_TRI_CPMx_1 = 69,
  1743. CV_TRI_CPMx_2 = 70,
  1744. CV_TRI_CPMx_3 = 71,
  1745. CV_TRI_DBGSSR = 72,
  1746. CV_TRI_EXEVT = 73,
  1747. CV_TRI_SWEVT = 74,
  1748. CV_TRI_CREVT = 75,
  1749. CV_TRI_TRnEVT = 76,
  1750. CV_TRI_MMUCON = 77,
  1751. CV_TRI_ASI = 78,
  1752. CV_TRI_TVA = 79,
  1753. CV_TRI_TPA = 80,
  1754. CV_TRI_TPX = 81,
  1755. CV_TRI_TFA = 82,
  1756. //
  1757. // Register set for the AM33 and related processors.
  1758. //
  1759. CV_AM33_NOREG = CV_REG_NONE,
  1760. // "Extended" (general purpose integer) registers
  1761. CV_AM33_E0 = 10,
  1762. CV_AM33_E1 = 11,
  1763. CV_AM33_E2 = 12,
  1764. CV_AM33_E3 = 13,
  1765. CV_AM33_E4 = 14,
  1766. CV_AM33_E5 = 15,
  1767. CV_AM33_E6 = 16,
  1768. CV_AM33_E7 = 17,
  1769. // Address registers
  1770. CV_AM33_A0 = 20,
  1771. CV_AM33_A1 = 21,
  1772. CV_AM33_A2 = 22,
  1773. CV_AM33_A3 = 23,
  1774. // Integer data registers
  1775. CV_AM33_D0 = 30,
  1776. CV_AM33_D1 = 31,
  1777. CV_AM33_D2 = 32,
  1778. CV_AM33_D3 = 33,
  1779. // (Single-precision) floating-point registers
  1780. CV_AM33_FS0 = 40,
  1781. CV_AM33_FS1 = 41,
  1782. CV_AM33_FS2 = 42,
  1783. CV_AM33_FS3 = 43,
  1784. CV_AM33_FS4 = 44,
  1785. CV_AM33_FS5 = 45,
  1786. CV_AM33_FS6 = 46,
  1787. CV_AM33_FS7 = 47,
  1788. CV_AM33_FS8 = 48,
  1789. CV_AM33_FS9 = 49,
  1790. CV_AM33_FS10 = 50,
  1791. CV_AM33_FS11 = 51,
  1792. CV_AM33_FS12 = 52,
  1793. CV_AM33_FS13 = 53,
  1794. CV_AM33_FS14 = 54,
  1795. CV_AM33_FS15 = 55,
  1796. CV_AM33_FS16 = 56,
  1797. CV_AM33_FS17 = 57,
  1798. CV_AM33_FS18 = 58,
  1799. CV_AM33_FS19 = 59,
  1800. CV_AM33_FS20 = 60,
  1801. CV_AM33_FS21 = 61,
  1802. CV_AM33_FS22 = 62,
  1803. CV_AM33_FS23 = 63,
  1804. CV_AM33_FS24 = 64,
  1805. CV_AM33_FS25 = 65,
  1806. CV_AM33_FS26 = 66,
  1807. CV_AM33_FS27 = 67,
  1808. CV_AM33_FS28 = 68,
  1809. CV_AM33_FS29 = 69,
  1810. CV_AM33_FS30 = 70,
  1811. CV_AM33_FS31 = 71,
  1812. // Special purpose registers
  1813. // Stack pointer
  1814. CV_AM33_SP = 80,
  1815. // Program counter
  1816. CV_AM33_PC = 81,
  1817. // Multiply-divide/accumulate registers
  1818. CV_AM33_MDR = 82,
  1819. CV_AM33_MDRQ = 83,
  1820. CV_AM33_MCRH = 84,
  1821. CV_AM33_MCRL = 85,
  1822. CV_AM33_MCVF = 86,
  1823. // CPU status words
  1824. CV_AM33_EPSW = 87,
  1825. CV_AM33_FPCR = 88,
  1826. // Loop buffer registers
  1827. CV_AM33_LIR = 89,
  1828. CV_AM33_LAR = 90,
  1829. //
  1830. // Register set for the Mitsubishi M32R
  1831. //
  1832. CV_M32R_NOREG = CV_REG_NONE,
  1833. CV_M32R_R0 = 10,
  1834. CV_M32R_R1 = 11,
  1835. CV_M32R_R2 = 12,
  1836. CV_M32R_R3 = 13,
  1837. CV_M32R_R4 = 14,
  1838. CV_M32R_R5 = 15,
  1839. CV_M32R_R6 = 16,
  1840. CV_M32R_R7 = 17,
  1841. CV_M32R_R8 = 18,
  1842. CV_M32R_R9 = 19,
  1843. CV_M32R_R10 = 20,
  1844. CV_M32R_R11 = 21,
  1845. CV_M32R_R12 = 22, // Gloabal Pointer, if used
  1846. CV_M32R_R13 = 23, // Frame Pointer, if allocated
  1847. CV_M32R_R14 = 24, // Link Register
  1848. CV_M32R_R15 = 25, // Stack Pointer
  1849. CV_M32R_PSW = 26, // Preocessor Status Register
  1850. CV_M32R_CBR = 27, // Condition Bit Register
  1851. CV_M32R_SPI = 28, // Interrupt Stack Pointer
  1852. CV_M32R_SPU = 29, // User Stack Pointer
  1853. CV_M32R_SPO = 30, // OS Stack Pointer
  1854. CV_M32R_BPC = 31, // Backup Program Counter
  1855. CV_M32R_ACHI = 32, // Accumulator High
  1856. CV_M32R_ACLO = 33, // Accumulator Low
  1857. CV_M32R_PC = 34, // Program Counter
  1858. //
  1859. // Register set for the SuperH SHMedia processor including compact
  1860. // mode
  1861. //
  1862. // Integer - 64 bit general registers
  1863. CV_SHMEDIA_NOREG = CV_REG_NONE,
  1864. CV_SHMEDIA_R0 = 10,
  1865. CV_SHMEDIA_R1 = 11,
  1866. CV_SHMEDIA_R2 = 12,
  1867. CV_SHMEDIA_R3 = 13,
  1868. CV_SHMEDIA_R4 = 14,
  1869. CV_SHMEDIA_R5 = 15,
  1870. CV_SHMEDIA_R6 = 16,
  1871. CV_SHMEDIA_R7 = 17,
  1872. CV_SHMEDIA_R8 = 18,
  1873. CV_SHMEDIA_R9 = 19,
  1874. CV_SHMEDIA_R10 = 20,
  1875. CV_SHMEDIA_R11 = 21,
  1876. CV_SHMEDIA_R12 = 22,
  1877. CV_SHMEDIA_R13 = 23,
  1878. CV_SHMEDIA_R14 = 24,
  1879. CV_SHMEDIA_R15 = 25,
  1880. CV_SHMEDIA_R16 = 26,
  1881. CV_SHMEDIA_R17 = 27,
  1882. CV_SHMEDIA_R18 = 28,
  1883. CV_SHMEDIA_R19 = 29,
  1884. CV_SHMEDIA_R20 = 30,
  1885. CV_SHMEDIA_R21 = 31,
  1886. CV_SHMEDIA_R22 = 32,
  1887. CV_SHMEDIA_R23 = 33,
  1888. CV_SHMEDIA_R24 = 34,
  1889. CV_SHMEDIA_R25 = 35,
  1890. CV_SHMEDIA_R26 = 36,
  1891. CV_SHMEDIA_R27 = 37,
  1892. CV_SHMEDIA_R28 = 38,
  1893. CV_SHMEDIA_R29 = 39,
  1894. CV_SHMEDIA_R30 = 40,
  1895. CV_SHMEDIA_R31 = 41,
  1896. CV_SHMEDIA_R32 = 42,
  1897. CV_SHMEDIA_R33 = 43,
  1898. CV_SHMEDIA_R34 = 44,
  1899. CV_SHMEDIA_R35 = 45,
  1900. CV_SHMEDIA_R36 = 46,
  1901. CV_SHMEDIA_R37 = 47,
  1902. CV_SHMEDIA_R38 = 48,
  1903. CV_SHMEDIA_R39 = 49,
  1904. CV_SHMEDIA_R40 = 50,
  1905. CV_SHMEDIA_R41 = 51,
  1906. CV_SHMEDIA_R42 = 52,
  1907. CV_SHMEDIA_R43 = 53,
  1908. CV_SHMEDIA_R44 = 54,
  1909. CV_SHMEDIA_R45 = 55,
  1910. CV_SHMEDIA_R46 = 56,
  1911. CV_SHMEDIA_R47 = 57,
  1912. CV_SHMEDIA_R48 = 58,
  1913. CV_SHMEDIA_R49 = 59,
  1914. CV_SHMEDIA_R50 = 60,
  1915. CV_SHMEDIA_R51 = 61,
  1916. CV_SHMEDIA_R52 = 62,
  1917. CV_SHMEDIA_R53 = 63,
  1918. CV_SHMEDIA_R54 = 64,
  1919. CV_SHMEDIA_R55 = 65,
  1920. CV_SHMEDIA_R56 = 66,
  1921. CV_SHMEDIA_R57 = 67,
  1922. CV_SHMEDIA_R58 = 68,
  1923. CV_SHMEDIA_R59 = 69,
  1924. CV_SHMEDIA_R60 = 70,
  1925. CV_SHMEDIA_R61 = 71,
  1926. CV_SHMEDIA_R62 = 72,
  1927. CV_SHMEDIA_R63 = 73,
  1928. // Target Registers - 32 bit
  1929. CV_SHMEDIA_TR0 = 74,
  1930. CV_SHMEDIA_TR1 = 75,
  1931. CV_SHMEDIA_TR2 = 76,
  1932. CV_SHMEDIA_TR3 = 77,
  1933. CV_SHMEDIA_TR4 = 78,
  1934. CV_SHMEDIA_TR5 = 79,
  1935. CV_SHMEDIA_TR6 = 80,
  1936. CV_SHMEDIA_TR7 = 81,
  1937. CV_SHMEDIA_TR8 = 82, // future-proof
  1938. CV_SHMEDIA_TR9 = 83, // future-proof
  1939. CV_SHMEDIA_TR10 = 84, // future-proof
  1940. CV_SHMEDIA_TR11 = 85, // future-proof
  1941. CV_SHMEDIA_TR12 = 86, // future-proof
  1942. CV_SHMEDIA_TR13 = 87, // future-proof
  1943. CV_SHMEDIA_TR14 = 88, // future-proof
  1944. CV_SHMEDIA_TR15 = 89, // future-proof
  1945. // Single - 32 bit fp registers
  1946. CV_SHMEDIA_FR0 = 128,
  1947. CV_SHMEDIA_FR1 = 129,
  1948. CV_SHMEDIA_FR2 = 130,
  1949. CV_SHMEDIA_FR3 = 131,
  1950. CV_SHMEDIA_FR4 = 132,
  1951. CV_SHMEDIA_FR5 = 133,
  1952. CV_SHMEDIA_FR6 = 134,
  1953. CV_SHMEDIA_FR7 = 135,
  1954. CV_SHMEDIA_FR8 = 136,
  1955. CV_SHMEDIA_FR9 = 137,
  1956. CV_SHMEDIA_FR10 = 138,
  1957. CV_SHMEDIA_FR11 = 139,
  1958. CV_SHMEDIA_FR12 = 140,
  1959. CV_SHMEDIA_FR13 = 141,
  1960. CV_SHMEDIA_FR14 = 142,
  1961. CV_SHMEDIA_FR15 = 143,
  1962. CV_SHMEDIA_FR16 = 144,
  1963. CV_SHMEDIA_FR17 = 145,
  1964. CV_SHMEDIA_FR18 = 146,
  1965. CV_SHMEDIA_FR19 = 147,
  1966. CV_SHMEDIA_FR20 = 148,
  1967. CV_SHMEDIA_FR21 = 149,
  1968. CV_SHMEDIA_FR22 = 150,
  1969. CV_SHMEDIA_FR23 = 151,
  1970. CV_SHMEDIA_FR24 = 152,
  1971. CV_SHMEDIA_FR25 = 153,
  1972. CV_SHMEDIA_FR26 = 154,
  1973. CV_SHMEDIA_FR27 = 155,
  1974. CV_SHMEDIA_FR28 = 156,
  1975. CV_SHMEDIA_FR29 = 157,
  1976. CV_SHMEDIA_FR30 = 158,
  1977. CV_SHMEDIA_FR31 = 159,
  1978. CV_SHMEDIA_FR32 = 160,
  1979. CV_SHMEDIA_FR33 = 161,
  1980. CV_SHMEDIA_FR34 = 162,
  1981. CV_SHMEDIA_FR35 = 163,
  1982. CV_SHMEDIA_FR36 = 164,
  1983. CV_SHMEDIA_FR37 = 165,
  1984. CV_SHMEDIA_FR38 = 166,
  1985. CV_SHMEDIA_FR39 = 167,
  1986. CV_SHMEDIA_FR40 = 168,
  1987. CV_SHMEDIA_FR41 = 169,
  1988. CV_SHMEDIA_FR42 = 170,
  1989. CV_SHMEDIA_FR43 = 171,
  1990. CV_SHMEDIA_FR44 = 172,
  1991. CV_SHMEDIA_FR45 = 173,
  1992. CV_SHMEDIA_FR46 = 174,
  1993. CV_SHMEDIA_FR47 = 175,
  1994. CV_SHMEDIA_FR48 = 176,
  1995. CV_SHMEDIA_FR49 = 177,
  1996. CV_SHMEDIA_FR50 = 178,
  1997. CV_SHMEDIA_FR51 = 179,
  1998. CV_SHMEDIA_FR52 = 180,
  1999. CV_SHMEDIA_FR53 = 181,
  2000. CV_SHMEDIA_FR54 = 182,
  2001. CV_SHMEDIA_FR55 = 183,
  2002. CV_SHMEDIA_FR56 = 184,
  2003. CV_SHMEDIA_FR57 = 185,
  2004. CV_SHMEDIA_FR58 = 186,
  2005. CV_SHMEDIA_FR59 = 187,
  2006. CV_SHMEDIA_FR60 = 188,
  2007. CV_SHMEDIA_FR61 = 189,
  2008. CV_SHMEDIA_FR62 = 190,
  2009. CV_SHMEDIA_FR63 = 191,
  2010. // Double - 64 bit synonyms for 32bit fp register pairs
  2011. // subtract 128 to find first base single register
  2012. CV_SHMEDIA_DR0 = 256,
  2013. CV_SHMEDIA_DR2 = 258,
  2014. CV_SHMEDIA_DR4 = 260,
  2015. CV_SHMEDIA_DR6 = 262,
  2016. CV_SHMEDIA_DR8 = 264,
  2017. CV_SHMEDIA_DR10 = 266,
  2018. CV_SHMEDIA_DR12 = 268,
  2019. CV_SHMEDIA_DR14 = 270,
  2020. CV_SHMEDIA_DR16 = 272,
  2021. CV_SHMEDIA_DR18 = 274,
  2022. CV_SHMEDIA_DR20 = 276,
  2023. CV_SHMEDIA_DR22 = 278,
  2024. CV_SHMEDIA_DR24 = 280,
  2025. CV_SHMEDIA_DR26 = 282,
  2026. CV_SHMEDIA_DR28 = 284,
  2027. CV_SHMEDIA_DR30 = 286,
  2028. CV_SHMEDIA_DR32 = 288,
  2029. CV_SHMEDIA_DR34 = 290,
  2030. CV_SHMEDIA_DR36 = 292,
  2031. CV_SHMEDIA_DR38 = 294,
  2032. CV_SHMEDIA_DR40 = 296,
  2033. CV_SHMEDIA_DR42 = 298,
  2034. CV_SHMEDIA_DR44 = 300,
  2035. CV_SHMEDIA_DR46 = 302,
  2036. CV_SHMEDIA_DR48 = 304,
  2037. CV_SHMEDIA_DR50 = 306,
  2038. CV_SHMEDIA_DR52 = 308,
  2039. CV_SHMEDIA_DR54 = 310,
  2040. CV_SHMEDIA_DR56 = 312,
  2041. CV_SHMEDIA_DR58 = 314,
  2042. CV_SHMEDIA_DR60 = 316,
  2043. CV_SHMEDIA_DR62 = 318,
  2044. // Vector - 128 bit synonyms for 32bit fp register quads
  2045. // subtract 384 to find first base single register
  2046. CV_SHMEDIA_FV0 = 512,
  2047. CV_SHMEDIA_FV4 = 516,
  2048. CV_SHMEDIA_FV8 = 520,
  2049. CV_SHMEDIA_FV12 = 524,
  2050. CV_SHMEDIA_FV16 = 528,
  2051. CV_SHMEDIA_FV20 = 532,
  2052. CV_SHMEDIA_FV24 = 536,
  2053. CV_SHMEDIA_FV28 = 540,
  2054. CV_SHMEDIA_FV32 = 544,
  2055. CV_SHMEDIA_FV36 = 548,
  2056. CV_SHMEDIA_FV40 = 552,
  2057. CV_SHMEDIA_FV44 = 556,
  2058. CV_SHMEDIA_FV48 = 560,
  2059. CV_SHMEDIA_FV52 = 564,
  2060. CV_SHMEDIA_FV56 = 568,
  2061. CV_SHMEDIA_FV60 = 572,
  2062. // Matrix - 512 bit synonyms for 16 adjacent 32bit fp registers
  2063. // subtract 896 to find first base single register
  2064. CV_SHMEDIA_MTRX0 = 1024,
  2065. CV_SHMEDIA_MTRX16 = 1040,
  2066. CV_SHMEDIA_MTRX32 = 1056,
  2067. CV_SHMEDIA_MTRX48 = 1072,
  2068. // Control - Implementation defined 64bit control registers
  2069. CV_SHMEDIA_CR0 = 2000,
  2070. CV_SHMEDIA_CR1 = 2001,
  2071. CV_SHMEDIA_CR2 = 2002,
  2072. CV_SHMEDIA_CR3 = 2003,
  2073. CV_SHMEDIA_CR4 = 2004,
  2074. CV_SHMEDIA_CR5 = 2005,
  2075. CV_SHMEDIA_CR6 = 2006,
  2076. CV_SHMEDIA_CR7 = 2007,
  2077. CV_SHMEDIA_CR8 = 2008,
  2078. CV_SHMEDIA_CR9 = 2009,
  2079. CV_SHMEDIA_CR10 = 2010,
  2080. CV_SHMEDIA_CR11 = 2011,
  2081. CV_SHMEDIA_CR12 = 2012,
  2082. CV_SHMEDIA_CR13 = 2013,
  2083. CV_SHMEDIA_CR14 = 2014,
  2084. CV_SHMEDIA_CR15 = 2015,
  2085. CV_SHMEDIA_CR16 = 2016,
  2086. CV_SHMEDIA_CR17 = 2017,
  2087. CV_SHMEDIA_CR18 = 2018,
  2088. CV_SHMEDIA_CR19 = 2019,
  2089. CV_SHMEDIA_CR20 = 2020,
  2090. CV_SHMEDIA_CR21 = 2021,
  2091. CV_SHMEDIA_CR22 = 2022,
  2092. CV_SHMEDIA_CR23 = 2023,
  2093. CV_SHMEDIA_CR24 = 2024,
  2094. CV_SHMEDIA_CR25 = 2025,
  2095. CV_SHMEDIA_CR26 = 2026,
  2096. CV_SHMEDIA_CR27 = 2027,
  2097. CV_SHMEDIA_CR28 = 2028,
  2098. CV_SHMEDIA_CR29 = 2029,
  2099. CV_SHMEDIA_CR30 = 2030,
  2100. CV_SHMEDIA_CR31 = 2031,
  2101. CV_SHMEDIA_CR32 = 2032,
  2102. CV_SHMEDIA_CR33 = 2033,
  2103. CV_SHMEDIA_CR34 = 2034,
  2104. CV_SHMEDIA_CR35 = 2035,
  2105. CV_SHMEDIA_CR36 = 2036,
  2106. CV_SHMEDIA_CR37 = 2037,
  2107. CV_SHMEDIA_CR38 = 2038,
  2108. CV_SHMEDIA_CR39 = 2039,
  2109. CV_SHMEDIA_CR40 = 2040,
  2110. CV_SHMEDIA_CR41 = 2041,
  2111. CV_SHMEDIA_CR42 = 2042,
  2112. CV_SHMEDIA_CR43 = 2043,
  2113. CV_SHMEDIA_CR44 = 2044,
  2114. CV_SHMEDIA_CR45 = 2045,
  2115. CV_SHMEDIA_CR46 = 2046,
  2116. CV_SHMEDIA_CR47 = 2047,
  2117. CV_SHMEDIA_CR48 = 2048,
  2118. CV_SHMEDIA_CR49 = 2049,
  2119. CV_SHMEDIA_CR50 = 2050,
  2120. CV_SHMEDIA_CR51 = 2051,
  2121. CV_SHMEDIA_CR52 = 2052,
  2122. CV_SHMEDIA_CR53 = 2053,
  2123. CV_SHMEDIA_CR54 = 2054,
  2124. CV_SHMEDIA_CR55 = 2055,
  2125. CV_SHMEDIA_CR56 = 2056,
  2126. CV_SHMEDIA_CR57 = 2057,
  2127. CV_SHMEDIA_CR58 = 2058,
  2128. CV_SHMEDIA_CR59 = 2059,
  2129. CV_SHMEDIA_CR60 = 2060,
  2130. CV_SHMEDIA_CR61 = 2061,
  2131. CV_SHMEDIA_CR62 = 2062,
  2132. CV_SHMEDIA_CR63 = 2063,
  2133. CV_SHMEDIA_FPSCR = 2064,
  2134. // Compact mode synonyms
  2135. CV_SHMEDIA_GBR = CV_SHMEDIA_R16,
  2136. CV_SHMEDIA_MACL = 90, // synonym for lower 32bits of media R17
  2137. CV_SHMEDIA_MACH = 91, // synonym for upper 32bits of media R17
  2138. CV_SHMEDIA_PR = CV_SHMEDIA_R18,
  2139. CV_SHMEDIA_T = 92, // synonym for lowest bit of media R19
  2140. CV_SHMEDIA_FPUL = CV_SHMEDIA_FR32,
  2141. CV_SHMEDIA_PC = 93,
  2142. CV_SHMEDIA_SR = CV_SHMEDIA_CR0,
  2143. //
  2144. // AMD64/X8664 registers
  2145. //
  2146. CV_AMD64_AL = 1,
  2147. CV_AMD64_CL = 2,
  2148. CV_AMD64_DL = 3,
  2149. CV_AMD64_BL = 4,
  2150. CV_AMD64_AH = 5,
  2151. CV_AMD64_CH = 6,
  2152. CV_AMD64_DH = 7,
  2153. CV_AMD64_BH = 8,
  2154. CV_AMD64_AX = 9,
  2155. CV_AMD64_CX = 10,
  2156. CV_AMD64_DX = 11,
  2157. CV_AMD64_BX = 12,
  2158. CV_AMD64_SP = 13,
  2159. CV_AMD64_BP = 14,
  2160. CV_AMD64_SI = 15,
  2161. CV_AMD64_DI = 16,
  2162. CV_AMD64_EAX = 17,
  2163. CV_AMD64_ECX = 18,
  2164. CV_AMD64_EDX = 19,
  2165. CV_AMD64_EBX = 20,
  2166. CV_AMD64_ESP = 21,
  2167. CV_AMD64_EBP = 22,
  2168. CV_AMD64_ESI = 23,
  2169. CV_AMD64_EDI = 24,
  2170. CV_AMD64_ES = 25,
  2171. CV_AMD64_CS = 26,
  2172. CV_AMD64_SS = 27,
  2173. CV_AMD64_DS = 28,
  2174. CV_AMD64_FS = 29,
  2175. CV_AMD64_GS = 30,
  2176. CV_AMD64_FLAGS = 32,
  2177. CV_AMD64_RIP = 33,
  2178. CV_AMD64_EFLAGS = 34,
  2179. // Control registers
  2180. CV_AMD64_CR0 = 80,
  2181. CV_AMD64_CR1 = 81,
  2182. CV_AMD64_CR2 = 82,
  2183. CV_AMD64_CR3 = 83,
  2184. CV_AMD64_CR4 = 84,
  2185. CV_AMD64_CR8 = 88,
  2186. // Debug registers
  2187. CV_AMD64_DR0 = 90,
  2188. CV_AMD64_DR1 = 91,
  2189. CV_AMD64_DR2 = 92,
  2190. CV_AMD64_DR3 = 93,
  2191. CV_AMD64_DR4 = 94,
  2192. CV_AMD64_DR5 = 95,
  2193. CV_AMD64_DR6 = 96,
  2194. CV_AMD64_DR7 = 97,
  2195. CV_AMD64_DR8 = 98,
  2196. CV_AMD64_DR9 = 99,
  2197. CV_AMD64_DR10 = 100,
  2198. CV_AMD64_DR11 = 101,
  2199. CV_AMD64_DR12 = 102,
  2200. CV_AMD64_DR13 = 103,
  2201. CV_AMD64_DR14 = 104,
  2202. CV_AMD64_DR15 = 105,
  2203. CV_AMD64_GDTR = 110,
  2204. CV_AMD64_GDTL = 111,
  2205. CV_AMD64_IDTR = 112,
  2206. CV_AMD64_IDTL = 113,
  2207. CV_AMD64_LDTR = 114,
  2208. CV_AMD64_TR = 115,
  2209. CV_AMD64_ST0 = 128,
  2210. CV_AMD64_ST1 = 129,
  2211. CV_AMD64_ST2 = 130,
  2212. CV_AMD64_ST3 = 131,
  2213. CV_AMD64_ST4 = 132,
  2214. CV_AMD64_ST5 = 133,
  2215. CV_AMD64_ST6 = 134,
  2216. CV_AMD64_ST7 = 135,
  2217. CV_AMD64_CTRL = 136,
  2218. CV_AMD64_STAT = 137,
  2219. CV_AMD64_TAG = 138,
  2220. CV_AMD64_FPIP = 139,
  2221. CV_AMD64_FPCS = 140,
  2222. CV_AMD64_FPDO = 141,
  2223. CV_AMD64_FPDS = 142,
  2224. CV_AMD64_ISEM = 143,
  2225. CV_AMD64_FPEIP = 144,
  2226. CV_AMD64_FPEDO = 145,
  2227. CV_AMD64_MM0 = 146,
  2228. CV_AMD64_MM1 = 147,
  2229. CV_AMD64_MM2 = 148,
  2230. CV_AMD64_MM3 = 149,
  2231. CV_AMD64_MM4 = 150,
  2232. CV_AMD64_MM5 = 151,
  2233. CV_AMD64_MM6 = 152,
  2234. CV_AMD64_MM7 = 153,
  2235. CV_AMD64_XMM0 = 154, // KATMAI registers
  2236. CV_AMD64_XMM1 = 155,
  2237. CV_AMD64_XMM2 = 156,
  2238. CV_AMD64_XMM3 = 157,
  2239. CV_AMD64_XMM4 = 158,
  2240. CV_AMD64_XMM5 = 159,
  2241. CV_AMD64_XMM6 = 160,
  2242. CV_AMD64_XMM7 = 161,
  2243. CV_AMD64_XMM0_0 = 162, // KATMAI sub-registers
  2244. CV_AMD64_XMM0_1 = 163,
  2245. CV_AMD64_XMM0_2 = 164,
  2246. CV_AMD64_XMM0_3 = 165,
  2247. CV_AMD64_XMM1_0 = 166,
  2248. CV_AMD64_XMM1_1 = 167,
  2249. CV_AMD64_XMM1_2 = 168,
  2250. CV_AMD64_XMM1_3 = 169,
  2251. CV_AMD64_XMM2_0 = 170,
  2252. CV_AMD64_XMM2_1 = 171,
  2253. CV_AMD64_XMM2_2 = 172,
  2254. CV_AMD64_XMM2_3 = 173,
  2255. CV_AMD64_XMM3_0 = 174,
  2256. CV_AMD64_XMM3_1 = 175,
  2257. CV_AMD64_XMM3_2 = 176,
  2258. CV_AMD64_XMM3_3 = 177,
  2259. CV_AMD64_XMM4_0 = 178,
  2260. CV_AMD64_XMM4_1 = 179,
  2261. CV_AMD64_XMM4_2 = 180,
  2262. CV_AMD64_XMM4_3 = 181,
  2263. CV_AMD64_XMM5_0 = 182,
  2264. CV_AMD64_XMM5_1 = 183,
  2265. CV_AMD64_XMM5_2 = 184,
  2266. CV_AMD64_XMM5_3 = 185,
  2267. CV_AMD64_XMM6_0 = 186,
  2268. CV_AMD64_XMM6_1 = 187,
  2269. CV_AMD64_XMM6_2 = 188,
  2270. CV_AMD64_XMM6_3 = 189,
  2271. CV_AMD64_XMM7_0 = 190,
  2272. CV_AMD64_XMM7_1 = 191,
  2273. CV_AMD64_XMM7_2 = 192,
  2274. CV_AMD64_XMM7_3 = 193,
  2275. CV_AMD64_XMM0L = 194,
  2276. CV_AMD64_XMM1L = 195,
  2277. CV_AMD64_XMM2L = 196,
  2278. CV_AMD64_XMM3L = 197,
  2279. CV_AMD64_XMM4L = 198,
  2280. CV_AMD64_XMM5L = 199,
  2281. CV_AMD64_XMM6L = 200,
  2282. CV_AMD64_XMM7L = 201,
  2283. CV_AMD64_XMM0H = 202,
  2284. CV_AMD64_XMM1H = 203,
  2285. CV_AMD64_XMM2H = 204,
  2286. CV_AMD64_XMM3H = 205,
  2287. CV_AMD64_XMM4H = 206,
  2288. CV_AMD64_XMM5H = 207,
  2289. CV_AMD64_XMM6H = 208,
  2290. CV_AMD64_XMM7H = 209,
  2291. CV_AMD64_MXCSR = 211, // XMM status register
  2292. CV_AMD64_EMM0L = 220, // XMM sub-registers (WNI integer)
  2293. CV_AMD64_EMM1L = 221,
  2294. CV_AMD64_EMM2L = 222,
  2295. CV_AMD64_EMM3L = 223,
  2296. CV_AMD64_EMM4L = 224,
  2297. CV_AMD64_EMM5L = 225,
  2298. CV_AMD64_EMM6L = 226,
  2299. CV_AMD64_EMM7L = 227,
  2300. CV_AMD64_EMM0H = 228,
  2301. CV_AMD64_EMM1H = 229,
  2302. CV_AMD64_EMM2H = 230,
  2303. CV_AMD64_EMM3H = 231,
  2304. CV_AMD64_EMM4H = 232,
  2305. CV_AMD64_EMM5H = 233,
  2306. CV_AMD64_EMM6H = 234,
  2307. CV_AMD64_EMM7H = 235,
  2308. // do not change the order of these regs, first one must be even too
  2309. CV_AMD64_MM00 = 236,
  2310. CV_AMD64_MM01 = 237,
  2311. CV_AMD64_MM10 = 238,
  2312. CV_AMD64_MM11 = 239,
  2313. CV_AMD64_MM20 = 240,
  2314. CV_AMD64_MM21 = 241,
  2315. CV_AMD64_MM30 = 242,
  2316. CV_AMD64_MM31 = 243,
  2317. CV_AMD64_MM40 = 244,
  2318. CV_AMD64_MM41 = 245,
  2319. CV_AMD64_MM50 = 246,
  2320. CV_AMD64_MM51 = 247,
  2321. CV_AMD64_MM60 = 248,
  2322. CV_AMD64_MM61 = 249,
  2323. CV_AMD64_MM70 = 250,
  2324. CV_AMD64_MM71 = 251,
  2325. // Extended KATMAI registers
  2326. CV_AMD64_XMM8 = 252, // KATMAI registers
  2327. CV_AMD64_XMM9 = 253,
  2328. CV_AMD64_XMM10 = 254,
  2329. CV_AMD64_XMM11 = 255,
  2330. CV_AMD64_XMM12 = 256,
  2331. CV_AMD64_XMM13 = 257,
  2332. CV_AMD64_XMM14 = 258,
  2333. CV_AMD64_XMM15 = 259,
  2334. CV_AMD64_XMM8_0 = 260, // KATMAI sub-registers
  2335. CV_AMD64_XMM8_1 = 261,
  2336. CV_AMD64_XMM8_2 = 262,
  2337. CV_AMD64_XMM8_3 = 263,
  2338. CV_AMD64_XMM9_0 = 264,
  2339. CV_AMD64_XMM9_1 = 265,
  2340. CV_AMD64_XMM9_2 = 266,
  2341. CV_AMD64_XMM9_3 = 267,
  2342. CV_AMD64_XMM10_0 = 268,
  2343. CV_AMD64_XMM10_1 = 269,
  2344. CV_AMD64_XMM10_2 = 270,
  2345. CV_AMD64_XMM10_3 = 271,
  2346. CV_AMD64_XMM11_0 = 272,
  2347. CV_AMD64_XMM11_1 = 273,
  2348. CV_AMD64_XMM11_2 = 274,
  2349. CV_AMD64_XMM11_3 = 275,
  2350. CV_AMD64_XMM12_0 = 276,
  2351. CV_AMD64_XMM12_1 = 277,
  2352. CV_AMD64_XMM12_2 = 278,
  2353. CV_AMD64_XMM12_3 = 279,
  2354. CV_AMD64_XMM13_0 = 280,
  2355. CV_AMD64_XMM13_1 = 281,
  2356. CV_AMD64_XMM13_2 = 282,
  2357. CV_AMD64_XMM13_3 = 283,
  2358. CV_AMD64_XMM14_0 = 284,
  2359. CV_AMD64_XMM14_1 = 285,
  2360. CV_AMD64_XMM14_2 = 286,
  2361. CV_AMD64_XMM14_3 = 287,
  2362. CV_AMD64_XMM15_0 = 288,
  2363. CV_AMD64_XMM15_1 = 289,
  2364. CV_AMD64_XMM15_2 = 290,
  2365. CV_AMD64_XMM15_3 = 291,
  2366. CV_AMD64_XMM8L = 292,
  2367. CV_AMD64_XMM9L = 293,
  2368. CV_AMD64_XMM10L = 294,
  2369. CV_AMD64_XMM11L = 295,
  2370. CV_AMD64_XMM12L = 296,
  2371. CV_AMD64_XMM13L = 297,
  2372. CV_AMD64_XMM14L = 298,
  2373. CV_AMD64_XMM15L = 299,
  2374. CV_AMD64_XMM8H = 300,
  2375. CV_AMD64_XMM9H = 301,
  2376. CV_AMD64_XMM10H = 301,
  2377. CV_AMD64_XMM11H = 302,
  2378. CV_AMD64_XMM12H = 303,
  2379. CV_AMD64_XMM13H = 304,
  2380. CV_AMD64_XMM14H = 305,
  2381. CV_AMD64_XMM15H = 306,
  2382. CV_AMD64_EMM8L = 307, // XMM sub-registers (WNI integer)
  2383. CV_AMD64_EMM9L = 308,
  2384. CV_AMD64_EMM10L = 309,
  2385. CV_AMD64_EMM11L = 310,
  2386. CV_AMD64_EMM12L = 311,
  2387. CV_AMD64_EMM13L = 312,
  2388. CV_AMD64_EMM14L = 313,
  2389. CV_AMD64_EMM15L = 314,
  2390. CV_AMD64_EMM8H = 315,
  2391. CV_AMD64_EMM9H = 316,
  2392. CV_AMD64_EMM10H = 317,
  2393. CV_AMD64_EMM11H = 318,
  2394. CV_AMD64_EMM12H = 319,
  2395. CV_AMD64_EMM13H = 320,
  2396. CV_AMD64_EMM14H = 321,
  2397. CV_AMD64_EMM15H = 322,
  2398. // Low byte forms of some standard registers
  2399. CV_AMD64_SIL = 323,
  2400. CV_AMD64_DIL = 324,
  2401. CV_AMD64_BPL = 325,
  2402. CV_AMD64_SPL = 326,
  2403. // 64-bit regular registers
  2404. CV_AMD64_RAX = 327,
  2405. CV_AMD64_RBX = 328,
  2406. CV_AMD64_RCX = 329,
  2407. CV_AMD64_RDX = 330,
  2408. CV_AMD64_RSI = 331,
  2409. CV_AMD64_RDI = 332,
  2410. CV_AMD64_RBP = 333,
  2411. CV_AMD64_RSP = 334,
  2412. // 64-bit integer registers with 8-, 16-, and 32-bit forms (B, W, and D)
  2413. CV_AMD64_R8 = 335,
  2414. CV_AMD64_R9 = 336,
  2415. CV_AMD64_R10 = 337,
  2416. CV_AMD64_R11 = 338,
  2417. CV_AMD64_R12 = 339,
  2418. CV_AMD64_R13 = 340,
  2419. CV_AMD64_R14 = 341,
  2420. CV_AMD64_R15 = 342,
  2421. CV_AMD64_R8B = 343,
  2422. CV_AMD64_R9B = 344,
  2423. CV_AMD64_R10B = 345,
  2424. CV_AMD64_R11B = 346,
  2425. CV_AMD64_R12B = 347,
  2426. CV_AMD64_R13B = 348,
  2427. CV_AMD64_R14B = 349,
  2428. CV_AMD64_R15B = 350,
  2429. CV_AMD64_R8W = 351,
  2430. CV_AMD64_R9W = 352,
  2431. CV_AMD64_R10W = 353,
  2432. CV_AMD64_R11W = 354,
  2433. CV_AMD64_R12W = 355,
  2434. CV_AMD64_R13W = 356,
  2435. CV_AMD64_R14W = 357,
  2436. CV_AMD64_R15W = 358,
  2437. CV_AMD64_R8D = 359,
  2438. CV_AMD64_R9D = 360,
  2439. CV_AMD64_R10D = 361,
  2440. CV_AMD64_R11D = 362,
  2441. CV_AMD64_R12D = 363,
  2442. CV_AMD64_R13D = 364,
  2443. CV_AMD64_R14D = 365,
  2444. CV_AMD64_R15D = 366,
  2445. // Note: Next set of platform registers need to go into a new enum...
  2446. // this one is above 44K now.
  2447. } CV_HREG_e;
  2448. enum StackFrameTypeEnum
  2449. {
  2450. FrameTypeFPO, // Frame pointer omitted, FPO info available
  2451. FrameTypeTrap, // Kernel Trap frame
  2452. FrameTypeTSS, // Kernel Trap frame
  2453. FrameTypeStandard, // Standard EBP stackframe
  2454. FrameTypeFrameData, // Frame pointer omitted, FrameData info available
  2455. FrameTypeUnknown = -1, // Frame which does not have any debug info
  2456. };
  2457. enum MemoryTypeEnum
  2458. {
  2459. MemTypeCode, // Read only code memory
  2460. MemTypeData, // Read only data/stack memory
  2461. MemTypeStack, // Read only stack memory
  2462. MemTypeAny = -1,
  2463. };
  2464. #endif