gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::qemu::FwCfgItemFixed Class Referenceabstract

#include <fw_cfg.hh>

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

Public Member Functions

void read (void *buf, uint64_t offset, uint32_t to_read) override
 
 FwCfgItem (const std::string &new_path, bool arch_specific, uint16_t new_index=0)
 
- Public Member Functions inherited from gem5::qemu::FwCfgItem
uint16_t index () const
 
void index (uint16_t new_index)
 
const std::string & path () const
 
bool archSpecific () const
 
virtual uint64_t length () const =0
 

Protected Member Functions

virtual const void * bytes () const =0
 
- Protected Member Functions inherited from gem5::qemu::FwCfgItem
 FwCfgItem (const std::string &new_path, bool arch_specific, uint16_t new_index=0)
 

Additional Inherited Members

- Protected Attributes inherited from gem5::qemu::FwCfgItem
uint16_t _index
 
const std::string _path
 
bool _archSpecific
 

Detailed Description

Definition at line 83 of file fw_cfg.hh.

Member Function Documentation

◆ bytes()

virtual const void * gem5::qemu::FwCfgItemFixed::bytes ( ) const
protectedpure virtual

◆ FwCfgItem()

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

Definition at line 65 of file fw_cfg.hh.

◆ read()

void gem5::qemu::FwCfgItemFixed::read ( void * buf,
uint64_t offset,
uint32_t to_read )
overridevirtual

Implements gem5::qemu::FwCfgItem.

Definition at line 50 of file fw_cfg.cc.

References bytes(), data, gem5::qemu::FwCfgItem::length(), and gem5::ArmISA::offset.


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

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