• H. Peter Anvin's avatar
    x86, setup: ACPI 3, BIOS workaround for E820-probing code · c549e71d
    H. Peter Anvin authored
    Impact: ACPI 3 spec compliance, BIOS bug workaround
    
    The ACPI 3 spec added another field to the E820 buffer -- which is
    backwards incompatible, since it contains a validity bit.
    Furthermore, there has been at least one report of a BIOS which
    assumes that the buffer it is pointed at is the same buffer as for the
    previous E820 call.  Therefore, read the data into a temporary buffer
    and copy the standard part of it if and only if the valid bit is set.
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    c549e71d
memory.c 3.11 KB