Deleted Added
sdiff udiff text old ( 4762:c94e103c83ad ) new ( 7741:340b6f01d69b )
full compact
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;

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

106 /** functional port to partition description */
107 FunctionalPort funcPartDescPort;
108
109 protected:
110 const Params *params() const { return (const Params *)_params; }
111
112 /** Add a function-based event to reset binary. */
113 template <class T>
114 T *addResetFuncEvent(const char *lbl)
115 {
116 return addFuncEvent<T>(resetSymtab, lbl);
117 }
118
119 /** Add a function-based event to the hypervisor. */
120 template <class T>
121 T *addHypervisorFuncEvent(const char *lbl)
122 {
123 return addFuncEvent<T>(hypervisorSymtab, lbl);
124 }
125
126 /** Add a function-based event to the openboot. */
127 template <class T>
128 T *addOpenbootFuncEvent(const char *lbl)
129 {
130 return addFuncEvent<T>(openbootSymtab, lbl);
131 }
132
133 virtual Addr fixFuncEventAddr(Addr addr)
134 {
135 //XXX This may eventually have to do something useful.
136 return addr;
137 }
138};
139
140#endif
141