diff options
author | 2019-04-23 03:06:07 +0000 | |
---|---|---|
committer | 2019-04-23 03:06:07 +0000 | |
commit | 16cbbb6a89e036bf9eae343cdfe92c744ead88fb (patch) | |
tree | c29aa695b08fc5e2a0647bb33185b9e6d0fb673a | |
parent | Add -u for getting pagetables of pid 1 (diff) | |
download | wireguard-openbsd-16cbbb6a89e036bf9eae343cdfe92c744ead88fb.tar.xz wireguard-openbsd-16cbbb6a89e036bf9eae343cdfe92c744ead88fb.zip |
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 && |