* [Qemu-devel] [PATCH] sparc32 add a few more ASI
@ 2007-12-09 20:37 Robert Reif
2007-12-10 20:11 ` Blue Swirl
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2007-12-09 20:37 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: asi.diff.txt --]
[-- Type: text/plain, Size: 1049 bytes --]
diff -p -u -r1.60 op_helper.c
--- target-sparc/op_helper.c 28 Nov 2007 18:08:28 -0000 1.60
+++ target-sparc/op_helper.c 9 Dec 2007 20:33:02 -0000
@@ -411,6 +411,9 @@ void helper_ld_asi(int asi, int size, in
break;
}
break;
+ case 0x39: /* data cache diagnostic register */
+ ret = 0;
+ break;
case 0x21 ... 0x2d: /* MMU passthrough, unassigned */
default:
do_unassigned_access(T0, 0, 0, 1);
@@ -703,9 +706,13 @@ void helper_st_asi(int asi, int size)
}
}
return;
- case 0x31: /* Ross RT620 I-cache flush */
+ case 0x30: /* store buffer tags */
+ case 0x31: /* store buffer data or Ross RT620 I-cache flush */
+ case 0x32: /* store buffer control */
case 0x36: /* I-cache flash clear */
case 0x37: /* D-cache flash clear */
+ case 0x38: /* breakpoint diagnostics */
+ case 0x4c: /* breakpoint action */
break;
case 9: /* Supervisor code access, XXX */
case 0x21 ... 0x2d: /* MMU passthrough, unassigned */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] sparc32 add a few more ASI
2007-12-09 20:37 [Qemu-devel] [PATCH] sparc32 add a few more ASI Robert Reif
@ 2007-12-10 20:11 ` Blue Swirl
0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2007-12-10 20:11 UTC (permalink / raw)
To: qemu-devel
On 12/9/07, Robert Reif <reif@earthlink.net> wrote:
>
>
> diff -p -u -r1.60 op_helper.c
> --- target-sparc/op_helper.c 28 Nov 2007 18:08:28 -0000 1.60
> +++ target-sparc/op_helper.c 9 Dec 2007 20:33:02 -0000
> @@ -411,6 +411,9 @@ void helper_ld_asi(int asi, int size, in
> break;
> }
> break;
> + case 0x39: /* data cache diagnostic register */
> + ret = 0;
> + break;
> case 0x21 ... 0x2d: /* MMU passthrough, unassigned */
> default:
> do_unassigned_access(T0, 0, 0, 1);
> @@ -703,9 +706,13 @@ void helper_st_asi(int asi, int size)
> }
> }
> return;
> - case 0x31: /* Ross RT620 I-cache flush */
> + case 0x30: /* store buffer tags */
> + case 0x31: /* store buffer data or Ross RT620 I-cache flush */
> + case 0x32: /* store buffer control */
> case 0x36: /* I-cache flash clear */
> case 0x37: /* D-cache flash clear */
> + case 0x38: /* breakpoint diagnostics */
> + case 0x4c: /* breakpoint action */
> break;
> case 9: /* Supervisor code access, XXX */
> case 0x21 ... 0x2d: /* MMU passthrough, unassigned */
Thanks, applied.
Hardware breakpoint support could be useful, though GDB works without it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-10 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-09 20:37 [Qemu-devel] [PATCH] sparc32 add a few more ASI Robert Reif
2007-12-10 20:11 ` Blue Swirl
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).