gem5
v20.1.0.0
|
#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 |
Definition at line 48 of file emulenv.hh.
|
inline |
Definition at line 60 of file emulenv.hh.
void EmulEnv::doModRM | ( | const ExtMachInst & | machInst | ) |
Definition at line 46 of file emulenv.cc.
References X86ISA::ExtMachInst::addrSize, base, X86ISA::ExtMachInst::dispSize, index, X86ISA::ExtMachInst::legacy, X86ISA::ExtMachInst::modRM, ArmISA::NUM_INTREGS, X86ISA::ExtMachInst::rex, X86ISA::rm, scale, seg, X86ISA::SEGMENT_REG_DS, X86ISA::SEGMENT_REG_SS, and X86ISA::ExtMachInst::sib.
void EmulEnv::setSeg | ( | const ExtMachInst & | machInst | ) |
Definition at line 113 of file emulenv.cc.
References X86ISA::ExtMachInst::legacy, seg, and X86ISA::SEGMENT_REG_DS.
int X86ISA::EmulEnv::addressSize |
Definition at line 57 of file emulenv.hh.
RegIndex X86ISA::EmulEnv::base |
Definition at line 55 of file emulenv.hh.
Referenced by doModRM().
int X86ISA::EmulEnv::dataSize |
Definition at line 56 of file emulenv.hh.
RegIndex X86ISA::EmulEnv::index |
Definition at line 54 of file emulenv.hh.
Referenced by doModRM().
RegIndex X86ISA::EmulEnv::reg |
Definition at line 50 of file emulenv.hh.
RegIndex X86ISA::EmulEnv::regm |
Definition at line 51 of file emulenv.hh.
uint8_t X86ISA::EmulEnv::scale |
Definition at line 53 of file emulenv.hh.
Referenced by doModRM().
SegmentRegIndex X86ISA::EmulEnv::seg |
Definition at line 52 of file emulenv.hh.
int X86ISA::EmulEnv::stackSize |
Definition at line 58 of file emulenv.hh.