pseudo_inst.cc (5882:5a047c3f3795) | pseudo_inst.cc (5952:c1ee8282291d) |
---|---|
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; --- 23 unchanged lines hidden (view full) --- 32#include <fcntl.h> 33#include <unistd.h> 34 35#include <fstream> 36#include <string> 37 38#include "arch/kernel_stats.hh" 39#include "arch/vtophys.hh" | 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; --- 23 unchanged lines hidden (view full) --- 32#include <fcntl.h> 33#include <unistd.h> 34 35#include <fstream> 36#include <string> 37 38#include "arch/kernel_stats.hh" 39#include "arch/vtophys.hh" |
40#include "base/annotate.hh" | |
41#include "base/debug.hh" 42#include "cpu/base.hh" 43#include "cpu/thread_context.hh" 44#include "cpu/quiesce_event.hh" 45#include "params/BaseCPU.hh" 46#include "sim/pseudo_inst.hh" 47#include "sim/serialize.hh" 48#include "sim/sim_events.hh" --- 160 unchanged lines hidden (view full) --- 209{ 210 char symb[100]; 211 CopyStringOut(tc, symb, symbolAddr, 100); 212 std::string symbol(symb); 213 214 DPRINTF(Loader, "Loaded symbol: %s @ %#llx\n", symbol, addr); 215 216 tc->getSystemPtr()->kernelSymtab->insert(addr,symbol); | 40#include "base/debug.hh" 41#include "cpu/base.hh" 42#include "cpu/thread_context.hh" 43#include "cpu/quiesce_event.hh" 44#include "params/BaseCPU.hh" 45#include "sim/pseudo_inst.hh" 46#include "sim/serialize.hh" 47#include "sim/sim_events.hh" --- 160 unchanged lines hidden (view full) --- 208{ 209 char symb[100]; 210 CopyStringOut(tc, symb, symbolAddr, 100); 211 std::string symbol(symb); 212 213 DPRINTF(Loader, "Loaded symbol: %s @ %#llx\n", symbol, addr); 214 215 tc->getSystemPtr()->kernelSymtab->insert(addr,symbol); |
216 debugSymbolTable->insert(addr,symbol); |
|
217} 218 219#endif 220 221 222void 223resetstats(ThreadContext *tc, Tick delay, Tick period) 224{ --- 101 unchanged lines hidden --- | 217} 218 219#endif 220 221 222void 223resetstats(ThreadContext *tc, Tick delay, Tick period) 224{ --- 101 unchanged lines hidden --- |