diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2024-09-30 10:59:59 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2024-09-30 10:59:59 -0400 |
commit | 85c8fd05f1a0c0224882c4fafa60003d3ef56cf3 (patch) | |
tree | c86b968c5a53c0767c00116c6fc03f60c8e3aa64 /idt.cpp | |
parent | abfdd6eb3ed61d13a47735812eca0028caf6b6da (diff) |
compile with wall,extra,error,pedantic
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; |