base/stats/visit.cc
base/stats/text.cc
+ cpu/activity.cc
cpu/base.cc
cpu/base_dyn_inst.cc
- cpu/exec_context.cc
+ cpu/cpu_exec_context.cc
cpu/exetrace.cc
cpu/pc_event.cc
+ cpu/quiesce_event.cc
cpu/static_inst.cc
cpu/sampler/sampler.cc
cpu/trace/reader/mem_trace_reader.cc
mem/cache/tags/split_lifo.cc
mem/functional/functional.cc
mem/timing/base_memory.cc
+ mem/timing/dram_memory.cc
+ mem/timing/dram_mem_bank.cc
+ mem/timing/dram_memory_builder.cc
mem/timing/memory_builder.cc
mem/timing/simple_mem_bank.cc
mem/trace/itx_writer.cc
kern/kernel_binning.cc
kern/kernel_stats.cc
kern/system_events.cc
- kern/freebsd/freebsd_system.cc
+ kern/linux/events.cc
kern/linux/linux_syscalls.cc
- kern/linux/linux_system.cc
kern/linux/printk.cc
kern/tru64/dump_mbuf.cc
kern/tru64/printf.cc
kern/tru64/tru64_events.cc
kern/tru64/tru64_syscalls.cc
- kern/tru64/tru64_system.cc
mem/functional/memory_control.cc
mem/functional/physical.cc
sim/syscall_emul.cc
''')
-# The following stuff (targetarch code and global define of THE_ISA)
-# are legacy things that assume we're only compiling one ISA at a
-# time. These will have to go away if we want to build a binary that
-# supports multiple ISAs.
-
-targetarch_files = Split('''
- alpha_linux_process.hh
- alpha_memory.hh
- alpha_tru64_process.hh
- aout_machdep.h
- arguments.hh
- ecoff_machdep.h
- ev5.hh
- faults.hh
- stacktrace.hh
- vtophys.hh
- ''')
-
-# Set up bridging headers to the architecture specific versions
-for f in targetarch_files:
- env.Command('targetarch/' + f, 'arch/%s/%s' % (env['TARGET_ISA'], f),
- '''echo '#include "arch/%s/%s"' > $TARGET''' % (env['TARGET_ISA'], f))
-
# Add a flag defining what THE_ISA should be for all compilation
env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())])
# the corresponding build directory to pick up generated include
# files.
env.Append(CPPPATH='.')
+env.Append(CPPPATH='./libelf')
# Debug binary
debugEnv = env.Copy(OBJSUFFIX='.do')
debugEnv.Label = 'debug'
-debugEnv.Append(CCFLAGS=Split('-g -gstabs+ -O0'))
+debugEnv.Append(CCFLAGS=Split('-g -gdwarf-2 -O0'))
debugEnv.Append(CPPDEFINES='DEBUG')
tlist = debugEnv.Program(target = 'm5.debug',
source = make_objs(sources, debugEnv))