system.hh (5615:1c4b9b1aa500) | system.hh (5625:ea7d3676ac8d) |
---|---|
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 } | 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 } |
|
77} 78 79class X86System : public System 80{ 81 public: 82 typedef X86SystemParams Params; 83 X86System(Params *p); 84 ~X86System(); --- 5 unchanged lines hidden (view full) --- 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; | 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; |
|
98 99 void writeOutSMBiosTable(Addr header, 100 Addr &headerSize, Addr &tableSize, Addr table = 0); 101 | 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 |
|
102 const Params *params() const { return (const Params *)_params; } 103 104 virtual Addr fixFuncEventAddr(Addr addr) 105 { 106 //XXX This may eventually have to do something useful. 107 return addr; 108 } 109}; 110 111#endif 112 | 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 |