gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::AtagHeader Class Referenceabstract

#include <atag.hh>

Inheritance diagram for gem5::AtagHeader:
gem5::AtagCmdline gem5::AtagCore gem5::AtagMem gem5::AtagNone gem5::AtagRev gem5::AtagSerial

Public Member Functions

virtual uint32_t tag ()=0
 Tag (normally starts with 'T''A' and 16 bits of number.
 
virtual bool null ()
 If the header should be 0 size.
 
uint32_t size () const
 
 AtagHeader (uint32_t s)
 
virtual ~AtagHeader ()
 
uint32_t copyOut (uint8_t *p)
 

Protected Attributes

uint32_t * storage
 
uint32_t _size
 

Detailed Description

Definition at line 59 of file atag.hh.

Constructor & Destructor Documentation

◆ AtagHeader()

gem5::AtagHeader::AtagHeader ( uint32_t s)
inline

Definition at line 73 of file atag.hh.

References size(), and storage.

◆ ~AtagHeader()

virtual gem5::AtagHeader::~AtagHeader ( )
inlinevirtual

Definition at line 79 of file atag.hh.

References storage.

Member Function Documentation

◆ copyOut()

uint32_t gem5::AtagHeader::copyOut ( uint8_t * p)
inline

Definition at line 84 of file atag.hh.

References null(), gem5::MipsISA::p, size(), storage, and tag().

Referenced by gem5::ArmISA::FsLinux::initState().

◆ null()

virtual bool gem5::AtagHeader::null ( )
inlinevirtual

If the header should be 0 size.

Reimplemented in gem5::AtagNone.

Definition at line 69 of file atag.hh.

Referenced by copyOut().

◆ size()

uint32_t gem5::AtagHeader::size ( ) const
inline

Definition at line 71 of file atag.hh.

References _size.

Referenced by AtagHeader(), gem5::AtagCmdline::cmdline(), copyOut(), and gem5::ArmISA::FsLinux::initState().

◆ tag()

virtual uint32_t gem5::AtagHeader::tag ( )
pure virtual

Tag (normally starts with 'T''A' and 16 bits of number.

Implemented in gem5::AtagCmdline, gem5::AtagCore, gem5::AtagMem, gem5::AtagNone, gem5::AtagRev, and gem5::AtagSerial.

Referenced by copyOut().

Member Data Documentation

◆ _size

uint32_t gem5::AtagHeader::_size
protected

Definition at line 63 of file atag.hh.

Referenced by gem5::AtagCmdline::cmdline(), and size().

◆ storage


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

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