mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
better type checking for vga (Glauber Costa)
unsigned long is too bad of a type. Use ram_addr_t instead. aligurori: fixed a compile warning in this patch Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5790 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0e1f5a0c49
commit
4efe27556d
4 changed files with 7 additions and 7 deletions
4
hw/pc.h
4
hw/pc.h
|
@ -134,9 +134,9 @@ int isa_vga_mm_init(DisplayState *ds, uint8_t *vga_ram_base,
|
|||
|
||||
/* cirrus_vga.c */
|
||||
void pci_cirrus_vga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base,
|
||||
unsigned long vga_ram_offset, int vga_ram_size);
|
||||
ram_addr_t vga_ram_offset, int vga_ram_size);
|
||||
void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base,
|
||||
unsigned long vga_ram_offset, int vga_ram_size);
|
||||
ram_addr_t vga_ram_offset, int vga_ram_size);
|
||||
|
||||
/* ide.c */
|
||||
void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue