Message ID | 20180301155619.8640-3-david.brenken@efs-auto.org |
---|---|
State | New |
Headers | show |
Series | tricore: added small features + fixed wrong masks | expand |
On 03/01/2018 04:56 PM, David Brenken wrote: > From: David Brenken <david.brenken@efs-auto.de> > > 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> > --- > target/tricore/cpu.h | 1 + > target/tricore/csfr.def | 1 + > 2 files changed, 2 insertions(+) > I gave you a Reviewed-by for this patch. If you get one of those please add it to the next patchset's commit message. Cheers, Bastian
diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h index f41d2ce..c295763 100644 --- a/target/tricore/cpu.h +++ b/target/tricore/cpu.h @@ -59,6 +59,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 05c45dd..ff004cb 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)