Statistics
| Branch: | Revision:

root / pc-bios / optionrom @ 39ec9a50

Name Size
Makefile 803 Bytes
linuxboot.S 2.9 kB
multiboot.S 4 kB
optionrom.h 2.5 kB
signrom.sh 1.3 kB

Latest revisions

# Date Author Comment
dd4239d6 11/21/2009 11:32 am Juergen Lock

Allow build of linuxboot.S with old assemblers

In the spirit of ff56954baf9cfab5cbbe18d10b4a09e4a17f39a8, fix the
build of linuxboot.S with old as(1) (as found in some BSD base systems)
by emitting the bytes of the insn it doesn't like instead.

Signed-off-by: Juergen Lock <>...

dd4b2659 11/17/2009 06:39 pm Alexander Graf

Move common option rom code to header file

We will have a linux boot option rom soon, so let's take all functionality
that might be useful for both to a header file that both roms can include.

That way we only have to write fw_cfg access code once.

Signed-off-by: Alexander Graf <>...

57a46d05 11/17/2009 06:39 pm Alexander Graf

Convert linux bootrom to external rom and fw_cfg

We already have a working multiboot implementation that uses fw_cfg to get
its kernel module etc. data in int19 runtime now.

So what's missing is a working linux boot option rom. While at it I figured it
would be a good idea to take the opcode generator out of pc.c and instead use...

77873196 11/17/2009 06:39 pm Alexander Graf

Convert multiboot to fw_cfg backed data storage

Right now we load the guest kernel to RAM, fire off the BIOS, hope it
doesn't clobber memory and run an option rom that jumps into the kernel.

That breaks with SeaBIOS, as that clears memory. So let's read all...

ff56954b 10/27/2009 07:28 pm Juergen Lock

multiboot.S patch for old as(1) (was: Re: [Qemu-devel] Some OpenBSD/amd64 build fixes)

On Wed, Sep 23, 2009 at 10:55:02PM +0200, Juergen Lock wrote:

On Wed, Sep 23, 2009 at 09:31:16PM +0100, Laurence Tratt wrote:
[...]

then the above error doesn't occur, but...

3e4e4646 10/06/2009 10:46 pm Juan Quintela

optionrom: remove use of implicit RM variable

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4888ec26 10/06/2009 10:46 pm Juan Quintela

optionrom: create .PHONY variable

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

fc3baad7 10/05/2009 05:32 pm Thomas Monjalon

restore CFLAGS check for conflict and fix recursive CFLAGS issue

cc-option uses more make-syntax to replace the shell "if/else".

Issue with recursive += is fixed by doing the first assignment
simply-expanded, as explained in
http://www.gnu.org/software/make/manual/html_node/Appending.html...

9b083b62 09/10/2009 01:31 am Juan Quintela

otionrom: Use local CFLAGS no global one

It is needed by %.o : %.c rule.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ae20c622 09/10/2009 01:31 am Juan Quintela

optionrom: make clean should remove raw and .d

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom