From: Andrzej Zaborowski <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4295] Musicpal: convert to ram_addr_t
Date: Fri, 02 May 2008 01:35:21 +0000 [thread overview]
Message-ID: <E1JrkBF-0005by-Io@cvs.savannah.gnu.org> (raw)
Revision: 4295
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4295
Author: balrog
Date: 2008-05-02 01:35:20 +0000 (Fri, 02 May 2008)
Log Message:
-----------
Musicpal: convert to ram_addr_t
Modified Paths:
--------------
trunk/hw/musicpal.c
Modified: trunk/hw/musicpal.c
===================================================================
--- trunk/hw/musicpal.c 2008-05-01 19:05:12 UTC (rev 4294)
+++ trunk/hw/musicpal.c 2008-05-02 01:35:20 UTC (rev 4295)
@@ -1380,7 +1380,7 @@
.board_id = 0x20e,
};
-static void musicpal_init(int ram_size, int vga_ram_size,
+static void musicpal_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)
@@ -1410,7 +1410,7 @@
/* Catch various stuff not handled by separate subsystems */
iomemtype = cpu_register_io_memory(0, musicpal_readfn,
- musicpal_writefn, first_cpu);
+ musicpal_writefn, env);
cpu_register_physical_memory(0x80000000, 0x10000, iomemtype);
pic = mv88w8618_pic_init(MP_PIC_BASE, pic[ARM_PIC_CPU_IRQ]);
@@ -1465,7 +1465,7 @@
musicpal_binfo.kernel_filename = kernel_filename;
musicpal_binfo.kernel_cmdline = kernel_cmdline;
musicpal_binfo.initrd_filename = initrd_filename;
- arm_load_kernel(first_cpu, &musicpal_binfo);
+ arm_load_kernel(env, &musicpal_binfo);
}
QEMUMachine musicpal_machine = {
reply other threads:[~2008-05-02 1:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JrkBF-0005by-Io@cvs.savannah.gnu.org \
--to=balrogg@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).