From ca313e23033cd3f2ef827edf9a442ed1ae3d087f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 23 Jan 2008 15:28:54 -0500 Subject: X86: Put an SMBios/DMI table in memory. This is basically just the header right now, but there's an untested mechanism in place to fill out the table and make sure everything is updated correctly. --HG-- extra : convert_revision : c1610c0dfa211b7e0d091a04133695d84f500a1c --- src/arch/x86/system.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/arch/x86/system.hh') diff --git a/src/arch/x86/system.hh b/src/arch/x86/system.hh index 5a2452a2f..8a5483ebf 100644 --- a/src/arch/x86/system.hh +++ b/src/arch/x86/system.hh @@ -68,6 +68,14 @@ #include "sim/sim_object.hh" #include "sim/system.hh" +namespace X86ISA +{ + namespace SMBios + { + class SMBiosTable; + } +} + class X86System : public System { public: @@ -85,6 +93,11 @@ class X86System : public System void startup(); protected: + + X86ISA::SMBios::SMBiosTable * smbiosTable; + + void writeOutSMBiosTable(Addr header, Addr table = 0); + const Params *params() const { return (const Params *)_params; } virtual Addr fixFuncEventAddr(Addr addr) -- cgit v1.2.3