gem5  v22.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gem5::qemu::FwCfgItem Class Referenceabstract

#include <fw_cfg.hh>

Inheritance diagram for gem5::qemu::FwCfgItem:
gem5::qemu::FwCfgItemFixed gem5::qemu::FwCfg::Directory gem5::qemu::FwCfgItemBytes gem5::qemu::FwCfgItemE820 gem5::qemu::FwCfgItemFile gem5::qemu::FwCfgItemString

Public Member Functions

uint16_t index () const
 
void index (uint16_t new_index)
 
const std::string & path () const
 
bool archSpecific () const
 
virtual uint64_t length () const =0
 
virtual void read (void *buf, uint64_t offset, uint32_t to_read)=0
 

Protected Member Functions

 FwCfgItem (const std::string &new_path, bool arch_specific, uint16_t new_index=0)
 

Protected Attributes

uint16_t _index
 
const std::string _path
 
bool _archSpecific
 

Detailed Description

Definition at line 58 of file fw_cfg.hh.

Constructor & Destructor Documentation

◆ FwCfgItem()

gem5::qemu::FwCfgItem::FwCfgItem ( const std::string &  new_path,
bool  arch_specific,
uint16_t  new_index = 0 
)
inlineprotected

Definition at line 65 of file fw_cfg.hh.

Member Function Documentation

◆ archSpecific()

bool gem5::qemu::FwCfgItem::archSpecific ( ) const
inline

Definition at line 75 of file fw_cfg.hh.

References _archSpecific.

◆ index() [1/2]

uint16_t gem5::qemu::FwCfgItem::index ( ) const
inline

Definition at line 71 of file fw_cfg.hh.

References _index.

Referenced by gem5::qemu::FwCfg::addItem().

◆ index() [2/2]

void gem5::qemu::FwCfgItem::index ( uint16_t  new_index)
inline

Definition at line 72 of file fw_cfg.hh.

References _index.

◆ length()

virtual uint64_t gem5::qemu::FwCfgItem::length ( ) const
pure virtual

◆ path()

const std::string& gem5::qemu::FwCfgItem::path ( ) const
inline

Definition at line 74 of file fw_cfg.hh.

References _path.

Referenced by gem5::qemu::FwCfg::addItem().

◆ read()

virtual void gem5::qemu::FwCfgItem::read ( void *  buf,
uint64_t  offset,
uint32_t  to_read 
)
pure virtual

Member Data Documentation

◆ _archSpecific

bool gem5::qemu::FwCfgItem::_archSpecific
protected

Definition at line 63 of file fw_cfg.hh.

Referenced by archSpecific().

◆ _index

uint16_t gem5::qemu::FwCfgItem::_index
protected

Definition at line 61 of file fw_cfg.hh.

Referenced by index().

◆ _path

const std::string gem5::qemu::FwCfgItem::_path
protected

Definition at line 62 of file fw_cfg.hh.

Referenced by path().


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

Generated on Wed Dec 21 2022 10:24:20 for gem5 by doxygen 1.9.1