gem5  v22.0.0.2
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 

Definition at line 174 of file semihosting.hh.

Member Function Documentation

◆ read()

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

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 

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 Thu Jul 28 2022 13:32:57 for gem5 by doxygen 1.8.17