From: Aleksandar Ristovski <aristovski@qnx.com>
To: <qemu-trivial@nongnu.org>
Subject: [Qemu-trivial] DBGAUTHSTATUS register
Date: Thu, 29 May 2014 13:32:47 -0400 [thread overview]
Message-ID: <53876F3F.1060704@qnx.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
Hello,
This is not a big issue: DBGAUTHSTATUS, according to the docs, should
exist. According to "ARM Architecture Reference Manual, ARMv7-A and
ARMv7-R edition" (DDI0406C_b_arm_architecture_reference_manual.pdf),
DBGAUTHSTATUS is required in all implementations. Reading it should be
permitted, even if as RAZ only (implying no features are
implemented/enabled).
This trivial patch defines cp14 register DBGAUTHSTATUS.
Thank you,
---
Aleksandar Ristovski
QNX Software Systems
[-- Attachment #2: 0001-Author-Aleksandar-Ristovski-ARistovski-qnx.com.patch --]
[-- Type: text/x-patch, Size: 1142 bytes --]
From 88e2c564e8a17c0494024d773db4b6c4a0646342 Mon Sep 17 00:00:00 2001
From: Aleksandar Ristovski <ARistovski@qnx.com>
Date: Thu, 29 May 2014 13:20:45 -0400
Subject: [PATCH] Author: Aleksandar Ristovski <ARistovski@qnx.com> Date: Thu
May 29 13:03:28 2014 -0400
* target-arm/helper.c: Define DBGAUTHSTATUS register as RAZ.
---
target-arm/helper.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index ec031f5..ce1f0aa 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -395,6 +395,8 @@ static const ARMCPRegInfo cp_reginfo[] = {
*/
{ .name = "DBGDIDR", .cp = 14, .crn = 0, .crm = 0, .opc1 = 0, .opc2 = 0,
.access = PL0_R, .type = ARM_CP_CONST, .resetvalue = 0 },
+ { .name = "DBGAUTHSTATUS", .cp = 14, .crn = 7, .crm = 14, .opc1 = 0,
+ .opc2 = 6, .access = PL0_R, .type = ARM_CP_CONST, .resetvalue = 0 },
{ .name = "FCSEIDR", .cp = 15, .crn = 13, .crm = 0, .opc1 = 0, .opc2 = 0,
.access = PL1_RW, .fieldoffset = offsetof(CPUARMState, cp15.c13_fcse),
.resetvalue = 0, .writefn = fcse_write, .raw_writefn = raw_write, },
--
1.9.1
next reply other threads:[~2014-05-29 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 17:32 Aleksandar Ristovski [this message]
2014-06-10 15:50 ` [Qemu-trivial] DBGAUTHSTATUS register Michael Tokarev
2014-06-10 15:50 ` [Qemu-devel] " Michael Tokarev
2014-06-10 15:54 ` Michael Tokarev
2014-06-10 15:54 ` [Qemu-devel] " Michael Tokarev
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=53876F3F.1060704@qnx.com \
--to=aristovski@qnx.com \
--cc=qemu-trivial@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.