All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] fix hw/slavio_intctl.c system read address mask
@ 2007-12-28  1:50 Robert Reif
  0 siblings, 0 replies; only message in thread
From: Robert Reif @ 2007-12-28  1:50 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: slavio_intctl.c.diff.txt --]
[-- Type: text/plain, Size: 438 bytes --]

diff -p -u -r1.24 slavio_intctl.c
--- hw/slavio_intctl.c	17 Nov 2007 21:01:04 -0000	1.24
+++ hw/slavio_intctl.c	28 Dec 2007 01:46:54 -0000
@@ -145,7 +145,7 @@ static uint32_t slavio_intctlm_mem_readl
     SLAVIO_INTCTLState *s = opaque;
     uint32_t saddr, ret;
 
-    saddr = (addr & INTCTLM_MAXADDR) >> 2;
+    saddr = (addr & INTCTLM_MASK) >> 2;
     switch (saddr) {
     case 0:
         ret = s->intregm_pending & ~MASTER_DISABLE;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-28  1:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28  1:50 [Qemu-devel] [PATCH] fix hw/slavio_intctl.c system read address mask Robert Reif

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.