x86: get_bios_ebda_length()
commit57d5f9f808b7650a92f31e9cd3acd3f415a22530
authorMike Waychison <mikew@google.com>
Tue, 15 Mar 2011 06:58:45 +0000 (14 23:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Apr 2011 21:13:15 +0000 (29 14:13 -0700)
tree47f8714e96f2f6d1fa0de28cb10812b5e43ea32b
parent773d67903ad608d3f64cc5b00e2f881473413c13
x86: get_bios_ebda_length()

Add a wrapper routine that tells us the length of the EBDA if it is
present.  This guy also ensures that the returned length doesn't let the
EBDA run past the 640KiB mark.

Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/bios_ebda.h