|
gem5 [DEVELOP-FOR-25.0]
|
Public Member Functions | |
| Directory () | |
| void | update (const std::map< std::string, uint16_t > &names, const std::map< uint16_t, FwCfgItem * > &numbers) |
| 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 | |
| std::vector< uint8_t > | 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 |
|
inlineoverridevirtual |
Implements gem5::qemu::FwCfgItemFixed.
Definition at line 216 of file fw_cfg.hh.
References data.
Referenced by update().
|
inlineoverridevirtual |
| void gem5::qemu::FwCfg::Directory::update | ( | const std::map< std::string, uint16_t > & | names, |
| const std::map< uint16_t, FwCfgItem * > & | numbers ) |
Definition at line 188 of file fw_cfg.cc.
References bytes(), gem5::X86ISA::count, data, gem5::htobe(), gem5::qemu::FwCfgItem::index(), gem5::Named::name(), gem5::qemu::FwCfg::names, gem5::qemu::FwCfg::numbers, gem5::RiscvISA::reserved, and gem5::qemu::FwCfg::select().
|
private |