Fixed for rebase on v8.2.0 branch

This commit is contained in:
Martijn de Vos committed 2023-12-31 15:08:53 +01:00
1 parent 0d7c0f02c2
commit a29e52d425
4 files changed
+14 -11

No files matched your search

+2
View File
@@ -20,3 +20,5 @@ GTAGS
*.swp
*.patch
*.gcov
*.DS_Store
+1
View File
@@ -12,6 +12,7 @@
#include "hw/arm/exynos4210.h"
#include "hw/arm/ipod_touch_2g.h"
#include "target/arm/cpregs.h"
#include "qemu/error-report.h"
#define VMSTATE_IT2G_CPREG(name) \
VMSTATE_UINT64(IT2G_CPREG_VAR_NAME(name), IPodTouchMachineState)
+4 -4
View File
@@ -133,7 +133,7 @@ static uint32_t synopsys_usb_in_ep_read(synopsys_usb_state *_state, uint8_t _ep,
return _state->in_eps[_ep].dma_buffer;
default:
hw_error("usb_synopsys: bad ep read offset 0x" TARGET_FMT_plx "\n", _addr);
hw_error("usb_synopsys: bad ep read offset 0x" HWADDR_FMT_plx "\n", _addr);
break;
}
@@ -166,7 +166,7 @@ static uint32_t synopsys_usb_out_ep_read(synopsys_usb_state *_state, int _ep, hw
return _state->out_eps[_ep].dma_buffer;
default:
hw_error("usb_synopsys: bad ep read offset 0x" TARGET_FMT_plx "\n", _addr);
hw_error("usb_synopsys: bad ep read offset 0x" HWADDR_FMT_plx "\n", _addr);
break;
}
@@ -308,7 +308,7 @@ static void synopsys_usb_in_ep_write(synopsys_usb_state *_state, int _ep, hwaddr
return;
default:
hw_error("usb_synopsys: bad ep write offset 0x" TARGET_FMT_plx "\n", _addr);
hw_error("usb_synopsys: bad ep write offset 0x" HWADDR_FMT_plx "\n", _addr);
break;
}
}
@@ -346,7 +346,7 @@ static void synopsys_usb_out_ep_write(synopsys_usb_state *_state, int _ep, hwadd
return;
default:
hw_error("usb_synopsys: bad ep write offset 0x" TARGET_FMT_plx "\n", _addr);
hw_error("usb_synopsys: bad ep write offset 0x" HWADDR_FMT_plx "\n", _addr);
break;
}
}
+7 -7
View File
@@ -208,7 +208,7 @@ static uint64_t pl192_read(void *opaque, hwaddr offset, unsigned size)
PL192State *s = (PL192State *) opaque;
if (offset & 3) {
fprintf(stderr, "pl192: bad read offset (1) " TARGET_FMT_plx "\n", offset);
fprintf(stderr, "pl192: bad read offset (1) " HWADDR_FMT_plx "\n", offset);
return 0;
}
@@ -247,7 +247,7 @@ static uint64_t pl192_read(void *opaque, hwaddr offset, unsigned size)
return 0;
case PL192_SOFTINTCLEAR:
fprintf(stderr, "pl192: attempt to read write-only register (offset = "
TARGET_FMT_plx ")\n", offset);
HWADDR_FMT_plx ")\n", offset);
case PL192_VECTADDR:
return pl192_irq_ack(s);
/* Workaround for kernel code using PL190 */
@@ -256,7 +256,7 @@ static uint64_t pl192_read(void *opaque, hwaddr offset, unsigned size)
case PL190_DEFVECTADDR:
return 0;
default:
fprintf(stderr, "pl192: bad read offset (2) " TARGET_FMT_plx "\n", offset);
fprintf(stderr, "pl192: bad read offset (2) " HWADDR_FMT_plx "\n", offset);
return 0;
}
}
@@ -266,12 +266,12 @@ static void pl192_write(void *opaque, hwaddr offset, uint64_t value, unsigned si
PL192State *s = (PL192State *) opaque;
if (offset & 3) {
hw_error("pl192: bad write offset (1) " TARGET_FMT_plx "\n", offset);
hw_error("pl192: bad write offset (1) " HWADDR_FMT_plx "\n", offset);
}
if (offset >= 0xfe0 && offset < 0x1000) {
hw_error("pl192: attempt to write to a read-only register (offset = "
TARGET_FMT_plx ")\n", offset);
HWADDR_FMT_plx ")\n", offset);
}
if (offset >= 0x100 && offset < 0x180) {
s->vect_addr[(offset - 0x100) >> 2] = value;
@@ -292,7 +292,7 @@ static void pl192_write(void *opaque, hwaddr offset, uint64_t value, unsigned si
case PL192_FIQSTATUS:
case PL192_RAWINTR:
hw_error("pl192: attempt to write to a read-only register (offset = "
TARGET_FMT_plx ")\n", offset);
HWADDR_FMT_plx ")\n", offset);
break;
case PL192_INTSELECT:
s->intselect = value;
@@ -329,7 +329,7 @@ static void pl192_write(void *opaque, hwaddr offset, uint64_t value, unsigned si
/* Ignore written value */
return;
default:
fprintf(stderr, "pl192: bad write offset (2) " TARGET_FMT_plx "\n", offset);
fprintf(stderr, "pl192: bad write offset (2) " HWADDR_FMT_plx "\n", offset);
return;
}