debug.cc (2665:a124942bacb8) | debug.cc (2802:babfc298ac86) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 113 unchanged lines hidden (view full) --- 122 new DebugBreakEvent(&mainEventQueue, *i); 123 } 124} 125 126// 127// handy function to schedule DebugBreakEvent on main event queue 128// (callable from debugger) 129// | 1/* 2 * Copyright (c) 2003-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; --- 113 unchanged lines hidden (view full) --- 122 new DebugBreakEvent(&mainEventQueue, *i); 123 } 124} 125 126// 127// handy function to schedule DebugBreakEvent on main event queue 128// (callable from debugger) 129// |
130extern "C" void sched_break_cycle(Tick when) | 130void sched_break_cycle(Tick when) |
131{ 132 new DebugBreakEvent(&mainEventQueue, when); 133} 134 | 131{ 132 new DebugBreakEvent(&mainEventQueue, when); 133} 134 |
135extern "C" void eventq_dump() | 135void eventq_dump() |
136{ 137 mainEventQueue.dump(); 138} 139 | 136{ 137 mainEventQueue.dump(); 138} 139 |