diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-11-10 21:12:53 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-11-10 21:12:53 -0800 |
commit | 850eb54a7c3408b887a0f6663c021fd61f227204 (patch) | |
tree | 5412bd92b00a61c4e622819d9b823589b9c5e4a8 /src/arch/arm/utility.cc | |
parent | b8120f6c38f212acbfd246a3081842a9e3d06eb3 (diff) | |
parent | 2e28da5583814efe1e0a09718f6a674f983d12d1 (diff) | |
download | gem5-850eb54a7c3408b887a0f6663c021fd61f227204.tar.xz |
Merge with the head.
Diffstat (limited to 'src/arch/arm/utility.cc')
-rw-r--r-- | src/arch/arm/utility.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arch/arm/utility.cc b/src/arch/arm/utility.cc new file mode 100644 index 000000000..8cfa48e18 --- /dev/null +++ b/src/arch/arm/utility.cc @@ -0,0 +1,19 @@ + +#include <arch/arm/utility.hh> +#include <cpu/thread_context.hh> + + +namespace ArmISA { + +void +initCPU(ThreadContext *tc, int cpuId) +{ + // Reset CP15?? What does that mean -- ali + + // FPEXC.EN = 0 + + static Fault reset = new Reset(); + if (cpuId == 0) + reset->invoke(tc); +} + |