gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
 
int seg
 
uint8_t scale
 
RegId index
 
RegId 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 117 of file emulenv.cc.

References gem5::X86ISA::segment_idx::Ds, gem5::X86ISA::ExtMachInst::legacy, and seg.

Member Data Documentation

◆ addressSize

int gem5::X86ISA::EmulEnv::addressSize

Definition at line 59 of file emulenv.hh.

◆ base

RegId 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

RegId 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

int 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 Sun Jul 30 2023 01:58:22 for gem5 by doxygen 1.8.17