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);
115 const static uint8_t Type = 0;
117 typedef X86SMBiosBiosInformationParams
Params;
154 typedef X86SMBiosSMBiosTableParams
Params;
162 static const char anchorString[];
183 static const uint8_t formattedArea[5];
191 static const char anchorString[];
208 } intermediateHeader;
218 return smbiosHeader.intermediateHeader.tableAddr;
223 smbiosHeader.intermediateHeader.tableAddr =
addr;
227 Addr &headerSize,
Addr &structSize);
void writeOutStrings(PortProxy &proxy, Addr addr)
std::vector< SMBiosStructure * > structures
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)
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 port or other object which implements the functional response protocol...
void setTableAddr(Addr addr)
This is exposed globally, independent of the ISA.
virtual uint8_t getLength()
X86SMBiosSMBiosTableParams Params
Abstract superclass for simulation objects.
std::vector< std::string > strings