2008-01-16 Robert Millan <rmh@aybabtu.com>

* include/grub/i386/linuxbios/memory.h
        (GRUB_MEMORY_MACHINE_LINUXBIOS_TABLE_ADDR): Remove macro.
        * kern/i386/linuxbios/table.c (grub_linuxbios_table_iterate): Do not
        receive `table_header' as argument.  Instead, probe for it in the
        known memory ranges where it can be present.
        (grub_available_iterate): Do not pass a fixed `table_header' address
        to grub_linuxbios_table_iterate().
This commit is contained in:
robertmh 2008-01-16 21:03:07 +00:00
parent 58ec9deb2a
commit 1210e168fe
3 changed files with 36 additions and 9 deletions

View file

@ -28,8 +28,6 @@
#include <grub/err.h>
#endif
#define GRUB_MEMORY_MACHINE_LINUXBIOS_TABLE_ADDR 0x500
#define GRUB_MEMORY_MACHINE_LOWER_USABLE 0x9fc00 /* 640 kiB - 1 kiB */
#define GRUB_MEMORY_MACHINE_LOWER_SIZE 0xf0000 /* 960 kiB */