1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 54 unchanged lines hidden (view full) --- 63 64#include "base/loader/symtab.hh" 65#include "cpu/pc_event.hh" 66#include "kern/system_events.hh" 67#include "params/X86System.hh" 68#include "sim/sim_object.hh" 69#include "sim/system.hh" 70 |
71namespace X86ISA 72{ 73 namespace SMBios 74 { 75 class SMBiosTable; 76 } 77} 78 |
79class X86System : public System 80{ 81 public: 82 typedef X86SystemParams Params; 83 X86System(Params *p); 84 ~X86System(); 85 86/** 87 * Serialization stuff 88 */ 89 public: 90 void serialize(std::ostream &os); 91 void unserialize(Checkpoint *cp, const std::string §ion); 92 93 void startup(); 94 95 protected: |
96 97 X86ISA::SMBios::SMBiosTable * smbiosTable; 98 99 void writeOutSMBiosTable(Addr header, Addr table = 0); 100 |
101 const Params *params() const { return (const Params *)_params; } 102 103 virtual Addr fixFuncEventAddr(Addr addr) 104 { 105 //XXX This may eventually have to do something useful. 106 return addr; 107 } 108}; 109 110#endif 111 |