diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-01-23 15:28:54 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-01-23 15:28:54 -0500 |
commit | ca313e23033cd3f2ef827edf9a442ed1ae3d087f (patch) | |
tree | b9afb1ebc98a9fa3eb79f9e789dfbf6694e9769d /src/arch/x86/system.hh | |
parent | 423bbe6499ee4a40cec40aa7e68d5af18bef6d59 (diff) | |
download | gem5-ca313e23033cd3f2ef827edf9a442ed1ae3d087f.tar.xz |
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
Diffstat (limited to 'src/arch/x86/system.hh')
-rw-r--r-- | src/arch/x86/system.hh | 13 |
1 files changed, 13 insertions, 0 deletions
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) |