TianoCore EDK2 master
Loading...
Searching...
No Matches
InstructionParsing.h File Reference
#include <Base.h>
#include <Uefi.h>

Go to the source code of this file.

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

Definition in file InstructionParsing.h.

Macro Definition Documentation

◆ LOCK_PREFIX

#define LOCK_PREFIX   0xF0

Definition at line 67 of file InstructionParsing.h.

◆ OVERRIDE_ADDRESS_SIZE

#define OVERRIDE_ADDRESS_SIZE   0x67

Definition at line 66 of file InstructionParsing.h.

◆ OVERRIDE_OPERAND_SIZE

#define OVERRIDE_OPERAND_SIZE   0x66

Definition at line 65 of file InstructionParsing.h.

◆ OVERRIDE_SEGMENT_CS

#define OVERRIDE_SEGMENT_CS   0x2E

Definition at line 59 of file InstructionParsing.h.

◆ OVERRIDE_SEGMENT_DS

#define OVERRIDE_SEGMENT_DS   0x3E

Definition at line 60 of file InstructionParsing.h.

◆ OVERRIDE_SEGMENT_ES

#define OVERRIDE_SEGMENT_ES   0x26

Definition at line 61 of file InstructionParsing.h.

◆ OVERRIDE_SEGMENT_FS

#define OVERRIDE_SEGMENT_FS   0x64

Definition at line 63 of file InstructionParsing.h.

◆ OVERRIDE_SEGMENT_GS

#define OVERRIDE_SEGMENT_GS   0x65

Definition at line 64 of file InstructionParsing.h.

◆ OVERRIDE_SEGMENT_SS

#define OVERRIDE_SEGMENT_SS   0x36

Definition at line 62 of file InstructionParsing.h.

◆ REPNZ_PREFIX

#define REPNZ_PREFIX   0xF2

Definition at line 68 of file InstructionParsing.h.

◆ REPZ_PREFIX

#define REPZ_PREFIX   0xF3

Definition at line 69 of file InstructionParsing.h.

◆ REX_64BIT_OPERAND_SIZE_MASK

#define REX_64BIT_OPERAND_SIZE_MASK   0x08

Definition at line 76 of file InstructionParsing.h.

◆ REX_PREFIX_START

#define REX_PREFIX_START   0x40

Definition at line 74 of file InstructionParsing.h.

◆ REX_PREFIX_STOP

#define REX_PREFIX_STOP   0x4F

Definition at line 75 of file InstructionParsing.h.

◆ TWO_BYTE_OPCODE_ESCAPE

#define TWO_BYTE_OPCODE_ESCAPE   0x0F

Definition at line 81 of file InstructionParsing.h.