summary refs log tree commit diff stats
path: root/hw/pl110.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-10-30 07:45:09 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-10-30 07:45:09 +0000
commit375cb560295484b88898262ebf400eff9a011206 (patch)
tree90ed4d5008c6f90e278a63e3cd3ebf2127b3d73d /hw/pl110.c
parentdf37416218a91a4ae962dfafbc8208af8087ebc0 (diff)
downloadfocaccia-qemu-375cb560295484b88898262ebf400eff9a011206.tar.gz
focaccia-qemu-375cb560295484b88898262ebf400eff9a011206.zip
hw/pl110: Use LOG_GUEST_ERROR rather than hw_error()
Use LOG_GUEST_ERROR to report guest accesses to invalid register
offsets.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pl110.c')
-rw-r--r--hw/pl110.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/pl110.c b/hw/pl110.c
index 82486b0c14..d5472f4cce 100644
--- a/hw/pl110.c
+++ b/hw/pl110.c
@@ -349,7 +349,8 @@ static uint64_t pl110_read(void *opaque, hwaddr offset,
     case 12: /* LCDLPCURR */
         return s->lpbase;
     default:
-        hw_error("pl110_read: Bad offset %x\n", (int)offset);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "pl110_read: Bad offset %x\n", (int)offset);
         return 0;
     }
 }
@@ -417,7 +418,8 @@ static void pl110_write(void *opaque, hwaddr offset,
         pl110_update(s);
         break;
     default:
-        hw_error("pl110_write: Bad offset %x\n", (int)offset);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "pl110_write: Bad offset %x\n", (int)offset);
     }
 }