aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/context_switching/main.cpp
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-03-31 13:18:56 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-03-31 13:18:56 +0000
commite8fb1d771d9aa4d1cb5b18cd0483c7e5731aeecc (patch)
tree2746d6ba794fd4ee40a8da55aaca962587524858 /arch/x86_64/src/context_switching/main.cpp
parentabe7bd7480c8f4e1e30b9f0f3b98966222817f3e (diff)
downloadteachos-e8fb1d771d9aa4d1cb5b18cd0483c7e5731aeecc.tar.xz
teachos-e8fb1d771d9aa4d1cb5b18cd0483c7e5731aeecc.zip
Improve create_segment readability
Diffstat (limited to 'arch/x86_64/src/context_switching/main.cpp')
-rw-r--r--arch/x86_64/src/context_switching/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/src/context_switching/main.cpp b/arch/x86_64/src/context_switching/main.cpp
index db04b52..2b853ec 100644
--- a/arch/x86_64/src/context_switching/main.cpp
+++ b/arch/x86_64/src/context_switching/main.cpp
@@ -24,8 +24,6 @@ namespace teachos::arch::context_switching
// FIXME: We currently cannot enable interrupts, since for some reason, we will later run into what looks like a GP
// and triple fault.
- // @MTO: SOMETIMES i get past a breakpoint here???? seems to happen when i actually pause before (f.e. inside the
- // idt). NEVER happened when stepping through quickly. Can you reproduce this?
kernel::cpu::set_interrupt_flag();
descriptor_tables tables = {segment_descriptor_table::get_or_create_global_descriptor_table(),