4 | | assert(IOPHYSMEM == npages_basemem * PGSIZE); |
5 | | assert(IOPHYSMEM/PGSIZE == npages_basemem); |
6 | | cprintf("EXTPHYSMEM:\t%08x (pa)\t%08x (kva)\n", EXTPHYSMEM, KADDR(EXTPHYSMEM)); |
7 | | cprintf("nextfree:\t%08x (pa)\t%08x (kva)\n", boot_alloc(0), PADDR(boot_alloc(0))); |
8 | | assert(boot_alloc(0) == page2kva(&pages[PADDR(boot_alloc(0))/PGSIZE])); |
| 4 | assert(IOPHYSMEM == npages_basemem * PGSIZE); |
| 5 | assert(IOPHYSMEM/PGSIZE == npages_basemem); |
| 6 | cprintf("EXTPHYSMEM:\t%08x (pa)\t%08x (kva)\n", EXTPHYSMEM, KADDR(EXTPHYSMEM)); |
| 7 | cprintf("nextfree:\t%08x (pa)\t%08x (kva)\n", boot_alloc(0), PADDR(boot_alloc(0))); |
| 8 | assert(boot_alloc(0) == page2kva(&pages[PADDR(boot_alloc(0))/PGSIZE])); |