OvmfPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
InstructionParsing.h File Reference

Data Structures

union  INSTRUCTION_REX_PREFIX
 
union  INSTRUCTION_MODRM
 
union  INSTRUCTION_SIB
 

Macros

#define OVERRIDE_SEGMENT_CS   0x2E
 
#define OVERRIDE_SEGMENT_DS   0x3E
 
#define OVERRIDE_SEGMENT_ES   0x26
 
#define OVERRIDE_SEGMENT_SS   0x36
 
#define OVERRIDE_SEGMENT_FS   0x64
 
#define OVERRIDE_SEGMENT_GS   0x65
 
#define OVERRIDE_OPERAND_SIZE   0x66
 
#define OVERRIDE_ADDRESS_SIZE   0x67
 
#define LOCK_PREFIX   0xF0
 
#define REPNZ_PREFIX   0xF2
 
#define REPZ_PREFIX   0xF3
 
#define REX_PREFIX_START   0x40
 
#define REX_PREFIX_STOP   0x4F
 
#define REX_64BIT_OPERAND_SIZE_MASK   0x08
 
#define TWO_BYTE_OPCODE_ESCAPE   0x0F
 

Detailed Description

Instruction parsing support definitions.

Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Macro Definition Documentation

#define LOCK_PREFIX   0xF0
#define OVERRIDE_ADDRESS_SIZE   0x67
#define OVERRIDE_OPERAND_SIZE   0x66
#define OVERRIDE_SEGMENT_CS   0x2E
#define OVERRIDE_SEGMENT_DS   0x3E
#define OVERRIDE_SEGMENT_ES   0x26
#define OVERRIDE_SEGMENT_FS   0x64
#define OVERRIDE_SEGMENT_GS   0x65
#define OVERRIDE_SEGMENT_SS   0x36
#define REPNZ_PREFIX   0xF2
#define REPZ_PREFIX   0xF3
#define REX_64BIT_OPERAND_SIZE_MASK   0x08
#define REX_PREFIX_START   0x40
#define REX_PREFIX_STOP   0x4F
#define TWO_BYTE_OPCODE_ESCAPE   0x0F