]> git.proxmox.com Git - qemu.git/blobdiff - hw/r2d.c
Use correct types to enable > 2G support, based on a patch from
[qemu.git] / hw / r2d.c
index 8480cf32d9cadc9820cbb53c9d49ce9427b42326..22948745a43e06589db501ba0da4cbc522de1b16 100644 (file)
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -30,7 +30,7 @@
 #define SDRAM_BASE 0x0c000000 /* Physical location of SDRAM: Area 3 */
 #define SDRAM_SIZE 0x04000000
 
-static void r2d_init(int ram_size, int vga_ram_size,
+static void r2d_init(ram_addr_t ram_size, int vga_ram_size,
               const char *boot_device, DisplayState * ds,
              const char *kernel_filename, const char *kernel_cmdline,
              const char *initrd_filename, const char *cpu_model)