From b323d403149db3d720a63af1087d44718821bd67 Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 12 Sep 2024 03:16:15 +0200 Subject: Kernel improvements, and Paging API changes. ZKA: - Updated and fixed 4KB pages on ARM64. - Fixed 4KB pages on AMD64. - Refactor BMP allocator. ZBA: - Refactor Handover protocol. DDK: - Refactor and breaking API changes. HPFS: - Update code according to DDK. Signed-off-by: Amlal --- dev/ZKA/HALKit/AMD64/HalCommAPI.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev/ZKA/HALKit/AMD64/HalCommAPI.cxx') diff --git a/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx b/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx index 087090b0..b78fd1f0 100644 --- a/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx +++ b/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx @@ -12,9 +12,11 @@ /** * @file HalCommAPI.cxx - * @brief CPU Processor common API. + * @brief CPU Common API. */ +#define PhysShift36(ADDR) ((UInt64)ADDR >> 12) + namespace Kernel::HAL { /// @brief Maps or allocates a page from virt_addr. -- cgit v1.2.3