[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Coldfire 5282 Support

From: Thomas Huth
Subject: Re: [Qemu-discuss] Coldfire 5282 Support
Date: Sat, 9 Sep 2017 07:23:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 08.09.2017 22:32, William Mahoney wrote:
> I thought I would look at the -bios first and I had some time this afternoon. 
> If you’re the right age group you will understand when I say "YOU ARE IN A 

No, looks like I'm too young - my first computer was an Atari ST, and
I've never seen a version of that game on this machine.

> "digic_load_rom()" knows the filename via an extern “bios_name” which is at 
> “include/sysemu/sysemu.h” but really lives in “vl.c”. It is set based on 
> “machine_ops” that comes from “qemu_get_machine_opts()” which in turn comes 
> from “emu_find_opts_singleton()” which is in "util/qemu-config.c”…
> Shortcut time. Presumably there is a way to specify some command line switch, 
> described as “-bios”, and have the filename end up at “digit_load_rom()”. But 
> I don’t see the direct path, or a header with all the options listed for the 
> specific machine, or… Can you walk me through how a “-bios” command line 
> switch is actually supposed to appear (it doesn’t on qemu-system-arm)?

It should just be there (also on qemu-system-arm). For example, try to
add a "fprintf(stderr, "bios_name = %s\n", bios_name);" into the
mcf5208evb_init() and then run "qemu-system-m68k -bios /tmp/file" - you
should be able to see "bios_name = /tmp/file" in the output of QEMU.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]