gem5  v22.1.0.0
Public Member Functions | Protected Attributes | List of all members
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. More...
 
virtual bool null ()
 If the header should be 0 size. More...
 
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 gem5::VegaISA::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.

◆ 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::AtagNone, gem5::AtagCmdline, gem5::AtagSerial, gem5::AtagRev, gem5::AtagMem, and gem5::AtagCore.

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

uint32_t* gem5::AtagHeader::storage
protected

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

Generated on Wed Dec 21 2022 10:23:09 for gem5 by doxygen 1.9.1