gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 57 of file atag.hh.

Constructor & Destructor Documentation

AtagHeader::AtagHeader ( uint32_t  s)
inline

Definition at line 71 of file atag.hh.

References size(), and storage.

virtual AtagHeader::~AtagHeader ( )
inlinevirtual

Definition at line 77 of file atag.hh.

References storage.

Member Function Documentation

uint32_t AtagHeader::copyOut ( uint8_t *  p)
inline

Definition at line 82 of file atag.hh.

References null(), size(), storage, and tag().

Referenced by LinuxArmSystem::initState().

virtual bool AtagHeader::null ( )
inlinevirtual

If the header should be 0 size.

Reimplemented in AtagNone.

Definition at line 67 of file atag.hh.

Referenced by copyOut().

uint32_t AtagHeader::size ( ) const
inline

Definition at line 69 of file atag.hh.

References _size.

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

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

uint32_t AtagHeader::_size
protected

Definition at line 61 of file atag.hh.

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

uint32_t* AtagHeader::storage
protected

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

Generated on Fri Jun 9 2017 13:04:01 for gem5 by doxygen 1.8.6