diff options
author | David Brenken <david.brenken@efs-auto.de> | 2018-03-01 16:56:17 +0100 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2018-03-02 11:46:31 +0100 |
commit | 04e62411caa3560fd0c684820875fa86b934904b (patch) | |
tree | 629cdd5149a6df055a469a08ba58df623fcf65c9 /target/tricore | |
parent | defda2d42081fad509ef68feb33cb9c86da512e1 (diff) |
tricore: added CORE_ID
Signed-off-by: David Brenken <david.brenken@efs-auto.de>
Signed-off-by: Florian Artmeier <florian.artmeier@efs-auto.de>
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de>
Message-Id: <20180301155619.8640-3-david.brenken@efs-auto.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target/tricore')
-rw-r--r-- | target/tricore/cpu.h | 1 | ||||
-rw-r--r-- | target/tricore/csfr.def | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h index e7dfe4bcc6..045126181a 100644 --- a/target/tricore/cpu.h +++ b/target/tricore/cpu.h @@ -58,6 +58,7 @@ struct CPUTriCoreState { uint32_t PC; uint32_t SYSCON; uint32_t CPU_ID; + uint32_t CORE_ID; uint32_t BIV; uint32_t BTV; uint32_t ISP; diff --git a/target/tricore/csfr.def b/target/tricore/csfr.def index 05c45dd628..ff004cbddc 100644 --- a/target/tricore/csfr.def +++ b/target/tricore/csfr.def @@ -10,6 +10,7 @@ A(0xfe00, PCXI, TRICORE_FEATURE_13) A(0xfe08, PC, TRICORE_FEATURE_13) A(0xfe14, SYSCON, TRICORE_FEATURE_13) R(0xfe18, CPU_ID, TRICORE_FEATURE_13) +R(0xfe1c, CORE_ID, TRICORE_FEATURE_161) E(0xfe20, BIV, TRICORE_FEATURE_13) E(0xfe24, BTV, TRICORE_FEATURE_13) E(0xfe28, ISP, TRICORE_FEATURE_13) |