41#ifndef __ARCH_X86_BIOS_SMBIOS_HH__
42#define __ARCH_X86_BIOS_SMBIOS_HH__
49#include "enums/Characteristic.hh"
50#include "enums/ExtCharacteristic.hh"
57struct X86SMBiosBiosInformationParams;
58struct X86SMBiosSMBiosStructureParams;
59struct X86SMBiosSMBiosTableParams;
70 typedef X86SMBiosSMBiosStructureParams
Params;
109 int addString(
const std::string &new_string);
111 void setString(
int n,
const std::string &new_string);
119 typedef X86SMBiosBiosInformationParams
Params;
156 typedef X86SMBiosSMBiosTableParams
Params;
229 Addr &headerSize,
Addr &structSize);
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
This object is a proxy for a port or other object which implements the functional response protocol,...
Abstract superclass for simulation objects.
virtual uint8_t getLength()
SMBiosStructure(const Params &p, uint8_t _type)
int addString(const std::string &new_string)
std::string readString(int n)
std::vector< std::string > strings
X86SMBiosSMBiosStructureParams Params
virtual ~SMBiosStructure()
void setString(int n, const std::string &new_string)
void writeOutStrings(PortProxy &proxy, Addr addr)
virtual uint16_t writeOut(PortProxy &proxy, Addr addr)
void writeOut(PortProxy &proxy, Addr addr, Addr &headerSize, Addr &structSize)
struct gem5::X86ISA::smbios::SMBiosTable::SMBiosHeader smbiosHeader
void setTableAddr(Addr addr)
std::vector< SMBiosStructure * > structures
SMBiosTable(const Params &p)
X86SMBiosSMBiosTableParams Params
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.