Statistics
| Branch: | Revision:

root / pc-bios / optionrom @ 868a1a52

Name Size
Makefile 880 Bytes
kvmvapic.S 5.1 kB
linuxboot.S 2.9 kB
multiboot.S 4.1 kB
optionrom.h 3.2 kB

Latest revisions

# Date Author Comment
0d6b9cc7 04/16/2012 04:41 pm Jan Kiszka

signrom: Rewrite as python script

Now that we have a hard dependency on python anyway, we can replace the
slow shell script to calculate the option ROM checksum with a fast AND
portable python version. Tested both with python 2.7 and 3.1.

Signed-off-by: Jan Kiszka <>

50198112 02/18/2012 12:16 pm Jan Kiszka

kvmvapic: Use optionrom helpers

Use OPTION_ROM_START/END from the common header file, add comment to
init code.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

1189aa51 02/18/2012 12:16 pm Jan Kiszka

kvmvapic: Simplify mp/up_set_tpr

The CH registers is only written, never read. So we can remove these
operations and, in case of up_set_tpr, also the ECX push/pop.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

209ca750 02/18/2012 12:16 pm Jan Kiszka

optionsrom: Reserve space for checksum

Always add a byte before the final 512-bytes alignment to reserve the
space for the ROM checksum.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

2a2af967 02/18/2012 12:15 pm Jan Kiszka

kvmvapic: Add option ROM

This imports and builds the original VAPIC option ROM of qemu-kvm.
Its interaction with QEMU is described in the commit that introduces the
corresponding device model.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

6fbcef29 02/01/2012 10:45 pm Jan Kiszka

optionroms: Silence intermediate file removal

The build process of optionroms spits out an "rm ..." line. Moreover, it
removes all .o files that can be handy for debugging purposes. So
disable automatic intermediate removal.

Signed-off-by: Jan Kiszka <>...

e7d81004 12/14/2011 01:09 pm Stefan Weil

Fix spelling in comments, documentation and messages

accidently->accidentally
annother->another
choosen->chosen
consideres->considers
decriptor->descriptor
developement->development
paramter->parameter
preceed->precede
preceeding->preceding
priviledge->privilege...

75b9f690 03/22/2011 08:00 am Gleb Natapov

fix linuxboot.bin and multiboot.bin to not hijack int19

Currently linuxboot.bin and multiboot.bin option roms override int19
vector to intercept boot process. No sane option rom should do that.
Provide bev entry instead that will be called by BIOS if option rom...

4c3b5a48 01/20/2011 10:54 pm Blue Swirl

Add scripts directory

Move build and user scripts into scripts directory.

Signed-off-by: Blue Swirl <>

33bbd1de 11/21/2010 05:16 pm Avi Kivity

optionrom: fix bugs in signrom.sh

signrom.sh has multiple bugs:

- the last byte is considered when calculating the existing checksum, but not
when computing the correction
- apprently the 'expr' expression overflows and produces incorrect results with...

View revisions

Also available in: Atom