gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::BaseSemihosting::InPlaceArg Struct Reference

#include <semihosting.hh>

Public Member Functions

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

Public Attributes

Addr addr
 
size_t size
 

Detailed Description

Definition at line 136 of file semihosting.hh.

Constructor & Destructor Documentation

◆ InPlaceArg()

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

Definition at line 141 of file semihosting.hh.

Member Function Documentation

◆ read()

uint64_t gem5::BaseSemihosting::InPlaceArg::read ( ThreadContext * tc,
PortProxy & proxy,
ByteOrder endian )
inline

Definition at line 146 of file semihosting.hh.

References addr, panic, gem5::PortProxy::read(), and size.

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

◆ write()

void gem5::BaseSemihosting::InPlaceArg::write ( ThreadContext * tc,
PortProxy & proxy,
uint64_t val,
ByteOrder endian )
inline

Member Data Documentation

◆ addr

◆ size

size_t gem5::BaseSemihosting::InPlaceArg::size

Definition at line 139 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 Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0