SConscript (6757:d86d3d6e5326) SConscript (7100:3467916569e3)
1# -*- mode:python -*-
2
1# -*- mode:python -*-
2
3# Copyright (c) 2007-2008 The Florida State University
4# Copyright (c) 2009 ARM Limited
5# All rights reserved.
6#
3# Copyright (c) 2009 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
9# to a hardware implementation of the functionality of the software
10# licensed hereunder. You may use the software subject to the license
11# terms below provided that you ensure that this notice is replicated
12# unmodified and in its entirety in all distributions of the software,
13# modified or unmodified, in source code or in binary form.
14#
15# Copyright (c) 2007-2008 The Florida State University
16# All rights reserved.
17#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are
9# met: redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer;
11# redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution;
14# neither the name of the copyright holders nor the names of its

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

47 Source('vtophys.cc')
48 Source('utility.cc')
49
50 SimObject('ArmNativeTrace.py')
51 SimObject('ArmTLB.py')
52
53 TraceFlag('Arm')
54 TraceFlag('Faults', "Trace Exceptions, interrupts, svc/swi")
18# Redistribution and use in source and binary forms, with or without
19# modification, are permitted provided that the following conditions are
20# met: redistributions of source code must retain the above copyright
21# notice, this list of conditions and the following disclaimer;
22# redistributions in binary form must reproduce the above copyright
23# notice, this list of conditions and the following disclaimer in the
24# documentation and/or other materials provided with the distribution;
25# neither the name of the copyright holders nor the names of its

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

58 Source('vtophys.cc')
59 Source('utility.cc')
60
61 SimObject('ArmNativeTrace.py')
62 SimObject('ArmTLB.py')
63
64 TraceFlag('Arm')
65 TraceFlag('Faults', "Trace Exceptions, interrupts, svc/swi")
66 TraceFlag('Predecoder', "Instructions returned by the predecoder")
55 if env['FULL_SYSTEM']:
56 Source('interrupts.cc')
57 Source('stacktrace.cc')
58 Source('system.cc')
59
60 SimObject('ArmInterrupts.py')
61 SimObject('ArmSystem.py')
62 else:
63 Source('process.cc')
64 Source('linux/linux.cc')
65 Source('linux/process.cc')
66
67 # Add in files generated by the ISA description.
68 isa_desc_files = env.ISADesc('isa/main.isa')
69 # Only non-header files need to be compiled.
70 for f in isa_desc_files:
71 if not f.path.endswith('.hh'):
72 Source(f)
73
67 if env['FULL_SYSTEM']:
68 Source('interrupts.cc')
69 Source('stacktrace.cc')
70 Source('system.cc')
71
72 SimObject('ArmInterrupts.py')
73 SimObject('ArmSystem.py')
74 else:
75 Source('process.cc')
76 Source('linux/linux.cc')
77 Source('linux/process.cc')
78
79 # Add in files generated by the ISA description.
80 isa_desc_files = env.ISADesc('isa/main.isa')
81 # Only non-header files need to be compiled.
82 for f in isa_desc_files:
83 if not f.path.endswith('.hh'):
84 Source(f)
85