Voxia OS
v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
gdt.asm
Go to the documentation of this file.
1
[bits 64]
2
global reloadGDT
3
section .text
4
reloadGDT:
5
push rdi
6
lea rax, [rel .reload_cs]
7
push rax
8
retfq
9
.reload_cs:
10
mov rax, rsi
11
mov ds, rax
12
mov es, rax
13
mov fs, rax
14
mov gs, rax
15
mov ss, rax
16
ret
kernel
hal
cpu
gdt.asm
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2