aboutsummaryrefslogtreecommitdiffstats
path: root/idt.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-09-29 08:47:28 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-09-29 08:47:28 -0400
commit2d0245a85deb62cbed66c053f80f339e0d97ed70 (patch)
tree8f3a77e0d7a86bf02e97bc5625eafdfa27b10872 /idt.hpp
parent6da213d840f07a2921091a6d2fab7efa5ec5cdfa (diff)
user mode: fix segments
Diffstat (limited to 'idt.hpp')
-rw-r--r--idt.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/idt.hpp b/idt.hpp
index c9092dd..c5e7e47 100644
--- a/idt.hpp
+++ b/idt.hpp
@@ -7,6 +7,7 @@
struct Registers
{
std::uint32_t inum;
+ std::uint32_t ds;
std::uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
std::uint32_t error;
std::uint32_t eip, cs, eflags;