summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-12 03:16:15 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-12 03:20:24 +0200
commitb323d403149db3d720a63af1087d44718821bd67 (patch)
treec15fdaf7053f40d8d6b89bc554e85998162391c7 /dev/ZKA/HALKit/AMD64/HalCommAPI.cxx
parent6d31d6e0959f224630317d247f489d18e65aa5bc (diff)
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 <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/HALKit/AMD64/HalCommAPI.cxx')
-rw-r--r--dev/ZKA/HALKit/AMD64/HalCommAPI.cxx4
1 files changed, 3 insertions, 1 deletions
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.