gem5  v21.2.0.0
Public Member Functions | Public Attributes | List of all members
gem5::ArmSemihosting::InPlaceArg Struct Reference

#include <semihosting.hh>

Public Member Functions

 InPlaceArg (Addr _addr, size_t _size)
 
uint64_t read (ThreadContext *tc, ByteOrder endian)
 
void write (ThreadContext *tc, uint64_t val, ByteOrder endian)
 

Public Attributes

Addr addr
 
size_t size
 

Detailed Description

Definition at line 169 of file semihosting.hh.

Constructor & Destructor Documentation

◆ InPlaceArg()

gem5::ArmSemihosting::InPlaceArg::InPlaceArg ( Addr  _addr,
size_t  _size 
)
inline

Definition at line 174 of file semihosting.hh.

Member Function Documentation

◆ read()

uint64_t gem5::ArmSemihosting::InPlaceArg::read ( ThreadContext tc,
ByteOrder  endian 
)
inline

Definition at line 179 of file semihosting.hh.

References addr, panic, gem5::ArmSemihosting::portProxy(), and size.

Referenced by gem5::ArmSemihosting::callGetCmdLine().

◆ write()

void gem5::ArmSemihosting::InPlaceArg::write ( ThreadContext tc,
uint64_t  val,
ByteOrder  endian 
)
inline

Member Data Documentation

◆ addr

Addr gem5::ArmSemihosting::InPlaceArg::addr

◆ size

size_t gem5::ArmSemihosting::InPlaceArg::size

Definition at line 172 of file semihosting.hh.

Referenced by gem5::operator<<(), read(), and write().


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

Generated on Tue Dec 21 2021 11:34:55 for gem5 by doxygen 1.8.17