aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-03-16 12:50:14 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-03-16 12:50:14 +0000
commit37cb71ca7771a28835e3ed6aa5ed0797c9ba50fa (patch)
tree5ebd266a5438e72458b4eac891807fb0509ec834 /arch/x86_64/src
parent36758071881088b27a52cee4e5653f6cf6a79a78 (diff)
downloadteachos-37cb71ca7771a28835e3ed6aa5ed0797c9ba50fa.tar.xz
teachos-37cb71ca7771a28835e3ed6aa5ed0797c9ba50fa.zip
add comment
Diffstat (limited to 'arch/x86_64/src')
-rw-r--r--arch/x86_64/src/kernel/cpu/tr.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86_64/src/kernel/cpu/tr.cpp b/arch/x86_64/src/kernel/cpu/tr.cpp
index a28b9fc..ad38d09 100644
--- a/arch/x86_64/src/kernel/cpu/tr.cpp
+++ b/arch/x86_64/src/kernel/cpu/tr.cpp
@@ -9,7 +9,6 @@ namespace teachos::arch::kernel::cpu
return current_value;
}
- // TODO: Is this really correct?
auto load_task_register(uint16_t gdt_offset) -> void
{
asm volatile("ltr %[input]" : /* no output from call */ : [input] "m"(gdt_offset));