gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl > Class Template Reference

#include <semihosting.hh>

Inheritance diagram for gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >:
gem5::ArmSemihosting::Abi32::State gem5::ArmSemihosting::Abi64::State gem5::RiscvSemihosting::RiscvSemihostingAbi< ArgType >::State gem5::SemiPseudoAbi32::State gem5::SemiPseudoAbi64::State

Public Types

using ArgType = Arg

Public Member Functions

 StateBase (const ThreadContext *tc, Addr arg_pointer, std::function< ByteOrder(const ThreadContext *tc)> getByteOrder)
Addr getAddr ()
Arg get (ThreadContext *tc)

Private Attributes

Addr argPointer
ByteOrder endian

Detailed Description

template<typename Arg, class BaseSemihostingImpl>
class gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >

Definition at line 89 of file semihosting.hh.

Member Typedef Documentation

◆ ArgType

template<typename Arg, class BaseSemihostingImpl>
using gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >::ArgType = Arg

Definition at line 129 of file semihosting.hh.

Constructor & Destructor Documentation

◆ StateBase()

template<typename Arg, class BaseSemihostingImpl>
gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >::StateBase ( const ThreadContext * tc,
Addr arg_pointer,
std::function< ByteOrder(const ThreadContext *tc)> getByteOrder )
inline

Member Function Documentation

◆ get()

◆ getAddr()

template<typename Arg, class BaseSemihostingImpl>
Addr gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >::getAddr ( )
inline

Member Data Documentation

◆ argPointer

template<typename Arg, class BaseSemihostingImpl>
Addr gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >::argPointer
private

Definition at line 92 of file semihosting.hh.

Referenced by get(), getAddr(), and StateBase().

◆ endian

template<typename Arg, class BaseSemihostingImpl>
ByteOrder gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >::endian
private

Definition at line 93 of file semihosting.hh.

Referenced by get(), and StateBase().


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

Generated on Sat Oct 18 2025 08:06:49 for gem5 by doxygen 1.14.0