Merge zizzer:/bk/newmem

into  zazzer.eecs.umich.edu:/z/rdreslin/m5bk/head

--HG--
extra : convert_revision : 7d7380a6565cff32470bddadb0158fad897a5cf5
This commit is contained in:
Ron Dreslinski 2007-03-12 16:25:59 -05:00
commit c6e85efc50
3 changed files with 15 additions and 20 deletions

View file

@ -192,22 +192,20 @@ dumpStatus()
// add a set of functions that can easily be invoked from gdb
extern "C" {
void
setTraceFlag(const char *string)
{
void
setTraceFlag(const char *string)
{
Trace::changeFlag(string, true);
}
}
void
clearTraceFlag(const char *string)
{
void
clearTraceFlag(const char *string)
{
Trace::changeFlag(string, false);
}
}
void
dumpTraceStatus()
{
void
dumpTraceStatus()
{
Trace::dumpStatus();
}
/* extern "C" */ }
}

View file

@ -138,14 +138,12 @@ BreakPCEvent::process(ThreadContext *tc)
}
#if FULL_SYSTEM
extern "C"
void
sched_break_pc_sys(System *sys, Addr addr)
{
new BreakPCEvent(&sys->pcEventQueue, "debug break", addr, true);
}
extern "C"
void
sched_break_pc(Addr addr)
{

View file

@ -222,7 +222,6 @@ EventQueue::dump()
cprintf("============================================================\n");
}
extern "C"
void
dumpMainQueue()
{