diff options
Diffstat (limited to 'include/aarch64/arch.h')
-rw-r--r-- | include/aarch64/arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/aarch64/arch.h b/include/aarch64/arch.h index 3a23e4f..055a745 100644 --- a/include/aarch64/arch.h +++ b/include/aarch64/arch.h @@ -248,6 +248,8 @@ #define OSH (0x2 << 6) #define ISH (0x3 << 6) +#define IS_PAGE_ALIGNED(addr) (((addr) & 0xFFF) == 0) + /* * AP[1] bit is ignored by hardware and is * treated as if it is One in EL2/EL3 |