qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Brenken <david.brenken@efs-auto.org>
To: qemu-devel@nongnu.org
Cc: kbastian@mail.uni-paderborn.de,
	David Brenken <david.brenken@efs-auto.de>,
	Georg Hofstetter <georg.hofstetter@efs-auto.de>,
	Florian Artmeier <florian.artmeier@efs-auto.de>
Subject: [Qemu-devel] [PATCH 2/5] tricore: added CORE_ID
Date: Mon, 19 Feb 2018 07:18:24 +0100	[thread overview]
Message-ID: <20180219061827.2112-3-david.brenken@efs-auto.org> (raw)
In-Reply-To: <20180219061827.2112-1-david.brenken@efs-auto.org>

From: David Brenken <david.brenken@efs-auto.de>

Signed-off-by: David Brenken <david.brenken@efs-auto.de>
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de>
Signed-off-by: Florian Artmeier <florian.artmeier@efs-auto.de>
---
 target/tricore/cpu.h    | 1 +
 target/tricore/csfr.def | 1 +
 2 files changed, 2 insertions(+)

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..ca8209c 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)
-- 
2.7.4

  parent reply	other threads:[~2018-02-19  6:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-19  6:18 [Qemu-devel] [PATCH 0/5] tricore: added small features + fixed wrong masks David Brenken
2018-02-19  6:18 ` [Qemu-devel] [PATCH 1/5] tricore: added some missing cpu instructions David Brenken
2018-02-20 15:48   ` Bastian Koppelmann
2018-02-19  6:18 ` David Brenken [this message]
2018-02-20 15:53   ` [Qemu-devel] [PATCH 2/5] tricore: added CORE_ID Bastian Koppelmann
2018-02-19  6:18 ` [Qemu-devel] [PATCH 3/5] tricore: fixed wrong masking of IE David Brenken
2018-02-20 15:59   ` Bastian Koppelmann
2018-02-19  6:18 ` [Qemu-devel] [PATCH 4/5] tricore: fixed wrong mask of PCXI_PIE David Brenken
2018-02-20 16:03   ` Bastian Koppelmann
2018-02-19  6:18 ` [Qemu-devel] [PATCH 5/5] tricore: fixed wrong shifting of PCXI PIE David Brenken
2018-02-20 15:48 ` [Qemu-devel] [PATCH 0/5] tricore: added small features + fixed wrong masks Bastian Koppelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180219061827.2112-3-david.brenken@efs-auto.org \
    --to=david.brenken@efs-auto.org \
    --cc=david.brenken@efs-auto.de \
    --cc=florian.artmeier@efs-auto.de \
    --cc=georg.hofstetter@efs-auto.de \
    --cc=kbastian@mail.uni-paderborn.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).