diff options
Diffstat (limited to 'idt.cpp')
-rw-r--r-- | idt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,9 +19,9 @@ static constexpr std::uint8_t TrapGate32 = 0xF; struct idt_entry_bits { std::uint32_t offset_low : 16; std::uint32_t segment_selector : 16; - std::uint32_t rsvd : 8; + std::uint32_t rsvd : 8 = 0; std::uint32_t gate_type : 4; - std::uint32_t rsvd2 : 1; + std::uint32_t rsvd2 : 1 = 0; std::uint32_t dpl : 2; std::uint32_t present : 1; std::uint32_t offset_high : 16; |