gem5 v24.0.0.0
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

Definition at line 96 of file semihosting.hh.

Member Function Documentation

◆ get()

template<typename Arg , class BaseSemihostingImpl >
Arg gem5::BaseSemihosting::AbiBase::StateBase< Arg, BaseSemihostingImpl >::get ( ThreadContext * tc)
inline

◆ 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

◆ endian

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

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

Generated on Tue Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0