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 * --- 60 unchanged lines hidden (view full) --- 69#include "sim/system.hh" 70 71namespace X86ISA 72{ 73 namespace SMBios 74 { 75 class SMBiosTable; 76 } |
77 namespace IntelMP 78 { 79 class FloatingPointer; 80 class ConfigTable; 81 } |
82} 83 84class X86System : public System 85{ 86 public: 87 typedef X86SystemParams Params; 88 X86System(Params *p); 89 ~X86System(); --- 5 unchanged lines hidden (view full) --- 95 void serialize(std::ostream &os); 96 void unserialize(Checkpoint *cp, const std::string §ion); 97 98 void startup(); 99 100 protected: 101 102 X86ISA::SMBios::SMBiosTable * smbiosTable; |
103 X86ISA::IntelMP::FloatingPointer * mpFloatingPointer; 104 X86ISA::IntelMP::ConfigTable * mpConfigTable; |
105 106 void writeOutSMBiosTable(Addr header, 107 Addr &headerSize, Addr &tableSize, Addr table = 0); 108 |
109 void writeOutMPTable(Addr fp, 110 Addr &fpSize, Addr &tableSize, Addr table = 0); 111 |
112 const Params *params() const { return (const Params *)_params; } 113 114 virtual Addr fixFuncEventAddr(Addr addr) 115 { 116 //XXX This may eventually have to do something useful. 117 return addr; 118 } 119}; 120 121#endif 122 |