Fix from Adam: Strip the kseg off the physical address in the RPB structure.
This commit is contained in:
parent
1940fcdd29
commit
8b1db1cf98
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ unixBoot(int go, int argc, char **argv)
|
||||||
rpb_crb->rpb_num = 1;
|
rpb_crb->rpb_num = 1;
|
||||||
rpb_crb->rpb_mapped_pages = HWRPB_PAGES;
|
rpb_crb->rpb_mapped_pages = HWRPB_PAGES;
|
||||||
rpb_crb->rpb_map[0].rpb_virt = 0x10000000;
|
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;
|
rpb_crb->rpb_map[0].rpb_pgcount = HWRPB_PAGES;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue