diff options
author | Chander Sudanthi <chander.sudanthi@arm.com> | 2012-06-05 01:23:10 -0400 |
---|---|---|
committer | Chander Sudanthi <chander.sudanthi@arm.com> | 2012-06-05 01:23:10 -0400 |
commit | 8a2ca2fd241a1019122578a875c917329710c930 (patch) | |
tree | 2c4f71668dc949bd0e2fb52dc023922bde43a3ac /src/arch/arm/system.hh | |
parent | e60b2ac7060eff8dd6d68c7f92ef220511e7daa2 (diff) | |
download | gem5-8a2ca2fd241a1019122578a875c917329710c930.tar.xz |
ARM: Fix MPIDR and MIDR register implementation.
This change allows designating a system as MP capable or not as some
bootloaders/kernels care that it's set right. You can have a single
processor MP capable system, but you can't have a multi-processor
UP only system. This change also fixes the initialization of the MIDR
register.
Diffstat (limited to 'src/arch/arm/system.hh')
-rw-r--r-- | src/arch/arm/system.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/arm/system.hh b/src/arch/arm/system.hh index 7cf36fd6c..3135c5da1 100644 --- a/src/arch/arm/system.hh +++ b/src/arch/arm/system.hh @@ -98,6 +98,9 @@ class ArmSystem : public System return addr & ~1; return addr; } + + /** true if this a multiprocessor system */ + bool multiProc; }; #endif |