diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-22 20:37:34 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-22 20:37:34 +0000 |
commit | 8d4cae3179ff1157ba23be55fbb1118f2141d88b (patch) | |
tree | aa6577c8726bacb9b49ec6a30545c02cdb64fa23 /hw/mainstone.c | |
parent | addaf8c0e1b557b6a32b833f11ec912bcdabef6a (diff) | |
download | qemu-8d4cae3179ff1157ba23be55fbb1118f2141d88b.tar.gz qemu-8d4cae3179ff1157ba23be55fbb1118f2141d88b.tar.bz2 qemu-8d4cae3179ff1157ba23be55fbb1118f2141d88b.zip |
Use correct types to enable > 2G support, based on a patch from
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4238 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mainstone.c')
-rw-r--r-- | hw/mainstone.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 9564fc37fa..4dd8ac007e 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -64,7 +64,7 @@ static struct arm_boot_info mainstone_binfo = { .ram_size = 0x04000000, }; -static void mainstone_common_init(int ram_size, int vga_ram_size, +static void mainstone_common_init(ram_addr_t ram_size, int vga_ram_size, DisplayState *ds, const char *kernel_filename, const char *kernel_cmdline, const char *initrd_filename, const char *cpu_model, enum mainstone_model_e model, int arm_id) @@ -133,7 +133,7 @@ static void mainstone_common_init(int ram_size, int vga_ram_size, arm_load_kernel(cpu->env, &mainstone_binfo); } -static void mainstone_init(int ram_size, int vga_ram_size, +static void mainstone_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) |