Deleted Added
sdiff udiff text old ( 5504:288b54c2fd8d ) new ( 5505:90d6811d5ea6 )
full compact
1/*
2 * Copyright (c) 2003-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;

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

119
120uint64_t
121quiesceTime(ThreadContext *tc)
122{
123 return (tc->readLastActivate() - tc->readLastSuspend()) / Clock::Int::ns;
124}
125
126void
127m5exit(ThreadContext *tc, Tick delay)
128{
129 Tick when = curTick + delay * Clock::Int::ns;
130 schedExitSimLoop("m5_exit instruction encountered", when);
131}
132
133void
134loadsymbol(ThreadContext *tc)

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

212 std::string symbol(symb);
213
214 DPRINTF(Loader, "Loaded symbol: %s @ %#llx\n", symbol, addr);
215
216 tc->getSystemPtr()->kernelSymtab->insert(addr,symbol);
217}
218
219void
220dumpresetstats(ThreadContext *tc, Tick delay, Tick period)
221{
222 if (!tc->getCpuPtr()->params->do_statistics_insts)
223 return;
224
225
226 Tick when = curTick + delay * Clock::Int::ns;
227 Tick repeat = period * Clock::Int::ns;

--- 64 unchanged lines hidden ---