/* Look for an OpCode/SubOpCode couple in the AML grammar, and return a corresponding string. */
CONST CHAR8* AmlGetOpCodeStr(IN UINT8 OpCode, IN UINT8 SubOpCode)
/* Look for an OpCode/SubOpCode couple in the AML grammar, and return a corresponding string. */
CONST CHAR8* AmlGetOpCodeStr(IN UINT8 OpCode, IN UINT8 SubOpCode)
{
  EAML_PARSE_INDEX  Index;
  for (Index = 0;
       Index < (sizeof (mAmlByteEncoding) / sizeof (mAmlByteEncoding[0]));
       Index++)
  {
    if ((mAmlByteEncoding[Index].OpCode == OpCode) &&
        (mAmlByteEncoding[Index].SubOpCode == SubOpCode))
    {
      return mAmlByteEncoding[Index].Str;
    }
  }
  ASSERT (0);
  return NULL;
}