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.

519 lines
26 KiB

  1. /*** uasmdata.c - Unassembler data
  2. *
  3. * This module contains data declaration of the unassembler
  4. *
  5. * Copyright (c) 1996,1998 Microsoft Corporation
  6. * Author: Michael Tsang (MikeTs)
  7. * Created 03/24/98
  8. *
  9. * MODIFICATION HISTORY
  10. */
  11. #include "pch.h"
  12. #include "unasm.h"
  13. #ifdef DEBUGGER
  14. int gicCode = 0;
  15. int giLevel = 0;
  16. PNSOBJ gpnsCurUnAsmScope = NULL;
  17. #define AF TF_ACTION_FLIST //process after fixed list is parsed
  18. #define AV TF_ACTION_VLIST //process after variable list is parsed
  19. #define LN TF_PACKAGE_LEN //term requires package length
  20. #define CC TF_CHANGE_CHILDSCOPE //change to child scope
  21. #define DL TF_DATA_LIST //term expects buffer data list
  22. #define PL TF_PACKAGE_LIST //term expects package list
  23. #define FL TF_FIELD_LIST //term expects FieldList
  24. #define OL TF_OBJECT_LIST //term expects ObjectList
  25. #define LL TF_COMPILER_DIRECTIVE //term expects compiler directives
  26. #define CL TF_CODE_LIST //term expects CodeList
  27. #define AL TF_ALL_LISTS //term expects anything
  28. #define ML TF_PNP_MACRO //term expects PNPMacro
  29. #define BL TF_BYTE_LIST //term expects ByteList
  30. #define DD TF_DWORD_LIST //term expects DWordList
  31. #define CD UTC_COMPILER_DIRECTIVE
  32. #define FM UTC_FIELD_MACRO
  33. #define CN UTC_CONST_NAME
  34. #define SN UTC_SHORT_NAME
  35. #define NS UTC_NAMESPACE_MODIFIER
  36. #define DO UTC_DATA_OBJECT
  37. #define KW UTC_KEYWORD
  38. #define NO UTC_NAMED_OBJECT
  39. #define C1 UTC_OPCODE_TYPE1
  40. #define C2 UTC_OPCODE_TYPE2
  41. #define RO UTC_REF_OBJECT
  42. #define PM UTC_PNP_MACRO
  43. #define UNK OBJTYPE_UNKNOWN
  44. #define INT OBJTYPE_INTDATA
  45. #define STR OBJTYPE_STRDATA
  46. #define BUF OBJTYPE_BUFFDATA
  47. #define PKG OBJTYPE_PKGDATA
  48. #define FDU OBJTYPE_FIELDUNIT
  49. #define DEV OBJTYPE_DEVICE
  50. #define EVT OBJTYPE_EVENT
  51. #define MET OBJTYPE_METHOD
  52. #define MUT OBJTYPE_MUTEX
  53. #define OPR OBJTYPE_OPREGION
  54. #define PWR OBJTYPE_POWERRES
  55. #define THM OBJTYPE_THERMALZONE
  56. #define BFD OBJTYPE_BUFFFIELD
  57. #define DDB OBJTYPE_DDBHANDLE
  58. /*** Field flags
  59. */
  60. #define AANY (ACCTYPE_ANY | (ACCTYPE_MASK << 8))
  61. #define AB (ACCTYPE_BYTE | (ACCTYPE_MASK << 8))
  62. #define AW (ACCTYPE_WORD | (ACCTYPE_MASK << 8))
  63. #define ADW (ACCTYPE_DWORD | (ACCTYPE_MASK << 8))
  64. #define AQW (ACCTYPE_QWORD | (ACCTYPE_MASK << 8))
  65. #define ABFR (ACCTYPE_BUFFER | (ACCTYPE_MASK << 8))
  66. #define LK (LOCKRULE_LOCK | (LOCKRULE_MASK << 8))
  67. #define NOLK (LOCKRULE_NOLOCK | (LOCKRULE_MASK << 8))
  68. #define PSRV (UPDATERULE_PRESERVE | (UPDATERULE_MASK << 8))
  69. #define WA1S (UPDATERULE_WRITEASONES | (UPDATERULE_MASK << 8))
  70. #define WA0S (UPDATERULE_WRITEASZEROS | (UPDATERULE_MASK << 8))
  71. /*** AccessAttribute
  72. */
  73. #define SMBQ 0x02
  74. #define SMBS 0x04
  75. #define SMBB 0x06
  76. #define SMBW 0x08
  77. #define SMBK 0x0a
  78. #define SMBP 0x0c
  79. #define SMBC 0x0d
  80. /*** Operation region space
  81. */
  82. #define MEM (REGSPACE_MEM | 0xff00)
  83. #define IO (REGSPACE_IO | 0xff00)
  84. #define CFG (REGSPACE_PCICFG | 0xff00)
  85. #define EC (REGSPACE_EC | 0xff00)
  86. #define SMB (REGSPACE_SMB | 0xff00)
  87. /*** Method flags
  88. */
  89. #define SER (METHOD_SERIALIZED | (METHOD_SYNCMASK << 8))
  90. #define NOSER (METHOD_NOTSERIALIZED | (METHOD_SYNCMASK << 8))
  91. /*** Match operation values
  92. */
  93. #define OMTR (MTR | 0xff00)
  94. #define OMEQ (MEQ | 0xff00)
  95. #define OMLE (MLE | 0xff00)
  96. #define OMLT (MLT | 0xff00)
  97. #define OMGE (MGE | 0xff00)
  98. #define OMGT (MGT | 0xff00)
  99. ASLTERM TermTable[] =
  100. {
  101. "DefinitionBlock", CD, 0, OP_NONE, NULL, NULL, OL|CL|LL|AF|AV,
  102. "Include", CD, 0, OP_NONE, NULL, NULL, AF,
  103. "External", CD, 0, OP_NONE, NULL, "uX", AF,
  104. // Short Objects
  105. "Zero", CN, 0, OP_ZERO, NULL, NULL, 0,
  106. "One", CN, 0, OP_ONE, NULL, NULL, 0,
  107. "Ones", CN, 0, OP_ONES, NULL, NULL, 0,
  108. "Revision", CN, 0, OP_REVISION, NULL, NULL, 0,
  109. "Arg0", SN, 0, OP_ARG0, NULL, NULL, 0,
  110. "Arg1", SN, 0, OP_ARG1, NULL, NULL, 0,
  111. "Arg2", SN, 0, OP_ARG2, NULL, NULL, 0,
  112. "Arg3", SN, 0, OP_ARG3, NULL, NULL, 0,
  113. "Arg4", SN, 0, OP_ARG4, NULL, NULL, 0,
  114. "Arg5", SN, 0, OP_ARG5, NULL, NULL, 0,
  115. "Arg6", SN, 0, OP_ARG6, NULL, NULL, 0,
  116. "Local0", SN, 0, OP_LOCAL0, NULL, NULL, 0,
  117. "Local1", SN, 0, OP_LOCAL1, NULL, NULL, 0,
  118. "Local2", SN, 0, OP_LOCAL2, NULL, NULL, 0,
  119. "Local3", SN, 0, OP_LOCAL3, NULL, NULL, 0,
  120. "Local4", SN, 0, OP_LOCAL4, NULL, NULL, 0,
  121. "Local5", SN, 0, OP_LOCAL5, NULL, NULL, 0,
  122. "Local6", SN, 0, OP_LOCAL6, NULL, NULL, 0,
  123. "Local7", SN, 0, OP_LOCAL7, NULL, NULL, 0,
  124. "Debug", SN, 0, OP_DEBUG, NULL, NULL, 0,
  125. // Named Terms
  126. "Alias", NS, 0, OP_ALIAS, "NN", "Ua", 0,
  127. "Name", NS, 0, OP_NAME, "NO", "u", 0,
  128. "Scope", NS, 0, OP_SCOPE, "N", "S", OL|LN|CC,
  129. // Data Objects
  130. "Buffer", DO, 0, OP_BUFFER, "C", "U", DL|LN,
  131. "Package", DO, 0, OP_PACKAGE, "B", NULL, PL|LN,
  132. "EISAID", DO, 0, OP_DWORD, NULL, NULL, AF,
  133. // Argument Keywords
  134. "AnyAcc", KW, AANY, OP_NONE, NULL, "A", 0,
  135. "ByteAcc", KW, AB, OP_NONE, NULL, "A", 0,
  136. "WordAcc", KW, AW, OP_NONE, NULL, "A", 0,
  137. "DWordAcc", KW, ADW, OP_NONE, NULL, "A", 0,
  138. "QWordAcc", KW, AQW, OP_NONE, NULL, "A", 0,
  139. "BufferAcc", KW, ABFR, OP_NONE, NULL, "A", 0,
  140. "Lock", KW, LK, OP_NONE, NULL, "B", 0,
  141. "NoLock", KW, NOLK, OP_NONE, NULL, "B", 0,
  142. "Preserve", KW, PSRV, OP_NONE, NULL, "C", 0,
  143. "WriteAsOnes", KW, WA1S, OP_NONE, NULL, "C", 0,
  144. "WriteAsZeros", KW, WA0S, OP_NONE, NULL, "C", 0,
  145. "SystemMemory", KW, MEM, OP_NONE, NULL, "D", 0,
  146. "SystemIO", KW, IO, OP_NONE, NULL, "D", 0,
  147. "PCI_Config", KW, CFG, OP_NONE, NULL, "D", 0,
  148. "EmbeddedControl", KW, EC, OP_NONE, NULL, "D", 0,
  149. "SMBus", KW, SMB, OP_NONE, NULL, "D", 0,
  150. "Serialized", KW, SER, OP_NONE, NULL, "E", 0,
  151. "NotSerialized", KW, NOSER,OP_NONE, NULL, "E", 0,
  152. "MTR", KW, OMTR, OP_NONE, NULL, "F", 0,
  153. "MEQ", KW, OMEQ, OP_NONE, NULL, "F", 0,
  154. "MLE", KW, OMLE, OP_NONE, NULL, "F", 0,
  155. "MLT", KW, OMLT, OP_NONE, NULL, "F", 0,
  156. "MGE", KW, OMGE, OP_NONE, NULL, "F", 0,
  157. "MGT", KW, OMGT, OP_NONE, NULL, "F", 0,
  158. "Edge", KW, _HE, OP_NONE, NULL, "G", 0,
  159. "Level", KW, _LL, OP_NONE, NULL, "G", 0,
  160. "ActiveHigh", KW, _HE, OP_NONE, NULL, "H", 0,
  161. "ActiveLow", KW, _LL, OP_NONE, NULL, "H", 0,
  162. "Shared", KW, _SHR, OP_NONE, NULL, "I", 0,
  163. "Exclusive", KW, _EXC, OP_NONE, NULL, "I", 0,
  164. "Compatibility", KW, COMP, OP_NONE, NULL, "J", 0,
  165. "TypeA", KW, TYPA, OP_NONE, NULL, "J", 0,
  166. "TypeB", KW, TYPB, OP_NONE, NULL, "J", 0,
  167. "TypeF", KW, TYPF, OP_NONE, NULL, "J", 0,
  168. "BusMaster", KW, BM, OP_NONE, NULL, "K", 0,
  169. "NotBusMaster", KW, NOBM, OP_NONE, NULL, "K", 0,
  170. "Transfer8", KW, X8, OP_NONE, NULL, "L", 0,
  171. "Transfer8_16", KW, X816, OP_NONE, NULL, "L", 0,
  172. "Transfer16", KW, X16, OP_NONE, NULL, "L", 0,
  173. "Decode16", KW, DC16, OP_NONE, NULL, "M", 0,
  174. "Decode10", KW, DC10, OP_NONE, NULL, "M", 0,
  175. "ReadWrite", KW, _RW, OP_NONE, NULL, "N", 0,
  176. "ReadOnly", KW, _ROM, OP_NONE, NULL, "N", 0,
  177. "ResourceConsumer", KW, RCS, OP_NONE, NULL, "O", 0,
  178. "ResourceProducer", KW, RPD, OP_NONE, NULL, "O", 0,
  179. "SubDecode", KW, BSD, OP_NONE, NULL, "P", 0,
  180. "PosDecode", KW, BPD, OP_NONE, NULL, "P", 0,
  181. "MinFixed", KW, MIF, OP_NONE, NULL, "Q", 0,
  182. "MinNotFixed", KW, NMIF, OP_NONE, NULL, "Q", 0,
  183. "MaxFixed", KW, MAF, OP_NONE, NULL, "R", 0,
  184. "MaxNotFixed", KW, NMAF, OP_NONE, NULL, "R", 0,
  185. "Cacheable", KW, CACH, OP_NONE, NULL, "S", 0,
  186. "WriteCombining", KW, WRCB, OP_NONE, NULL, "S", 0,
  187. "Prefetchable", KW, PREF, OP_NONE, NULL, "S", 0,
  188. "NonCacheable", KW, NCAC, OP_NONE, NULL, "S", 0,
  189. "ISAOnlyRanges", KW, ISA, OP_NONE, NULL, "T", 0,
  190. "NonISAOnlyRanges", KW, NISA, OP_NONE, NULL, "T", 0,
  191. "EntireRange", KW, ERNG, OP_NONE, NULL, "T", 0,
  192. "ExtEdge", KW, $EDG, OP_NONE, NULL, "U", 0,
  193. "ExtLevel", KW, $LVL, OP_NONE, NULL, "U", 0,
  194. "ExtActiveHigh", KW, $HGH, OP_NONE, NULL, "V", 0,
  195. "ExtActiveLow", KW, $LOW, OP_NONE, NULL, "V", 0,
  196. "ExtShared", KW, $SHR, OP_NONE, NULL, "W", 0,
  197. "ExtExclusive", KW, $EXC, OP_NONE, NULL, "W", 0,
  198. "UnknownObj", KW, UNK, OP_NONE, NULL, "X", 0,
  199. "IntObj", KW, INT, OP_NONE, NULL, "X", 0,
  200. "StrObj", KW, STR, OP_NONE, NULL, "X", 0,
  201. "BuffObj", KW, BUF, OP_NONE, NULL, "X", 0,
  202. "PkgObj", KW, PKG, OP_NONE, NULL, "X", 0,
  203. "FieldUnitObj", KW, FDU, OP_NONE, NULL, "X", 0,
  204. "DeviceObj", KW, DEV, OP_NONE, NULL, "X", 0,
  205. "EventObj", KW, EVT, OP_NONE, NULL, "X", 0,
  206. "MethodObj", KW, MET, OP_NONE, NULL, "X", 0,
  207. "MutexObj", KW, MUT, OP_NONE, NULL, "X", 0,
  208. "OpRegionObj", KW, OPR, OP_NONE, NULL, "X", 0,
  209. "PowerResObj", KW, PWR, OP_NONE, NULL, "X", 0,
  210. "ThermalZoneObj", KW, THM, OP_NONE, NULL, "X", 0,
  211. "BuffFieldObj", KW, BFD, OP_NONE, NULL, "X", 0,
  212. "DDBHandleObj", KW, DDB, OP_NONE, NULL, "X", 0,
  213. "SMBQuick", KW, SMBQ, OP_NONE, NULL, "Y", 0,
  214. "SMBSendReceive", KW, SMBS, OP_NONE, NULL, "Y", 0,
  215. "SMBByte", KW, SMBB, OP_NONE, NULL, "Y", 0,
  216. "SMBWord", KW, SMBW, OP_NONE, NULL, "Y", 0,
  217. "SMBBlock", KW, SMBK, OP_NONE, NULL, "Y", 0,
  218. "SMBProcessCall", KW, SMBP, OP_NONE, NULL, "Y", 0,
  219. "SMBBlockProcessCall", KW, SMBC, OP_NONE, NULL, "Y", 0,
  220. // Field Macros
  221. "Offset", FM, 0, OP_NONE, NULL, NULL, 0,
  222. "AccessAs", FM, 0, 0x01, NULL, "A", AF,
  223. // Named Object Creators
  224. "BankField", NO, 0, OP_BANKFIELD, "NNCKkk","OFUABC", FL|FM|LN|AF,
  225. "CreateBitField", NO, 0, OP_BITFIELD, "CCN", "UUb", 0,
  226. "CreateByteField", NO, 0, OP_BYTEFIELD, "CCN", "UUb", 0,
  227. "CreateDWordField", NO, 0, OP_DWORDFIELD, "CCN", "UUb", 0,
  228. "CreateField", NO, 0, OP_CREATEFIELD, "CCCN", "UUUb", 0,
  229. "CreateWordField", NO, 0, OP_WORDFIELD, "CCN", "UUb", 0,
  230. "Device", NO, 0, OP_DEVICE, "N", "d", OL|LN|CC,
  231. "Event", NO, 0, OP_EVENT, "N", "e", 0,
  232. "Field", NO, 0, OP_FIELD, "NKkk", "OABC", FL|FM|LN|AF,
  233. "IndexField", NO, 0, OP_IDXFIELD, "NNKkk", "FFABC", FL|FM|LN|AF,
  234. "Method", NO, 0, OP_METHOD, "NKk", "m!E", CL|OL|LN|AF|CC,
  235. "Mutex", NO, 0, OP_MUTEX, "NB", "x", 0,
  236. "OperationRegion", NO, 0, OP_OPREGION, "NKCC", "oDUU", AF,
  237. "PowerResource", NO, 0, OP_POWERRES, "NBW", "p", OL|LN|CC,
  238. "Processor", NO, 0, OP_PROCESSOR, "NBDB", "c", OL|LN|CC,
  239. "ThermalZone", NO, 0, OP_THERMALZONE, "N", "t", OL|LN|CC,
  240. // Type 1 Opcode Terms
  241. "Break", C1, 0, OP_BREAK, NULL, NULL, 0,
  242. "BreakPoint", C1, 0, OP_BREAKPOINT, NULL, NULL, 0,
  243. "Else", C1, 0, OP_ELSE, NULL, NULL, AF|CL|OL|LN,
  244. "Fatal", C1, 0, OP_FATAL, "BDC", " U", 0,
  245. "If", C1, 0, OP_IF, "C", "U", CL|OL|LN,
  246. "Load", C1, 0, OP_LOAD, "NS", "UU", 0,
  247. "Noop", C1, 0, OP_NOP, NULL, NULL, 0,
  248. "Notify", C1, 0, OP_NOTIFY, "SC", "UU", 0,
  249. "Release", C1, 0, OP_RELEASE, "S", "X", 0,
  250. "Reset", C1, 0, OP_RESET, "S", "E", 0,
  251. "Return", C1, 0, OP_RETURN, "C", "U", 0,
  252. "Signal", C1, 0, OP_SIGNAL, "S", "E", 0,
  253. "Sleep", C1, 0, OP_SLEEP, "C", "U", 0,
  254. "Stall", C1, 0, OP_STALL, "C", "U", 0,
  255. "Unload", C1, 0, OP_UNLOAD, "S", "U", 0,
  256. "While", C1, 0, OP_WHILE, "C", "U", CL|OL|LN,
  257. // Type 2 Opcode Terms
  258. "Acquire", C2, 0, OP_ACQUIRE, "SW", "X", 0,
  259. "Add", C2, 0, OP_ADD, "CCS", "UUU", 0,
  260. "And", C2, 0, OP_AND, "CCS", "UUU", 0,
  261. "Concatenate", C2, 0, OP_CONCAT, "CCS", "UUU", 0,
  262. "CondRefOf", C2, 0, OP_CONDREFOF, "SS", "UU", 0,
  263. "Decrement", C2, 0, OP_DECREMENT, "S", "U", 0,
  264. "DerefOf", C2, 0, OP_DEREFOF, "C", "U", 0,
  265. "Divide", C2, 0, OP_DIVIDE, "CCSS", "UUUU", 0,
  266. "FindSetLeftBit", C2, 0, OP_FINDSETLBIT, "CS", "UU", 0,
  267. "FindSetRightBit", C2, 0, OP_FINDSETRBIT, "CS", "UU", 0,
  268. "FromBCD", C2, 0, OP_FROMBCD, "CS", "UU", 0,
  269. "Increment", C2, 0, OP_INCREMENT, "S", "U", 0,
  270. "Index", RO|C2, 0, OP_INDEX, "CCS", "UUU", 0,
  271. "LAnd", C2, 0, OP_LAND, "CC", "UU", 0,
  272. "LEqual", C2, 0, OP_LEQ, "CC", "UU", 0,
  273. "LGreater", C2, 0, OP_LG, "CC", "UU", 0,
  274. "LGreaterEqual", C2, 0, OP_LGEQ, "CC", "UU", 0,
  275. "LLess", C2, 0, OP_LL, "CC", "UU", 0,
  276. "LLessEqual", C2, 0, OP_LLEQ, "CC", "UU", 0,
  277. "LNot", C2, 0, OP_LNOT, "C", "U", 0,
  278. "LNotEqual", C2, 0, OP_LNOTEQ, "CC", "UU", 0,
  279. "LOr", C2, 0, OP_LOR, "CC", "UU", 0,
  280. "Match", C2, 0, OP_MATCH, "CKCKCC", "UFUFUU", AF,
  281. "Multiply", C2, 0, OP_MULTIPLY, "CCS", "UUU", 0,
  282. "NAnd", C2, 0, OP_NAND, "CCS", "UUU", 0,
  283. "NOr", C2, 0, OP_NOR, "CCS", "UUU", 0,
  284. "Not", C2, 0, OP_NOT, "CS", "UU", 0,
  285. "ObjectType", C2, 0, OP_OBJTYPE, "S", "U", 0,
  286. "Or", C2, 0, OP_OR, "CCS", "UUU", 0,
  287. "RefOf", C2, 0, OP_REFOF, "S", "U", 0,
  288. "ShiftLeft", C2, 0, OP_SHIFTL, "CCS", "UUU", 0,
  289. "ShiftRight", C2, 0, OP_SHIFTR, "CCS", "UUU", 0,
  290. "SizeOf", C2, 0, OP_SIZEOF, "S", "U", 0,
  291. "Store", C2, 0, OP_STORE, "CS", "UU", 0,
  292. "Subtract", C2, 0, OP_SUBTRACT, "CCS", "UUU", 0,
  293. "ToBCD", C2, 0, OP_TOBCD, "CS", "UU", 0,
  294. "Wait", C2, 0, OP_WAIT, "SC", "E", 0,
  295. "XOr", C2, 0, OP_XOR, "CCS", "UUU", 0,
  296. "OSI", C2, 0, OP_OSI, "S", "U", 0,
  297. NULL, 0, 0, OP_NONE, NULL, NULL, 0
  298. };
  299. #define INVALID OPCLASS_INVALID
  300. #define DATAOBJ OPCLASS_DATA_OBJ
  301. #define NAMEOBJ OPCLASS_NAME_OBJ
  302. #define CONSTOBJ OPCLASS_CONST_OBJ
  303. #define CODEOBJ OPCLASS_CODE_OBJ
  304. #define ARGOBJ OPCLASS_ARG_OBJ
  305. #define LOCALOBJ OPCLASS_LOCAL_OBJ
  306. UCHAR OpClassTable[256] =
  307. { //0x00 0x01 0x02 0x03
  308. CONSTOBJ, CONSTOBJ, INVALID, INVALID,
  309. //0x04 0x05 0x06 0x07
  310. INVALID, INVALID, CODEOBJ, INVALID,
  311. //0x08 0x09 0x0a 0x0b
  312. CODEOBJ, INVALID, DATAOBJ, DATAOBJ,
  313. //0x0c 0x0d 0x0e 0x0f
  314. DATAOBJ, DATAOBJ, INVALID, INVALID,
  315. //0x10 0x11 0x12 0x13
  316. CODEOBJ, CODEOBJ, CODEOBJ, INVALID,
  317. //0x14 0x15 0x16 0x17
  318. CODEOBJ, INVALID, INVALID, INVALID,
  319. //0x18 0x19 0x1a 0x1b
  320. INVALID, INVALID, INVALID, INVALID,
  321. //0x1c 0x1d 0x1e 0x1f
  322. INVALID, INVALID, INVALID, INVALID,
  323. //0x20 0x21 0x22 0x23
  324. INVALID, INVALID, INVALID, INVALID,
  325. //0x24 0x25 0x26 0x27
  326. INVALID, INVALID, INVALID, INVALID,
  327. //0x28 0x29 0x2a 0x2b
  328. INVALID, INVALID, INVALID, INVALID,
  329. //0x2c 0x2d 0x2e 0x2f
  330. INVALID, INVALID, NAMEOBJ, NAMEOBJ,
  331. //0x30 0x31 0x32 0x33
  332. INVALID, INVALID, INVALID, INVALID,
  333. //0x34 0x35 0x36 0x37
  334. INVALID, INVALID, INVALID, INVALID,
  335. //0x38 0x39 0x3a 0x3b
  336. INVALID, INVALID, INVALID, INVALID,
  337. //0x3c 0x3d 0x3e 0x3f
  338. INVALID, INVALID, INVALID, INVALID,
  339. //0x40 0x41 0x42 0x43
  340. INVALID, NAMEOBJ, NAMEOBJ, NAMEOBJ,
  341. //0x44 0x45 0x46 0x47
  342. NAMEOBJ, NAMEOBJ, NAMEOBJ, NAMEOBJ,
  343. //0x48 0x49 0x4a 0x4b
  344. NAMEOBJ, NAMEOBJ, NAMEOBJ, NAMEOBJ,
  345. //0x4c 0x4d 0x4e 0x4f
  346. NAMEOBJ, NAMEOBJ, NAMEOBJ, NAMEOBJ,
  347. //0x50 0x51 0x52 0x53
  348. NAMEOBJ, NAMEOBJ, NAMEOBJ, NAMEOBJ,
  349. //0x54 0x55 0x56 0x57
  350. NAMEOBJ, NAMEOBJ, NAMEOBJ, NAMEOBJ,
  351. //0x58 0x59 0x5a 0x5b
  352. NAMEOBJ, NAMEOBJ, NAMEOBJ, INVALID,
  353. //0x5c 0x5d 0x5e 0x5f
  354. NAMEOBJ, INVALID, NAMEOBJ, NAMEOBJ,
  355. //0x60 0x61 0x62 0x63
  356. LOCALOBJ, LOCALOBJ, LOCALOBJ, LOCALOBJ,
  357. //0x64 0x65 0x66 0x67
  358. LOCALOBJ, LOCALOBJ, LOCALOBJ, LOCALOBJ,
  359. //0x68 0x69 0x6a 0x6b
  360. ARGOBJ, ARGOBJ, ARGOBJ, ARGOBJ,
  361. //0x6c 0x6d 0x6e 0x6f
  362. ARGOBJ, ARGOBJ, ARGOBJ, INVALID,
  363. //0x70 0x71 0x72 0x73
  364. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  365. //0x74 0x75 0x76 0x77
  366. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  367. //0x78 0x79 0x7a 0x7b
  368. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  369. //0x7c 0x7d 0x7e 0x7f
  370. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  371. //0x80 0x81 0x82 0x83
  372. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  373. //0x84 0x85 0x86 0x87
  374. INVALID, INVALID, CODEOBJ, CODEOBJ,
  375. //0x88 0x89 0x8a 0x8b
  376. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  377. //0x8c 0x8d 0x8e 0x8f
  378. CODEOBJ, CODEOBJ, CODEOBJ, INVALID,
  379. //0x90 0x91 0x92 0x93
  380. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  381. //0x94 0x95 0x96 0x97
  382. CODEOBJ, CODEOBJ, INVALID, INVALID,
  383. //0x98 0x99 0x9a 0x9b
  384. INVALID, INVALID, INVALID, INVALID,
  385. //0x9c 0x9d 0x9e 0x9f
  386. INVALID, INVALID, INVALID, INVALID,
  387. //0xa0 0xa1 0xa2 0xa3
  388. CODEOBJ, CODEOBJ, CODEOBJ, CODEOBJ,
  389. //0xa4 0xa5 0xa6 0xa7
  390. CODEOBJ, CODEOBJ, INVALID, INVALID,
  391. //0xa8 0xa9 0xaa 0xab
  392. INVALID, INVALID, INVALID, INVALID,
  393. //0xac 0xad 0xae 0xaf
  394. INVALID, INVALID, INVALID, INVALID,
  395. //0xb0 0xb1 0xb2 0xb3
  396. INVALID, INVALID, INVALID, INVALID,
  397. //0xb4 0xb5 0xb6 0xb7
  398. INVALID, INVALID, INVALID, INVALID,
  399. //0xb8 0xb9 0xba 0xbb
  400. INVALID, INVALID, INVALID, INVALID,
  401. //0xbc 0xbd 0xbe 0xbf
  402. INVALID, INVALID, INVALID, INVALID,
  403. //0xc0 0xc1 0xc2 0xc3
  404. INVALID, INVALID, INVALID, INVALID,
  405. //0xc4 0xc5 0xc6 0xc7
  406. INVALID, INVALID, INVALID, INVALID,
  407. //0xc8 0xc9 0xca 0xcb
  408. INVALID, INVALID, CODEOBJ, INVALID,
  409. //0xcc 0xcd 0xce 0xcf
  410. CODEOBJ, INVALID, INVALID, INVALID,
  411. //0xd0 0xd1 0xd2 0xd3
  412. INVALID, INVALID, INVALID, INVALID,
  413. //0xd4 0xd5 0xd6 0xd7
  414. INVALID, INVALID, INVALID, INVALID,
  415. //0xd8 0xd9 0xda 0xdb
  416. INVALID, INVALID, INVALID, INVALID,
  417. //0xdc 0xdd 0xde 0xdf
  418. INVALID, INVALID, INVALID, INVALID,
  419. //0xe0 0xe1 0xe2 0xe3
  420. INVALID, INVALID, INVALID, INVALID,
  421. //0xe4 0xe5 0xe6 0xe7
  422. INVALID, INVALID, INVALID, INVALID,
  423. //0xe8 0xe9 0xea 0xeb
  424. INVALID, INVALID, INVALID, INVALID,
  425. //0xec 0xed 0xee 0xef
  426. INVALID, INVALID, INVALID, INVALID,
  427. //0xf0 0xf1 0xf2 0xf3
  428. INVALID, INVALID, INVALID, INVALID,
  429. //0xf4 0xf5 0xf6 0xf7
  430. INVALID, INVALID, INVALID, INVALID,
  431. //0xf8 0xf9 0xfa 0xfb
  432. INVALID, INVALID, INVALID, INVALID,
  433. //0xfc 0xfd 0xfe 0xff
  434. INVALID, INVALID, INVALID, CONSTOBJ
  435. };
  436. OPMAP ExOpClassTable[] =
  437. {
  438. EXOP_MUTEX, CODEOBJ,
  439. EXOP_EVENT, CODEOBJ,
  440. EXOP_CONDREFOF, CODEOBJ,
  441. EXOP_CREATEFIELD, CODEOBJ,
  442. EXOP_LOAD, CODEOBJ,
  443. EXOP_STALL, CODEOBJ,
  444. EXOP_SLEEP, CODEOBJ,
  445. EXOP_ACQUIRE, CODEOBJ,
  446. EXOP_SIGNAL, CODEOBJ,
  447. EXOP_WAIT, CODEOBJ,
  448. EXOP_RESET, CODEOBJ,
  449. EXOP_RELEASE, CODEOBJ,
  450. EXOP_FROMBCD, CODEOBJ,
  451. EXOP_TOBCD, CODEOBJ,
  452. EXOP_UNLOAD, CODEOBJ,
  453. EXOP_REVISION, CODEOBJ,
  454. EXOP_DEBUG, CODEOBJ,
  455. EXOP_FATAL, CODEOBJ,
  456. EXOP_OPREGION, CODEOBJ,
  457. EXOP_FIELD, CODEOBJ,
  458. EXOP_DEVICE, CODEOBJ,
  459. EXOP_PROCESSOR, CODEOBJ,
  460. EXOP_POWERRES, CODEOBJ,
  461. EXOP_THERMALZONE, CODEOBJ,
  462. EXOP_IDXFIELD, CODEOBJ,
  463. EXOP_BANKFIELD, CODEOBJ,
  464. 0, 0
  465. };
  466. #endif //ifdef DEBUGGER