From 8b1db1cf98c79a9a22ac241309fc480dbb5b4f20 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 6 Oct 2004 11:27:46 -0400 Subject: Fix from Adam: Strip the kseg off the physical address in the RPB structure. --- system/alpha/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/alpha/console/console.c b/system/alpha/console/console.c index a82e695e1..e7cf36ba5 100644 --- a/system/alpha/console/console.c +++ b/system/alpha/console/console.c @@ -709,7 +709,7 @@ unixBoot(int go, int argc, char **argv) rpb_crb->rpb_num = 1; rpb_crb->rpb_mapped_pages = HWRPB_PAGES; rpb_crb->rpb_map[0].rpb_virt = 0x10000000; - rpb_crb->rpb_map[0].rpb_phys = ((ul)rpb) & ~0x1fff; + rpb_crb->rpb_map[0].rpb_phys = KSEG_TO_PHYS(((ul)rpb) & ~0x1fff); rpb_crb->rpb_map[0].rpb_pgcount = HWRPB_PAGES; -- cgit v1.2.3