pseudo_inst.cc (9879:5fad1d2eb314) pseudo_inst.cc (9952:7437cc334df1)
1/*
2 * Copyright (c) 2010-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

342 other_tc->activate();
343}
344
345void
346m5exit(ThreadContext *tc, Tick delay)
347{
348 DPRINTF(PseudoInst, "PseudoInst::m5exit(%i)\n", delay);
349 Tick when = curTick() + delay * SimClock::Int::ns;
1/*
2 * Copyright (c) 2010-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

342 other_tc->activate();
343}
344
345void
346m5exit(ThreadContext *tc, Tick delay)
347{
348 DPRINTF(PseudoInst, "PseudoInst::m5exit(%i)\n", delay);
349 Tick when = curTick() + delay * SimClock::Int::ns;
350 exitSimLoop("m5_exit instruction encountered", 0, when);
350 exitSimLoop("m5_exit instruction encountered", 0, when, 0, true);
351}
352
353void
354m5fail(ThreadContext *tc, Tick delay, uint64_t code)
355{
356 DPRINTF(PseudoInst, "PseudoInst::m5fail(%i, %i)\n", delay, code);
357 Tick when = curTick() + delay * SimClock::Int::ns;
351}
352
353void
354m5fail(ThreadContext *tc, Tick delay, uint64_t code)
355{
356 DPRINTF(PseudoInst, "PseudoInst::m5fail(%i, %i)\n", delay, code);
357 Tick when = curTick() + delay * SimClock::Int::ns;
358 exitSimLoop("m5_fail instruction encountered", code, when);
358 exitSimLoop("m5_fail instruction encountered", code, when, 0, true);
359}
360
361void
362loadsymbol(ThreadContext *tc)
363{
364 DPRINTF(PseudoInst, "PseudoInst::loadsymbol()\n");
365 if (!FullSystem)
366 panicFsOnlyPseudoInst("loadsymbol");

--- 343 unchanged lines hidden ---
359}
360
361void
362loadsymbol(ThreadContext *tc)
363{
364 DPRINTF(PseudoInst, "PseudoInst::loadsymbol()\n");
365 if (!FullSystem)
366 panicFsOnlyPseudoInst("loadsymbol");

--- 343 unchanged lines hidden ---