From: Gabe Black Date: Mon, 31 Oct 2011 00:38:11 +0000 (-0700) Subject: SE/FS: Compile in system events in SE mode. X-Git-Tag: stable_2012_06_28~299 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8009b53c41b4b8643bc335ce293c6ba305b70608;p=gem5.git SE/FS: Compile in system events in SE mode. --- diff --git a/src/kern/SConscript b/src/kern/SConscript index 76d55114c..b730e4b49 100644 --- a/src/kern/SConscript +++ b/src/kern/SConscript @@ -33,23 +33,25 @@ Import('*') if env['TARGET_ISA'] == 'no': Return() +Source('linux/events.cc') Source('linux/linux.cc') +Source('linux/printk.cc') Source('operatingsystem.cc') +Source('system_events.cc') -if env['FULL_SYSTEM']: - Source('kernel_stats.cc') - Source('system_events.cc') +if env['TARGET_ISA'] == 'alpha': + Source('tru64/dump_mbuf.cc') + Source('tru64/printf.cc') + Source('tru64/tru64_events.cc') + + DebugFlag('BADADDR') - DebugFlag('DebugPrintf') - DebugFlag('Printf') +DebugFlag('DebugPrintf') +DebugFlag('Printf') - Source('linux/events.cc') +if env['FULL_SYSTEM']: + Source('kernel_stats.cc') Source('linux/linux_syscalls.cc') - Source('linux/printk.cc') if env['TARGET_ISA'] == 'alpha': - Source('tru64/dump_mbuf.cc') - Source('tru64/printf.cc') - Source('tru64/tru64_events.cc') Source('tru64/tru64_syscalls.cc') - DebugFlag('BADADDR') diff --git a/src/sim/SConscript b/src/sim/SConscript index 0f241df92..aae3eb5ad 100644 --- a/src/sim/SConscript +++ b/src/sim/SConscript @@ -34,6 +34,7 @@ SimObject('BaseTLB.py') SimObject('Root.py') SimObject('InstTracer.py') +Source('arguments.cc') Source('async.cc') Source('core.cc') Source('debug.cc') @@ -56,9 +57,7 @@ if env['TARGET_ISA'] != 'no': Source('pseudo_inst.cc') Source('system.cc') -if env['FULL_SYSTEM']: - Source('arguments.cc') -elif env['TARGET_ISA'] != 'no': +if not env['FULL_SYSTEM'] and env['TARGET_ISA'] != 'no': Source('tlb.cc') DebugFlag('Checkpoint')