SConscript (8335:9228e00459d4) SConscript (8745:575cab0db076)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 20 unchanged lines hidden (view full) ---

29# Authors: Gabe Black
30# Steve Reinhardt
31
32Import('*')
33
34if env['TARGET_ISA'] == 'sparc':
35 Source('asi.cc')
36 Source('faults.cc')
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 20 unchanged lines hidden (view full) ---

29# Authors: Gabe Black
30# Steve Reinhardt
31
32Import('*')
33
34if env['TARGET_ISA'] == 'sparc':
35 Source('asi.cc')
36 Source('faults.cc')
37 Source('interrupts.cc')
37 Source('isa.cc')
38 Source('nativetrace.cc')
39 Source('pagetable.cc')
40 Source('remote_gdb.cc')
41 Source('tlb.cc')
42 Source('utility.cc')
43
38 Source('isa.cc')
39 Source('nativetrace.cc')
40 Source('pagetable.cc')
41 Source('remote_gdb.cc')
42 Source('tlb.cc')
43 Source('utility.cc')
44
45 SimObject('SparcInterrupts.py')
44 SimObject('SparcNativeTrace.py')
46 SimObject('SparcNativeTrace.py')
45
46 SimObject('SparcTLB.py')
47 SimObject('SparcTLB.py')
48
47 DebugFlag('Sparc', "Generic SPARC ISA stuff")
48 DebugFlag('RegisterWindows', "Register window manipulation")
49
50 if env['FULL_SYSTEM']:
51 SimObject('SparcSystem.py')
49 DebugFlag('Sparc', "Generic SPARC ISA stuff")
50 DebugFlag('RegisterWindows', "Register window manipulation")
51
52 if env['FULL_SYSTEM']:
53 SimObject('SparcSystem.py')
52 SimObject('SparcInterrupts.py')
53
54
54 Source('interrupts.cc')
55 Source('system.cc')
56 Source('ua2005.cc')
57 Source('vtophys.cc')
58 else:
59 Source('process.cc')
60
61 Source('linux/linux.cc')
62 Source('linux/process.cc')
63 Source('linux/syscalls.cc')
64
65 Source('solaris/process.cc')
66 Source('solaris/solaris.cc')
67
68 # Add in files generated by the ISA description.
69 isa_desc_files = env.ISADesc('isa/main.isa')
70 # Only non-header files need to be compiled.
71 for f in isa_desc_files:
72 if not f.path.endswith('.hh'):
73 Source(f)
55 Source('system.cc')
56 Source('ua2005.cc')
57 Source('vtophys.cc')
58 else:
59 Source('process.cc')
60
61 Source('linux/linux.cc')
62 Source('linux/process.cc')
63 Source('linux/syscalls.cc')
64
65 Source('solaris/process.cc')
66 Source('solaris/solaris.cc')
67
68 # Add in files generated by the ISA description.
69 isa_desc_files = env.ISADesc('isa/main.isa')
70 # Only non-header files need to be compiled.
71 for f in isa_desc_files:
72 if not f.path.endswith('.hh'):
73 Source(f)