changeset fa59ff6f1526 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=fa59ff6f1526
description:
        Fix from Adam: Strip the kseg off the physical address in the RPB 
structure.

diffstat:

 system/alpha/console/console.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 09c853754bd9 -r fa59ff6f1526 system/alpha/console/console.c
--- a/system/alpha/console/console.c    Wed Sep 01 00:23:00 2004 -0400
+++ b/system/alpha/console/console.c    Wed Oct 06 11:27:46 2004 -0400
@@ -709,7 +709,7 @@
   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;
 
 
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to