1 #include <linux/kernel.h>
8 #define BIOS_LOWMEM_KILOBYTES 0x413
22 unsigned int lowmem, ebda_addr;
38 ebda_addr = get_bios_ebda();
42 if ((lowmem - ebda_addr) <= 0x10000)
47 if ((ebda_addr == 0) && (lowmem >= 0x9f000))
51 if ((lowmem == 0) || (lowmem >= 0x100000))