mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Print MD fields in the pcpu to aid debugging.
This commit is contained in:
parent
c50679660e
commit
a5d64faeca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205429
@ -577,6 +577,13 @@ db_write_bytes(vm_offset_t addr, size_t size, char *data)
|
||||
void
|
||||
db_show_mdpcpu(struct pcpu *pc)
|
||||
{
|
||||
struct pcpu_md *md = &pc->pc_md;
|
||||
|
||||
db_printf("MD: vhpt = %#lx\n", md->vhpt);
|
||||
db_printf("MD: lid = %#lx\n", md->lid);
|
||||
db_printf("MD: clock = %#lx/%#lx\n", md->clock, md->clockadj);
|
||||
db_printf("MD: stats = %p\n", &md->stats);
|
||||
db_printf("MD: pmap = %p\n", md->current_pmap);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user