Revision a8170e5e hw/vga-pci.c
b/hw/vga-pci.c | ||
---|---|---|
62 | 62 |
} |
63 | 63 |
}; |
64 | 64 |
|
65 |
static uint64_t pci_vga_ioport_read(void *ptr, target_phys_addr_t addr,
|
|
65 |
static uint64_t pci_vga_ioport_read(void *ptr, hwaddr addr,
|
|
66 | 66 |
unsigned size) |
67 | 67 |
{ |
68 | 68 |
PCIVGAState *d = ptr; |
... | ... | |
80 | 80 |
return ret; |
81 | 81 |
} |
82 | 82 |
|
83 |
static void pci_vga_ioport_write(void *ptr, target_phys_addr_t addr,
|
|
83 |
static void pci_vga_ioport_write(void *ptr, hwaddr addr,
|
|
84 | 84 |
uint64_t val, unsigned size) |
85 | 85 |
{ |
86 | 86 |
PCIVGAState *d = ptr; |
... | ... | |
110 | 110 |
.endianness = DEVICE_LITTLE_ENDIAN, |
111 | 111 |
}; |
112 | 112 |
|
113 |
static uint64_t pci_vga_bochs_read(void *ptr, target_phys_addr_t addr,
|
|
113 |
static uint64_t pci_vga_bochs_read(void *ptr, hwaddr addr,
|
|
114 | 114 |
unsigned size) |
115 | 115 |
{ |
116 | 116 |
PCIVGAState *d = ptr; |
... | ... | |
120 | 120 |
return vbe_ioport_read_data(&d->vga, 0); |
121 | 121 |
} |
122 | 122 |
|
123 |
static void pci_vga_bochs_write(void *ptr, target_phys_addr_t addr,
|
|
123 |
static void pci_vga_bochs_write(void *ptr, hwaddr addr,
|
|
124 | 124 |
uint64_t val, unsigned size) |
125 | 125 |
{ |
126 | 126 |
PCIVGAState *d = ptr; |
Also available in: Unified diff