base.cc (4873:b135f6e6adfe) base.cc (4918:3214e3694fb2)
1/*
2 * Copyright (c) 2002-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;

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

37#include "base/loader/symtab.hh"
38#include "base/misc.hh"
39#include "base/output.hh"
40#include "cpu/base.hh"
41#include "cpu/cpuevent.hh"
42#include "cpu/thread_context.hh"
43#include "cpu/profile.hh"
44#include "sim/sim_exit.hh"
1/*
2 * Copyright (c) 2002-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;

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

37#include "base/loader/symtab.hh"
38#include "base/misc.hh"
39#include "base/output.hh"
40#include "cpu/base.hh"
41#include "cpu/cpuevent.hh"
42#include "cpu/thread_context.hh"
43#include "cpu/profile.hh"
44#include "sim/sim_exit.hh"
45#include "sim/param.hh"
46#include "sim/process.hh"
47#include "sim/sim_events.hh"
48#include "sim/system.hh"
49
50#include "base/trace.hh"
51
52// Hack
53#include "sim/stat_control.hh"

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

450 currentFunctionEnd = pc + 1;
451 }
452
453 ccprintf(*functionTraceStream, " (%d)\n%d: %s",
454 curTick - functionEntryTick, curTick, sym_str);
455 functionEntryTick = curTick;
456 }
457}
45#include "sim/process.hh"
46#include "sim/sim_events.hh"
47#include "sim/system.hh"
48
49#include "base/trace.hh"
50
51// Hack
52#include "sim/stat_control.hh"

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

449 currentFunctionEnd = pc + 1;
450 }
451
452 ccprintf(*functionTraceStream, " (%d)\n%d: %s",
453 curTick - functionEntryTick, curTick, sym_str);
454 functionEntryTick = curTick;
455 }
456}
458
459
460DEFINE_SIM_OBJECT_CLASS_NAME("BaseCPU", BaseCPU)