diff options
Diffstat (limited to 'hw/pl050.c')
-rw-r--r-- | hw/pl050.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hw/pl050.c b/hw/pl050.c index b3a27976c..7b890e9c9 100644 --- a/hw/pl050.c +++ b/hw/pl050.c @@ -7,7 +7,9 @@ * This code is licenced under the GPL. */ -#include "vl.h" +#include "hw.h" +#include "primecell.h" +#include "ps2.h" typedef struct { void *dev; @@ -79,7 +81,7 @@ static uint32_t pl050_read(void *opaque, target_phys_addr_t offset) case 4: /* KMIIR */ return s->pending | 2; default: - cpu_abort (cpu_single_env, "pl050_read: Bad offset %x\n", offset); + cpu_abort (cpu_single_env, "pl050_read: Bad offset %x\n", (int)offset); return 0; } } @@ -108,7 +110,7 @@ static void pl050_write(void *opaque, target_phys_addr_t offset, s->clk = value; return; default: - cpu_abort (cpu_single_env, "pl050_write: Bad offset %x\n", offset); + cpu_abort (cpu_single_env, "pl050_write: Bad offset %x\n", (int)offset); } } static CPUReadMemoryFunc *pl050_readfn[] = { |