diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-11-19 18:00:39 -0600 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-11-19 18:00:39 -0600 |
commit | e1b9a815dd34b8c2ff9db1225d3553eab287ba1b (patch) | |
tree | 3f71a4461ca57c215ba9abac0449fb251eb52e80 /src/arch/noisa | |
parent | 92655b6399df526c8fe69f3b566dc9c7761782e3 (diff) | |
download | gem5-e1b9a815dd34b8c2ff9db1225d3553eab287ba1b.tar.xz |
SCons: Support building without an ISA
Diffstat (limited to 'src/arch/noisa')
-rw-r--r-- | src/arch/noisa/SConsopts | 4 | ||||
-rw-r--r-- | src/arch/noisa/cpu_dummy.hh | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/noisa/SConsopts b/src/arch/noisa/SConsopts new file mode 100644 index 000000000..fbfcf05c9 --- /dev/null +++ b/src/arch/noisa/SConsopts @@ -0,0 +1,4 @@ + +Import('*') + +all_isa_list.append('no') diff --git a/src/arch/noisa/cpu_dummy.hh b/src/arch/noisa/cpu_dummy.hh new file mode 100644 index 000000000..2b83f5e5d --- /dev/null +++ b/src/arch/noisa/cpu_dummy.hh @@ -0,0 +1,6 @@ + +class BaseCPU +{ + public: + static int numSimulatedInstructions() { return 0; } +}; |