From 720ed757702f6c1ac82a8ac2bf2e12ee1666877c Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 8 Feb 2026 11:59:18 +0000 Subject: [PATCH] x86_64: add invalid pmap pointer constant --- arch/x86_64/include/mango/machine/pmap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86_64/include/mango/machine/pmap.h b/arch/x86_64/include/mango/machine/pmap.h index f501702..8d47179 100644 --- a/arch/x86_64/include/mango/machine/pmap.h +++ b/arch/x86_64/include/mango/machine/pmap.h @@ -3,6 +3,8 @@ #include +#define ML_PMAP_INVALID ((uintptr_t)-1) + typedef pml4t_ptr_t ml_pmap_t; typedef uint64_t ml_pfn_t;