panic("NX violation!\n");
entry.noExec = pte.nx;
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
nextState = LongPDP;
break;
case LongPDP:
if (badNX)
panic("NX violation!\n");
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
nextState = LongPD;
break;
case LongPD:
if (badNX)
panic("NX violation!\n");
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
if (!pte.ps) {
// 4 KB page
entry.size = 4 * (1 << 10);
if (badNX)
panic("NX violation!\n");
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
entry.paddr = (uint64_t)pte & (mask(40) << 12);
entry.uncacheable = uncacheable;
entry.global = pte.g;
case PAEPDP:
nextRead = ((uint64_t)pte & (mask(40) << 12)) + vaddr.pael2 * size;
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
nextState = PAEPD;
break;
case PAEPD:
if (badNX)
panic("NX violation!\n");
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
if (!pte.ps) {
// 4 KB page
entry.size = 4 * (1 << 10);
if (badNX)
panic("NX violation!\n");
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
entry.paddr = (uint64_t)pte & (mask(40) << 12);
entry.uncacheable = uncacheable;
entry.global = pte.g;
entry.writable = pte.w;
entry.user = pte.u;
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
if (!pte.ps) {
// 4 KB page
entry.size = 4 * (1 << 10);
entry.writable = pte.w;
entry.user = pte.u;
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
// 4 KB page
entry.size = 4 * (1 << 10);
nextRead = ((uint64_t)pte & (mask(20) << 12)) + vaddr.norml2 * size;
entry.writable = pte.w;
entry.user = pte.u;
if (!pte.p)
- panic("Page not present!\n");
+ panic("Page at %#x not present!\n", entry.vaddr);
entry.paddr = (uint64_t)pte & (mask(20) << 12);
entry.uncacheable = uncacheable;
entry.global = pte.g;