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.

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