• P
    x86 boot: change sanitize_e820_map parameter from byte to int to allow bigger memory maps · 6e9bcc79
    Paul Jackson 提交于
    The map size counter passed into, and back out of, sanitize_e820_map(),
    was an eight bit type (char or u8), as derived from its origins in
    legacy BIOS E820 structures.  This patch changes that type to an 'int',
    to allow this sanitize routine to also be used on larger maps (larger
    than the 256 count that fits in a char).  The legacy BIOS E820 interface
    of course does not change; that remains at 8 bits for this count, holding
    up to E820MAX == 128 entries.  But the kernel internals can handle more
    when those additional memory map entries are passed from the BIOS via
    EFI interfaces.
    Signed-off-by: NPaul Jackson <pj@sgi.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    6e9bcc79
setup.c 4.4 KB