diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-11 22:34:21 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-11 22:40:20 +0200 |
| commit | 6d31d6e0959f224630317d247f489d18e65aa5bc (patch) | |
| tree | 576f8e9b7e832807ea09df558373be9e75919c8c /dev/ZKA/HALKit/AMD64/HalCommAPI.cxx | |
| parent | bf11afdba8486d5b15445d55427a5e97385348fd (diff) | |
Did work on lowering overhead and a faster kernel to userspace loading.
- Userspace code and stack needs to be mapped to ring-3.
- Reworking PML4 from the ground up on AMD64.
- Start doing R&D on an ARM64 version of ZKA, running on CoreBoot.
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.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx b/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx index ff313f47..087090b0 100644 --- a/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx +++ b/dev/ZKA/HALKit/AMD64/HalCommAPI.cxx @@ -7,18 +7,14 @@ ------------------------------------------- */ +#include <HALKit/AMD64/Paging.hxx> #include <HALKit/AMD64/Processor.hxx> /** - * @file HalProcessorMgr.cxx - * @brief CPU Processor managers. + * @file HalCommAPI.cxx + * @brief CPU Processor common API. */ -#define cPageSz kPageSize // 4KB pages -#define cTotalPgMem gib_cast(16) // 16MB total memory -#define cTotalPages (cTotalPgMem / cPageSz) // Total number of pages -#define cBmpPgSz (cTotalPages / 8) // 1 bit per page in the bitmap - namespace Kernel::HAL { /// @brief Maps or allocates a page from virt_addr. @@ -28,6 +24,9 @@ namespace Kernel::HAL /// @return Status code of page manip. EXTERN_C Int32 mm_map_page(VoidPtr virt_addr, UInt32 flags) { + ZKA_UNUSED(virt_addr); + ZKA_UNUSED(flags); + return 0; } |
