SConscript (8745:575cab0db076) SConscript (8747:017e5bbbb4e2)
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

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

35 Source('asi.cc')
36 Source('faults.cc')
37 Source('interrupts.cc')
38 Source('isa.cc')
39 Source('nativetrace.cc')
40 Source('pagetable.cc')
41 Source('remote_gdb.cc')
42 Source('tlb.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

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

35 Source('asi.cc')
36 Source('faults.cc')
37 Source('interrupts.cc')
38 Source('isa.cc')
39 Source('nativetrace.cc')
40 Source('pagetable.cc')
41 Source('remote_gdb.cc')
42 Source('tlb.cc')
43 Source('ua2005.cc')
43 Source('utility.cc')
44
45 SimObject('SparcInterrupts.py')
46 SimObject('SparcNativeTrace.py')
47 SimObject('SparcTLB.py')
48
49 DebugFlag('Sparc', "Generic SPARC ISA stuff")
50 DebugFlag('RegisterWindows', "Register window manipulation")
51
52 if env['FULL_SYSTEM']:
53 SimObject('SparcSystem.py')
54
55 Source('system.cc')
44 Source('utility.cc')
45
46 SimObject('SparcInterrupts.py')
47 SimObject('SparcNativeTrace.py')
48 SimObject('SparcTLB.py')
49
50 DebugFlag('Sparc', "Generic SPARC ISA stuff")
51 DebugFlag('RegisterWindows', "Register window manipulation")
52
53 if env['FULL_SYSTEM']:
54 SimObject('SparcSystem.py')
55
56 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)
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)