gem5 v24.1.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gem5::pseudo_inst::GuestAddr Struct Reference

This struct wrapper for Addr enables m5ops for systems with 32 bit pointer, since it allows to distinguish between address arguments and native C++ types. More...

#include <pseudo_inst.hh>

Public Member Functions

 GuestAddr (Addr _addr)
 Constructor is necessary to cast from uint64_t to GuestAddr.
 

Public Attributes

Addr addr
 

Detailed Description

This struct wrapper for Addr enables m5ops for systems with 32 bit pointer, since it allows to distinguish between address arguments and native C++ types.

GuestAddr is only a temporary solution and will likely replaced in the future.

Definition at line 73 of file pseudo_inst.hh.

Constructor & Destructor Documentation

◆ GuestAddr()

gem5::pseudo_inst::GuestAddr::GuestAddr ( Addr  _addr)
inline

Constructor is necessary to cast from uint64_t to GuestAddr.

Definition at line 77 of file pseudo_inst.hh.

Member Data Documentation

◆ addr

Addr gem5::pseudo_inst::GuestAddr::addr

Definition at line 75 of file pseudo_inst.hh.

Referenced by gem5::pseudo_inst::addsymbol(), and gem5::pseudo_inst::writefile().


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

Generated on Mon Jan 13 2025 04:29:10 for gem5 by doxygen 1.9.8