gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
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 161 of file semihosting.hh.

Constructor & Destructor Documentation

◆ InPlaceArg()

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

Definition at line 166 of file semihosting.hh.

Member Function Documentation

◆ read()

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

Definition at line 171 of file semihosting.hh.

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

Referenced by ArmSemihosting::callGetCmdLine().

◆ write()

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

Member Data Documentation

◆ addr

Addr ArmSemihosting::InPlaceArg::addr

◆ size

size_t ArmSemihosting::InPlaceArg::size

Definition at line 164 of file semihosting.hh.

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


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

Generated on Wed Sep 30 2020 14:02:20 for gem5 by doxygen 1.8.17