diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2019-04-23 03:06:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2019-04-23 03:06:08 +0000 |
commit | 4330baef948287e91bb242d9846fb2976e18ecc2 (patch) | |
tree | caaa76a9953ba85a312eec16dad433d1c914e0db | |
parent | 57df8555f6251fa13b4bade5df6e765f935641fe (diff) |
Add a header to explain fields
-rw-r--r-- | regress/sys/arch/amd64/dump_tables/dump_tables.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/sys/arch/amd64/dump_tables/dump_tables.c b/regress/sys/arch/amd64/dump_tables/dump_tables.c index ee68ba2feea..c91e1d5c79d 100644 --- a/regress/sys/arch/amd64/dump_tables/dump_tables.c +++ b/regress/sys/arch/amd64/dump_tables/dump_tables.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dump_tables.c,v 1.2 2019/04/23 02:59:58 guenther Exp $ */ +/* $OpenBSD: dump_tables.c,v 1.3 2019/04/23 03:06:07 guenther Exp $ */ /* * Copyright (c) 2019 Philip Guenther <guenther@openbsd.org> * @@ -273,9 +273,12 @@ main(int argc, char **argv) KGETPT_VA(cr3, 4); } else { KGETPT_PA(cr3, 4); - printf("PML4 @ %016llx\n", cr3); + /*printf("PML4 @ %016llx\n", cr3);*/ check_mbz(cr3, mbz_normal[5]); } + printf("\ +VA lvl idx PA attr cumulative L4-slot\ +\n"); for (i = 0; i < PAGE_SIZE / sizeof(pd_entry_t); i++) { const char *name = NULL; if (i >= L4_SLOT_DIRECT && |