X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hw%2Fxen_pt.c;h=7a3846e649610d21dad0fcecc753a8572aa3a5f7;hb=a8170e5e97ad17ca169c64ba87ae2f53850dab4c;hp=d3d7c8bc3c5096236fa7622e014d677e6437b133;hpb=50d2b4d93f45a425f15ac88bc4ec352f5c6e0bc2;p=mirror_qemu.git diff --git a/hw/xen_pt.c b/hw/xen_pt.c index d3d7c8bc3c..7a3846e649 100644 --- a/hw/xen_pt.c +++ b/hw/xen_pt.c @@ -363,7 +363,7 @@ out: /* register regions */ -static uint64_t xen_pt_bar_read(void *o, target_phys_addr_t addr, +static uint64_t xen_pt_bar_read(void *o, hwaddr addr, unsigned size) { PCIDevice *d = o; @@ -373,7 +373,7 @@ static uint64_t xen_pt_bar_read(void *o, target_phys_addr_t addr, addr); return 0; } -static void xen_pt_bar_write(void *o, target_phys_addr_t addr, uint64_t val, +static void xen_pt_bar_write(void *o, hwaddr addr, uint64_t val, unsigned size) { PCIDevice *d = o;