diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 02:24:36 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 02:24:36 +0000 |
commit | b584726df971c1238a5249cc21121cf2ebbcaf55 (patch) | |
tree | 32b73d21de064d8b3c28750d35608cac701d1863 /hw/pc.h | |
parent | a8b01dd87f3f1cb93d51ce87b13f57fe5415e33e (diff) |
Clean up VGA ram allocation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7063 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -144,21 +144,15 @@ extern enum vga_retrace_method vga_retrace_method; #define VGA_RAM_SIZE (9 * 1024 * 1024) #endif -int isa_vga_init(uint8_t *vga_ram_base, - unsigned long vga_ram_offset, int vga_ram_size); -int pci_vga_init(PCIBus *bus, uint8_t *vga_ram_base, - unsigned long vga_ram_offset, int vga_ram_size, +int isa_vga_init(int vga_ram_size); +int pci_vga_init(PCIBus *bus, int vga_ram_size, unsigned long vga_bios_offset, int vga_bios_size); -int isa_vga_mm_init(uint8_t *vga_ram_base, - unsigned long vga_ram_offset, int vga_ram_size, - target_phys_addr_t vram_base, target_phys_addr_t ctrl_base, - int it_shift); +int isa_vga_mm_init(int vga_ram_size, target_phys_addr_t vram_base, + target_phys_addr_t ctrl_base, int it_shift); /* cirrus_vga.c */ -void pci_cirrus_vga_init(PCIBus *bus, uint8_t *vga_ram_base, - ram_addr_t vga_ram_offset, int vga_ram_size); -void isa_cirrus_vga_init(uint8_t *vga_ram_base, - ram_addr_t vga_ram_offset, int vga_ram_size); +void pci_cirrus_vga_init(PCIBus *bus, int vga_ram_size); +void isa_cirrus_vga_init(int vga_ram_size); /* ide.c */ void isa_ide_init(int iobase, int iobase2, qemu_irq irq, |