Statistics
| Branch: | Revision:

root / pc-bios / optionrom @ 076d2471

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

Latest revisions

# Date Author Comment
076d2471 01/08/2010 05:58 pm Paolo Bonzini

Use vpath directive

The vpath directive has two advantages over the VPATH variable:
1) it allows to skip searching of .o files; 2) the default semantics
are to append to the vpath, so there is no confusion between "VPATH=xyz"
and "VPATH+=xyz".

Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper...

36ecd7c0 12/18/2009 07:26 pm Paolo Bonzini

Fix thinko in linuxboot.S

The %gs segment that was used was not matching the comments.
I just moved the GDT descriptor on the stack instead.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

dc61b0dc 12/03/2009 11:25 pm Alexander Graf

Make -kernel for linux work with bochsbios

While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized
that I was actually writing data to %es, but only set up %ds to a 32-bit
segment we want to write to.

So at the end of the day the data hasn't actually been copied. Oops....

53ea95de 12/03/2009 11:25 pm Adam Lackorzynski

multiboot: Fix module loading and setting of mmap.

Signed-off-by: Adam Lackorzynski <>
Acked-by: Alexander Graf <>
Signed-off-by: Anthony Liguori <>

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...

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

optionrom: create .PHONY variable

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

View revisions

Also available in: Atom