Statistics
| Branch: | Revision:

root / hw / multiboot.c @ 025b168c

History | View | Annotate | Download (11.9 kB)

# Date Author Comment
c83066d4 06/03/2011 11:12 pm Arun Thomas

multiboot: set boot_device to first partition

The multiboot info struct's 'boot_device' field has 'part1' set to 0x01, which
maps to the second primary partition. To specify the first primary partition,
'part1' should be set to 0x00, since partition numbers start from zero...

f95857b3 04/09/2011 12:40 pm Adam Lackorzynski

multiboot: Quote filename in error message

Quote filename in error message to spot possible whitespace character in
the filename and make error message more meaningful.

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

0bfe006c 01/23/2011 11:44 pm Kevin Wolf

multiboot: Fix upper memory size in multiboot info

The upper memory size field should exclude the first MB of RAM.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Aurelien Jarno <>

2e55e842 12/11/2010 11:32 pm Gleb Natapov

Add bootindex for option roms.

Extend -option-rom command to have additional parameter ,bootindex=.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Blue Swirl <>

96968466 11/16/2010 05:31 pm Adam Lackorzynski

multiboot: Prevent loading of x86_64 images

A via -kernel supplied x86_64 ELF image is being started in 32bit mode.
Detect and exit if a 64bit image has been supplied.

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

37a05af0 09/04/2010 12:45 pm Jes Sorensen

load_multiboot(): get_image_size() returns int

Do not store return of get_image_size() in a uint32_t as it makes it
impossible to detect error returns from get_image_size.

Signed-off-by: Jes Sorensen <>
Signed-off-by: Blue Swirl <>

bd418d90 06/10/2010 07:49 pm Isaku Yamahata

multiboot: compilation fix with DEBUG_MULTIBOOT enabled.

This patch fixes the following compilation errors in multiboot.c
when DEBUG_MULTIBOOT is defined.
Use TARGET_FMT_plx instead of %x for target_phys_addr_t.

CC    i386-softmmu/multiboot.o
cc1: warnings being treated as errors...
409dbce5 03/16/2010 09:38 am Aurelien Jarno

load_elf: replace the address addend by a translation function

A few machines need to translate the ELF header addresses into physical
addresses. Currently the only possibility is to add a value to the
addresses.

This patch replaces the addend argument by and a translation function...

52001445 01/08/2010 05:58 pm Adam Lackorzynski

multiboot: Separate multiboot loading into separate file

Move multiboot loading code into separate files as suggested by Alex Graf.

Signed-off-by: Adam Lackorzynski <>
Signed-off-by: Anthony Liguori <>