system.hh (8799:dac1e33e07b0) system.hh (8885:52bbd95b31ed)
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;

--- 48 unchanged lines hidden (view full) ---

57 virtual void initState();
58
59 /**
60 * Serialization stuff
61 */
62 virtual void serialize(std::ostream &os);
63 virtual void unserialize(Checkpoint *cp, const std::string &section);
64
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;

--- 48 unchanged lines hidden (view full) ---

57 virtual void initState();
58
59 /**
60 * Serialization stuff
61 */
62 virtual void serialize(std::ostream &os);
63 virtual void unserialize(Checkpoint *cp, const std::string &section);
64
65 /** Override loadState to provide a path to call setupFuncEvents()
66 */
67 virtual void loadState(Checkpoint *cp);
68
65 /**
66 * Set the m5AlphaAccess pointer in the console
67 */
68 void setAlphaAccess(Addr access);
69
70 /** console symbol table */
71 SymbolTable *consoleSymtab;
72

--- 11 unchanged lines hidden (view full) ---

84 BreakPCEvent *consolePanicEvent;
85#endif
86
87 protected:
88 Tick intrFreq;
89
90 const Params *params() const { return (const Params *)_params; }
91
69 /**
70 * Set the m5AlphaAccess pointer in the console
71 */
72 void setAlphaAccess(Addr access);
73
74 /** console symbol table */
75 SymbolTable *consoleSymtab;
76

--- 11 unchanged lines hidden (view full) ---

88 BreakPCEvent *consolePanicEvent;
89#endif
90
91 protected:
92 Tick intrFreq;
93
94 const Params *params() const { return (const Params *)_params; }
95
96
97 /** Setup all the function events. Must be done after init() for Alpha since
98 * fixFuncEvent() requires a function port
99 */
100 virtual void setupFuncEvents();
101
92 /** Add a function-based event to PALcode. */
93 template <class T>
94 T *
95 addPalFuncEvent(const char *lbl)
96 {
97 return addFuncEvent<T>(palSymtab, lbl);
98 }
99

--- 16 unchanged lines hidden ---
102 /** Add a function-based event to PALcode. */
103 template <class T>
104 T *
105 addPalFuncEvent(const char *lbl)
106 {
107 return addFuncEvent<T>(palSymtab, lbl);
108 }
109

--- 16 unchanged lines hidden ---