gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
AtagHeader Class Referenceabstract

#include <atag.hh>

Inheritance diagram for AtagHeader:
AtagCmdline AtagCore AtagMem AtagNone AtagRev 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 55 of file atag.hh.

Constructor & Destructor Documentation

◆ AtagHeader()

AtagHeader::AtagHeader ( uint32_t  s)
inline

Definition at line 69 of file atag.hh.

References size(), and storage.

◆ ~AtagHeader()

virtual AtagHeader::~AtagHeader ( )
inlinevirtual

Definition at line 75 of file atag.hh.

References storage.

Member Function Documentation

◆ copyOut()

uint32_t AtagHeader::copyOut ( uint8_t *  p)
inline

Definition at line 80 of file atag.hh.

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

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

◆ null()

virtual bool AtagHeader::null ( )
inlinevirtual

If the header should be 0 size.

Reimplemented in AtagNone.

Definition at line 65 of file atag.hh.

◆ size()

uint32_t AtagHeader::size ( ) const
inline

Definition at line 67 of file atag.hh.

References _size.

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

◆ tag()

virtual uint32_t AtagHeader::tag ( )
pure virtual

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

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

Referenced by copyOut().

Member Data Documentation

◆ _size

uint32_t AtagHeader::_size
protected

Definition at line 59 of file atag.hh.

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

◆ storage

uint32_t* AtagHeader::storage
protected

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

Generated on Wed Sep 30 2020 14:02:21 for gem5 by doxygen 1.8.17