/* * Copyright (c) 2026, Chloe M. * Provided under the BSD-3 clause. * * Description: Memory management API * Author: Chloe M. */ #ifndef _PTAPI_PTMM_H_ #define _PTAPI_PTMM_H_ 1 #include /* Protection flags type */ typedef USHORT MM_PROT; /* Page-level protection flags */ #define PAGE_READ 0x00 #define PAGE_WRITE BIT(0) #define PAGE_EXEC BIT(1) #if defined(_KERNEL) #define PAGE_USER BIT(2) #endif /* !_KERNEL */ #endif /* !_PTAPI_PTMM_H_ */