system.hh (8799:dac1e33e07b0) | system.hh (8885:52bbd95b31ed) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 109 unchanged lines hidden (view full) --- 118 * Event to print information about thread switches if the trace flag 119 * Thread is set 120 */ 121 PrintThreadInfo *printThreadEvent; 122 123 /** Grab the PCBB of the idle process when it starts */ 124 IdleStartEvent *idleStartEvent; 125 | 1/* 2 * Copyright (c) 2004-2006 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; --- 109 unchanged lines hidden (view full) --- 118 * Event to print information about thread switches if the trace flag 119 * Thread is set 120 */ 121 PrintThreadInfo *printThreadEvent; 122 123 /** Grab the PCBB of the idle process when it starts */ 124 IdleStartEvent *idleStartEvent; 125 |
126 protected: 127 /** Setup all the function events. Must be done after init() for Alpha since 128 * fixFuncEvent() requires a function port 129 */ 130 virtual void setupFuncEvents(); 131 |
|
126 public: 127 typedef LinuxAlphaSystemParams Params; 128 LinuxAlphaSystem(Params *p); 129 ~LinuxAlphaSystem(); 130 131 /** 132 * Initialise the system 133 */ 134 virtual void initState(); 135 136 void setDelayLoop(ThreadContext *tc); 137 138 const Params *params() const { return (const Params *)_params; } 139}; 140 141#endif // __ARCH_ALPHA_LINUX_SYSTEM_HH__ | 132 public: 133 typedef LinuxAlphaSystemParams Params; 134 LinuxAlphaSystem(Params *p); 135 ~LinuxAlphaSystem(); 136 137 /** 138 * Initialise the system 139 */ 140 virtual void initState(); 141 142 void setDelayLoop(ThreadContext *tc); 143 144 const Params *params() const { return (const Params *)_params; } 145}; 146 147#endif // __ARCH_ALPHA_LINUX_SYSTEM_HH__ |