Fix the addresses scanned by dump_lb_table.c so that we actually find the linuxbios table.

This commit is contained in:
Eric W. Biederman 2002-01-23 12:25:07 +00:00
parent da0d133106
commit 2a8454501c

View file

@ -183,7 +183,11 @@ int main(int argc, char **argv)
0x00000000UL, errno, strerror(errno));
exit(-2);
}
lb_table = find_lb_table(low_1MB + 0xf0000, low_1MB + 1024*1024);
lb_table = 0;
if (!lb_table)
lb_table = find_lb_table(low_1MB + 0x00000, low_1MB + 0x1000);
if (!lb_table)
lb_table = find_lb_table(low_1MB + 0xf0000, low_1MB + 1024*1024);
if (lb_table) {
printf("lb_table = 0x%08x\n",
lb_table - (void *)low_1MB);