X86: Build the same files in SE and FS.

This commit is contained in:
Gabe Black 2011-10-30 03:06:40 -07:00
parent ca77249b0c
commit 6dc3cedc4e

View file

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