gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::qemu::FwCfgItemFile Class Reference

#include <fw_cfg.hh>

Inheritance diagram for gem5::qemu::FwCfgItemFile:
gem5::qemu::FwCfgItemFixed gem5::qemu::FwCfgItem

Public Member Functions

 FwCfgItemFile (const std::string &new_path, bool arch_specific, const std::string path, uint16_t new_index=0)
 
 FwCfgItemFile (const QemuFwCfgItemFileParams &p)
 
const void * bytes () const override
 
uint64_t length () const override
 
- Public Member Functions inherited from gem5::qemu::FwCfgItemFixed
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
 

Private Attributes

const gem5::loader::ImageFileData data
 

Additional Inherited Members

- Protected Member Functions inherited from gem5::qemu::FwCfgItem
 FwCfgItem (const std::string &new_path, bool arch_specific, uint16_t new_index=0)
 
- Protected Attributes inherited from gem5::qemu::FwCfgItem
uint16_t _index
 
const std::string _path
 
bool _archSpecific
 

Detailed Description

Definition at line 95 of file fw_cfg.hh.

Constructor & Destructor Documentation

◆ FwCfgItemFile() [1/2]

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

Definition at line 101 of file fw_cfg.hh.

◆ FwCfgItemFile() [2/2]

gem5::qemu::FwCfgItemFile::FwCfgItemFile ( const QemuFwCfgItemFileParams & p)
inline

Definition at line 106 of file fw_cfg.hh.

Member Function Documentation

◆ bytes()

const void * gem5::qemu::FwCfgItemFile::bytes ( ) const
inlineoverridevirtual

Implements gem5::qemu::FwCfgItemFixed.

Definition at line 110 of file fw_cfg.hh.

References gem5::loader::ImageFileData::data(), and data.

◆ length()

uint64_t gem5::qemu::FwCfgItemFile::length ( ) const
inlineoverridevirtual

Implements gem5::qemu::FwCfgItem.

Definition at line 111 of file fw_cfg.hh.

References data, and gem5::loader::ImageFileData::len().

Member Data Documentation

◆ data

const gem5::loader::ImageFileData gem5::qemu::FwCfgItemFile::data
private

Definition at line 98 of file fw_cfg.hh.

Referenced by bytes(), and length().


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

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