system.hh (5132:ad5e94876bfc) | system.hh (5299:e61b9f2a9732) |
---|---|
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 * --- 65 unchanged lines hidden (view full) --- 74 typedef X86SystemParams Params; 75 X86System(Params *p); 76 ~X86System(); 77 78/** 79 * Serialization stuff 80 */ 81 public: | 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 * --- 65 unchanged lines hidden (view full) --- 74 typedef X86SystemParams Params; 75 X86System(Params *p); 76 ~X86System(); 77 78/** 79 * Serialization stuff 80 */ 81 public: |
82 virtual void serialize(std::ostream &os); 83 virtual void unserialize(Checkpoint *cp, const std::string §ion); | 82 void serialize(std::ostream &os); 83 void unserialize(Checkpoint *cp, const std::string §ion); |
84 | 84 |
85 void startup(); 86 |
|
85 protected: 86 const Params *params() const { return (const Params *)_params; } 87 88 virtual Addr fixFuncEventAddr(Addr addr) 89 { 90 //XXX This may eventually have to do something useful. 91 return addr; 92 } 93}; 94 95#endif 96 | 87 protected: 88 const Params *params() const { return (const Params *)_params; } 89 90 virtual Addr fixFuncEventAddr(Addr addr) 91 { 92 //XXX This may eventually have to do something useful. 93 return addr; 94 } 95}; 96 97#endif 98 |