Fix compilation when DDB disabled. Adds 'ifdef DDB' around
DB_SHOW_COMMAND definitions.
This commit is contained in:
parent
247d222548
commit
643e9900ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211167
@ -3052,6 +3052,7 @@ pmap_align_tlb(vm_offset_t *addr)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef DDB
|
||||
DB_SHOW_COMMAND(ptable, ddb_pid_dump)
|
||||
{
|
||||
pmap_t pmap;
|
||||
@ -3077,9 +3078,8 @@ DB_SHOW_COMMAND(ptable, ddb_pid_dump)
|
||||
pmap = kernel_pmap;
|
||||
|
||||
db_printf("pmap:%p segtab:%p asid:%x generation:%x\n",
|
||||
pmap, pmap->pm_segtab,
|
||||
pmap->pm_asid[0].asid,
|
||||
pmap->pm_asid[0].gen);
|
||||
pmap, pmap->pm_segtab, pmap->pm_asid[0].asid,
|
||||
pmap->pm_asid[0].gen);
|
||||
for (i = 0; i < NPDEPG; i++) {
|
||||
pd_entry_t *pdpe;
|
||||
pt_entry_t *pde;
|
||||
@ -3112,7 +3112,7 @@ DB_SHOW_COMMAND(ptable, ddb_pid_dump)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user