From abfdd6eb3ed61d13a47735812eca0028caf6b6da Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 29 Sep 2024 08:51:32 -0400 Subject: some fixes --- idt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'idt.cpp') diff --git a/idt.cpp b/idt.cpp index de15ec9..8c4a796 100644 --- a/idt.cpp +++ b/idt.cpp @@ -62,8 +62,8 @@ struct StubEntry asm volatile(R"( pusha - mov %%ds, %%ax - push %%ax + mov %%ds, %%eax + push %%eax mov $0x10, %%ax mov %%ax, %%ds mov %%ax, %%es @@ -73,7 +73,7 @@ struct StubEntry cld call interruptGeneralHandler pop %%eax - pop %%ax + pop %%eax mov %%ax, %%ds mov %%ax, %%es mov %%ax, %%fs -- cgit v1.2.3