pmap.h

From: Kamal R. Prasad <kamalpr_at_gmail.com>
Date: Sat, 26 Jun 2021 16:50:15 +0530
hello,

 therer are some #defines specific to amd64 in
https://github.com/freebsd/freebsd-src/blob/main/sys/amd64/include/pmap.h
like
#define X86_PG_V 0x001 /* P Valid */
#define X86_PG_RW 0x002 /* R/W Read/Write */
#define X86_PG_U 0x004 /* U/S User/Supervisor */
#define X86_PG_NC_PWT 0x008 /* PWT Write through */

the corresponding #defines are missing in
sys/arm64/include/pmap.h

i need them to take a dump of some pages. so, can some one tell me
where to get these #defines from?

thanks
-kamal
Received on Sat Jun 26 2021 - 11:20:15 UTC

Original text of this message