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/ZBA/Sources/HEL/AMD64/BootAPI.S | |
| 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/ZBA/Sources/HEL/AMD64/BootAPI.S')
| -rw-r--r-- | dev/ZBA/Sources/HEL/AMD64/BootAPI.S | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootAPI.S b/dev/ZBA/Sources/HEL/AMD64/BootAPI.S index 9db0961a..47f250f1 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootAPI.S +++ b/dev/ZBA/Sources/HEL/AMD64/BootAPI.S @@ -40,8 +40,13 @@ wait_gate2: reset_wait: jmp reset_wait -.global write_cr3 +.global boot_write_cr3 +.global boot_read_cr3 -write_cr3: +boot_read_cr3: + mov rax, rax + ret + +boot_write_cr3: mov cr3, rcx ret |
