From f3dbf2ca4aa445cf981cdebb374f0298e1bf4b03 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 24 May 2019 23:26:17 +0000 Subject: [PATCH] Add PG_PS_PDP_FRAME symbol. Similar to PG_FRAME and PG_PS_FRAME, it denotes the mask of the physical address component of 1G superpage PDP entry. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D20386 --- sys/amd64/include/pmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index d6739c2cea4e..309e62606cae 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -119,6 +119,7 @@ #define PG_PROMOTED X86_PG_AVAIL(54) /* PDE only */ #define PG_FRAME (0x000ffffffffff000ul) #define PG_PS_FRAME (0x000fffffffe00000ul) +#define PG_PS_PDP_FRAME (0x000fffffc0000000ul) /* * Promotion to a 2MB (PDE) page mapping requires that the corresponding 4KB