gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::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

◆ EmulEnv()

gem5::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

◆ doModRM()

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

◆ setSeg()

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

Definition at line 116 of file emulenv.cc.

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

Member Data Documentation

◆ addressSize

int gem5::X86ISA::EmulEnv::addressSize

Definition at line 59 of file emulenv.hh.

◆ base

RegIndex gem5::X86ISA::EmulEnv::base

Definition at line 57 of file emulenv.hh.

Referenced by doModRM().

◆ dataSize

int gem5::X86ISA::EmulEnv::dataSize

Definition at line 58 of file emulenv.hh.

◆ index

RegIndex gem5::X86ISA::EmulEnv::index

Definition at line 56 of file emulenv.hh.

Referenced by doModRM().

◆ reg

RegIndex gem5::X86ISA::EmulEnv::reg

Definition at line 52 of file emulenv.hh.

◆ regm

RegIndex gem5::X86ISA::EmulEnv::regm

Definition at line 53 of file emulenv.hh.

◆ scale

uint8_t gem5::X86ISA::EmulEnv::scale

Definition at line 55 of file emulenv.hh.

Referenced by doModRM().

◆ seg

SegmentRegIndex gem5::X86ISA::EmulEnv::seg

Definition at line 54 of file emulenv.hh.

Referenced by doModRM(), and setSeg().

◆ stackSize

int gem5::X86ISA::EmulEnv::stackSize

Definition at line 60 of file emulenv.hh.


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

Generated on Tue Sep 21 2021 12:34:57 for gem5 by doxygen 1.8.17