system.hh (2760:4dbf498165ac) | system.hh (2989:9a6f66c38acc) |
---|---|
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; --- 77 unchanged lines hidden (view full) --- 86 /** Event to halt the simulator if the console calls panic() */ 87 BreakPCEvent *consolePanicEvent; 88#endif 89 protected: 90 const Params *params() const { return (const Params *)_params; } 91 92 /** Add a function-based event to PALcode. */ 93 template <class T> | 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; --- 77 unchanged lines hidden (view full) --- 86 /** Event to halt the simulator if the console calls panic() */ 87 BreakPCEvent *consolePanicEvent; 88#endif 89 protected: 90 const Params *params() const { return (const Params *)_params; } 91 92 /** Add a function-based event to PALcode. */ 93 template <class T> |
94 T *AlphaSystem::addPalFuncEvent(const char *lbl) | 94 T *addPalFuncEvent(const char *lbl) |
95 { 96 return addFuncEvent<T>(palSymtab, lbl); 97 } 98 99 /** Add a function-based event to the console code. */ 100 template <class T> | 95 { 96 return addFuncEvent<T>(palSymtab, lbl); 97 } 98 99 /** Add a function-based event to the console code. */ 100 template <class T> |
101 T *AlphaSystem::addConsoleFuncEvent(const char *lbl) | 101 T *addConsoleFuncEvent(const char *lbl) |
102 { 103 return addFuncEvent<T>(consoleSymtab, lbl); 104 } 105 106 virtual Addr fixFuncEventAddr(Addr addr); 107 108}; 109 110#endif 111 | 102 { 103 return addFuncEvent<T>(consoleSymtab, lbl); 104 } 105 106 virtual Addr fixFuncEventAddr(Addr addr); 107 108}; 109 110#endif 111 |