X86: Build the same files in SE and FS.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 30 Oct 2011 10:06:40 +0000 (03:06 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 30 Oct 2011 10:06:40 +0000 (03:06 -0700)
src/arch/x86/SConscript

index aff9b1bf3e382412b0e63d241ff57082c10c45a8..3bd968e2135a589f1d08a761701b65da8155971e 100644 (file)
@@ -55,12 +55,19 @@ if env['TARGET_ISA'] == 'x86':
     Source('insts/static_inst.cc')
     Source('interrupts.cc')
     Source('isa.cc')
+    Source('linux/linux.cc')
+    Source('linux/process.cc')
+    Source('linux/syscalls.cc')
+    Source('linux/system.cc')
     Source('nativetrace.cc')
     Source('pagetable.cc')
     Source('pagetable_walker.cc')
     Source('predecoder.cc')
     Source('predecoder_tables.cc')
+    Source('process.cc')
     Source('remote_gdb.cc')
+    Source('stacktrace.cc')
+    Source('system.cc')
     Source('tlb.cc')
     Source('types.cc')
     Source('utility.cc')
@@ -68,6 +75,7 @@ if env['TARGET_ISA'] == 'x86':
 
     SimObject('X86LocalApic.py')
     SimObject('X86NativeTrace.py')
+    SimObject('X86System.py')
     SimObject('X86TLB.py')
 
     DebugFlag('Faults', "Trace all faults/exceptions/traps")
@@ -77,21 +85,6 @@ if env['TARGET_ISA'] == 'x86':
     DebugFlag('Predecoder', "Predecoder debug output")
     DebugFlag('X86', "Generic X86 ISA debugging")
 
-    if env['FULL_SYSTEM']:
-
-        SimObject('X86System.py')
-
-        # Full-system sources
-        Source('linux/system.cc')
-        Source('system.cc')
-        Source('stacktrace.cc')
-    else:
-        Source('process.cc')
-
-        Source('linux/linux.cc')
-        Source('linux/process.cc')
-        Source('linux/syscalls.cc')
-
     python_files = (
         '__init__.py',
         'general_purpose/__init__.py',