From: Ali Saidi Date: Wed, 6 Oct 2004 15:27:46 +0000 (-0400) Subject: Fix from Adam: Strip the kseg off the physical address in the RPB structure. X-Git-Tag: stable_2012_02_02~553^2~2^2~24 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b1db1cf98c79a9a22ac241309fc480dbb5b4f20;p=gem5.git Fix from Adam: Strip the kseg off the physical address in the RPB structure. --- 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;