1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 41 unchanged lines hidden (view full) --- 50 AlphaSystem(Params *p); 51 ~AlphaSystem(); 52 53 public: 54 55 /** 56 * Initialise the state of the system. 57 */ |
58 void initState() override; |
59 60 /** 61 * Serialization stuff 62 */ 63 void serializeSymtab(CheckpointOut &cp) const override; 64 void unserializeSymtab(CheckpointIn &cp) override; 65 66 /** Override startup() to provide a path to call setupFuncEvents() 67 */ |
68 void startup() override; |
69 70 /** 71 * Set the m5AlphaAccess pointer in the console 72 */ 73 void setAlphaAccess(Addr access); 74 75 /** console symbol table */ 76 SymbolTable *consoleSymtab; --- 39 unchanged lines hidden (view full) --- 116 /** Add a function-based event to the console code. */ 117 template <class T> 118 T * 119 addConsoleFuncEvent(const char *lbl) 120 { 121 return addFuncEvent<T>(consoleSymtab, lbl); 122 } 123 |
124 Addr fixFuncEventAddr(Addr addr) override; |
125 126 public: 127 void setIntrFreq(Tick freq) { intrFreq = freq; } 128}; 129 130#endif // __ARCH_ALPHA_SYSTEM_HH__ 131 |