From 0f9175e11c1079375895f68c769a0d9ed9925115 Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Tue, 1 Mar 2022 09:00:08 +1100 Subject: [PATCH] Do not declare 'gdt_bits_t' variable --- mentos/inc/descriptor_tables/gdt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mentos/inc/descriptor_tables/gdt.h b/mentos/inc/descriptor_tables/gdt.h index 7cfeabc..b7a1b48 100644 --- a/mentos/inc/descriptor_tables/gdt.h +++ b/mentos/inc/descriptor_tables/gdt.h @@ -93,7 +93,7 @@ enum gdt_bits_t { GDT_GRANULARITY = 128U, /// @brief `0b01000000U` (Size): If 0 the selector defines 16 bit protected mode. If 1 it defines 32 bit protected mode. You can have both 16 bit and 32 bit selectors at once. GDT_OPERAND_SIZE = 64U, -} gdt_bits_t; +}; /// @brief Used in IDT for padding. #define IDT_PADDING 14U // `0b00001110U