43 #ifndef __ARCH_X86_BIOS_SMBIOS_HH__
44 #define __ARCH_X86_BIOS_SMBIOS_HH__
50 #include "enums/Characteristic.hh"
51 #include "enums/ExtCharacteristic.hh"
55 struct X86SMBiosBiosInformationParams;
56 struct X86SMBiosSMBiosStructureParams;
57 struct X86SMBiosSMBiosTableParams;
68 typedef X86SMBiosSMBiosStructureParams
Params;
109 void setString(
int n, std::string & newString);
117 typedef X86SMBiosBiosInformationParams
Params;
154 typedef X86SMBiosSMBiosTableParams
Params;
227 Addr &headerSize,
Addr &structSize);
void writeOutStrings(PortProxy &proxy, Addr addr)
std::vector< SMBiosStructure * > structures
void writeOut(PortProxy &proxy, Addr addr, Addr &headerSize, Addr &structSize)
std::string readString(int n)
SMBiosStructure(Params *p, uint8_t _type)
virtual uint16_t writeOut(PortProxy &proxy, Addr addr)
X86SMBiosSMBiosStructureParams Params
int addString(std::string &newString)
struct X86ISA::SMBios::SMBiosTable::SMBiosHeader smbiosHeader
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void setString(int n, std::string &newString)
virtual ~SMBiosStructure()
This object is a proxy for a structural port, to be used for debug accesses.
void setTableAddr(Addr addr)
virtual uint8_t getLength()
X86SMBiosSMBiosTableParams Params
Abstract superclass for simulation objects.
std::vector< std::string > strings