summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-10-06 11:27:46 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-10-06 11:27:46 -0400
commit8b1db1cf98c79a9a22ac241309fc480dbb5b4f20 (patch)
treee022c4f6e8028bb3b1786f3c3d36a36826e07deb /system
parent1940fcdd2915697a7d213043dcd45260bf5b2eda (diff)
downloadgem5-8b1db1cf98c79a9a22ac241309fc480dbb5b4f20.tar.xz
Fix from Adam: Strip the kseg off the physical address in the RPB structure.
Diffstat (limited to 'system')
-rw-r--r--system/alpha/console/console.c2
1 files changed, 1 insertions, 1 deletions
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;