Show
Ignore:
Timestamp:
07/24/08 01:22:59 (4 months ago)
Author:
mjones
Message:

This patch fixes the kernel EBDA mislocation problem. Thank you, Yinghai.

The change in tables.c protects the legacy x86 BIOS data segment
(0x400-0x4ff) from being used for storing coreboot tables. Some
bytes from the segment are used by the kernel and should not be
garbled.

The change in coreboot_table.c is not strictly necessary. It removes
some redundancy and confusion.

Signed-off-by: Roman Kononov <kononov@…>
Acked-by: Marc Jones <marc.jones@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/coreboot-v2/src/arch/i386/boot/tables.c

    r3057 r3437  
    7373        /* Don't write anything in the traditional x86 BIOS data segment, 
    7474         * for example the linux kernel smp need to use 0x467 to pass reset vector 
     75         * or use 0x40e/0x413 for EBDA finding... 
    7576         */ 
    76         if(new_low_table_end>0x467){ 
     77        if(new_low_table_end>0x400){ 
    7778                unsigned mptable_size; 
    7879                unsigned mpc_start;