diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 08:01:06 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 08:01:06 +0100 |
| commit | e03903b98aa0b4d2dc3ed4637863124f28c4e1fe (patch) | |
| tree | 26a970e7ec1121ff54e9091b6e7670fb7841e53b /Private/HALKit | |
| parent | eddb029b924d8ddf930667071878b4553c193492 (diff) | |
Meta: cleanup and fix assembly routines.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit')
| -rw-r--r-- | Private/HALKit/AMD64/HalInstallTIB.asm | 2 | ||||
| -rw-r--r-- | Private/HALKit/AMD64/HalRoutines.s | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Private/HALKit/AMD64/HalInstallTIB.asm b/Private/HALKit/AMD64/HalInstallTIB.asm index 58f4801b..260b496f 100644 --- a/Private/HALKit/AMD64/HalInstallTIB.asm +++ b/Private/HALKit/AMD64/HalInstallTIB.asm @@ -12,7 +12,7 @@ [global rt_install_tib] rt_install_tib: - mov rsi, gs + mov rcx, gs ret ;; //////////////////////////////////////////////////// ;; diff --git a/Private/HALKit/AMD64/HalRoutines.s b/Private/HALKit/AMD64/HalRoutines.s index 7965c8a8..3e70a507 100644 --- a/Private/HALKit/AMD64/HalRoutines.s +++ b/Private/HALKit/AMD64/HalRoutines.s @@ -5,11 +5,11 @@ .section .text rt_load_gdt: - lgdt (%rdi) + lgdt (%rcx) ret rt_load_idt: - lidt (%rdi) + lidt (%rcx) sti ret |
