From 2a8454501cf2ef3fc561c6d83d4b3605e1566208 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Wed, 23 Jan 2002 12:25:07 +0000 Subject: [PATCH] Fix the addresses scanned by dump_lb_table.c so that we actually find the linuxbios table. --- util/lb-dump/dump_lb_table.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/util/lb-dump/dump_lb_table.c b/util/lb-dump/dump_lb_table.c index 6ab197a738..11080025b0 100644 --- a/util/lb-dump/dump_lb_table.c +++ b/util/lb-dump/dump_lb_table.c @@ -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);