From 9b0a86f352884c7a836bf28bb19e9f7ed572bc24 Mon Sep 17 00:00:00 2001 From: ice-bit Date: Tue, 9 Jul 2019 16:03:37 +0200 Subject: [PATCH] Wrong comment --- kernel/drivers/gdt.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/gdt.h b/kernel/drivers/gdt.h index 833f7ce..ed0185e 100644 --- a/kernel/drivers/gdt.h +++ b/kernel/drivers/gdt.h @@ -82,10 +82,10 @@ * P: is segment present? (bool) */ struct gdt_access { - uint8_t type: 4; // 4 Byte - uint8_t dt: 1; // 1 Byte - uint8_t dpl: 2; // 2 Byte - uint8_t p: 1; // 1 Byte + uint8_t type: 4; // 4 Bits + uint8_t dt: 1; // 1 Bit + uint8_t dpl: 2; // 2 Bits + uint8_t p: 1; // 1 Bits }__attribute__((packed)); typedef struct gdt_access gdt_access_t; @@ -137,4 +137,4 @@ typedef struct gdt_ptr gdt_ptr_t; void gdt_setup(); -#endif \ No newline at end of file +#endif