gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
X86ISA::EmulEnv Struct Reference

#include <emulenv.hh>

Public Member Functions

 EmulEnv (RegIndex _reg, RegIndex _regm, int _dataSize, int _addressSize, int _stackSize)
 
void doModRM (const ExtMachInst &machInst)
 
void setSeg (const ExtMachInst &machInst)
 

Public Attributes

RegIndex reg
 
RegIndex regm
 
SegmentRegIndex seg
 
uint8_t scale
 
RegIndex index
 
RegIndex base
 
int dataSize
 
int addressSize
 
int stackSize
 

Detailed Description

Definition at line 48 of file emulenv.hh.

Constructor & Destructor Documentation

◆ EmulEnv()

X86ISA::EmulEnv::EmulEnv ( RegIndex  _reg,
RegIndex  _regm,
int  _dataSize,
int  _addressSize,
int  _stackSize 
)
inline

Definition at line 60 of file emulenv.hh.

Member Function Documentation

◆ doModRM()

void EmulEnv::doModRM ( const ExtMachInst machInst)

◆ setSeg()

void EmulEnv::setSeg ( const ExtMachInst machInst)

Definition at line 113 of file emulenv.cc.

References X86ISA::ExtMachInst::legacy, seg, and X86ISA::SEGMENT_REG_DS.

Member Data Documentation

◆ addressSize

int X86ISA::EmulEnv::addressSize

Definition at line 57 of file emulenv.hh.

◆ base

RegIndex X86ISA::EmulEnv::base

Definition at line 55 of file emulenv.hh.

Referenced by doModRM().

◆ dataSize

int X86ISA::EmulEnv::dataSize

Definition at line 56 of file emulenv.hh.

◆ index

RegIndex X86ISA::EmulEnv::index

Definition at line 54 of file emulenv.hh.

Referenced by doModRM().

◆ reg

RegIndex X86ISA::EmulEnv::reg

Definition at line 50 of file emulenv.hh.

◆ regm

RegIndex X86ISA::EmulEnv::regm

Definition at line 51 of file emulenv.hh.

◆ scale

uint8_t X86ISA::EmulEnv::scale

Definition at line 53 of file emulenv.hh.

Referenced by doModRM().

◆ seg

SegmentRegIndex X86ISA::EmulEnv::seg

Definition at line 52 of file emulenv.hh.

Referenced by doModRM(), and setSeg().

◆ stackSize

int X86ISA::EmulEnv::stackSize

Definition at line 58 of file emulenv.hh.


The documentation for this struct was generated from the following files:

Generated on Wed Sep 30 2020 14:03:14 for gem5 by doxygen 1.8.17