powerpc/aim: ifdef DDB pmap debugging functions
INVARIANTS and DDB can be enabled independently. Submitted by: Sterling Jensen Pull Request: https://github.com/freebsd/freebsd-src/pull/566
This commit is contained in:
parent
153b6271a7
commit
47796d47ec
@ -2934,7 +2934,9 @@ retry:
|
||||
" asid=%lu curpid=%d name=%s origpte0x%lx\n",
|
||||
pmap, va, m, prot, flags, psind, pmap->pm_pid,
|
||||
curproc->p_pid, curproc->p_comm, origpte);
|
||||
#ifdef DDB
|
||||
pmap_pte_walk(pmap->pm_pml1, va);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
@ -3018,7 +3020,9 @@ retry:
|
||||
#ifdef INVARIANTS
|
||||
else if (origpte & PG_MANAGED) {
|
||||
if (pv == NULL) {
|
||||
#ifdef DDB
|
||||
pmap_page_print_mappings(om);
|
||||
#endif
|
||||
MPASS(pv != NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user