system.hh (3527:0485338dc5e1) system.hh (3553:b74153703474)
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
107 /** Add a function-based event to the openboot. */
108 template <class T>
109 T *SparcSystem::addOpenbootFuncEvent(const char *lbl)
110 {
111 return addFuncEvent<T>(openbootSymtab, lbl);
112 }
113
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
107 /** Add a function-based event to the openboot. */
108 template <class T>
109 T *SparcSystem::addOpenbootFuncEvent(const char *lbl)
110 {
111 return addFuncEvent<T>(openbootSymtab, lbl);
112 }
113
114 virtual Addr fixFuncEventAddr(Addr addr);
115
114 virtual Addr fixFuncEventAddr(Addr addr)
115 {
116 //XXX This may eventually have to do something useful.
117 return addr;
118 }
116};
117
118#endif
119
119};
120
121#endif
122