gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 50 of file emulenv.hh.

Constructor & Destructor Documentation

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

Definition at line 62 of file emulenv.hh.

Member Function Documentation

void EmulEnv::doModRM ( const ExtMachInst machInst)
void EmulEnv::setSeg ( const ExtMachInst machInst)

Definition at line 115 of file emulenv.cc.

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

Member Data Documentation

int X86ISA::EmulEnv::addressSize

Definition at line 59 of file emulenv.hh.

RegIndex X86ISA::EmulEnv::base

Definition at line 57 of file emulenv.hh.

Referenced by doModRM().

int X86ISA::EmulEnv::dataSize

Definition at line 58 of file emulenv.hh.

RegIndex X86ISA::EmulEnv::index

Definition at line 56 of file emulenv.hh.

Referenced by doModRM().

RegIndex X86ISA::EmulEnv::reg

Definition at line 52 of file emulenv.hh.

RegIndex X86ISA::EmulEnv::regm

Definition at line 53 of file emulenv.hh.

uint8_t X86ISA::EmulEnv::scale

Definition at line 55 of file emulenv.hh.

Referenced by doModRM().

SegmentRegIndex X86ISA::EmulEnv::seg

Definition at line 54 of file emulenv.hh.

Referenced by doModRM(), and setSeg().

int X86ISA::EmulEnv::stackSize

Definition at line 60 of file emulenv.hh.


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

Generated on Fri Jun 9 2017 13:04:41 for gem5 by doxygen 1.8.6