diff options
Diffstat (limited to 'kernel.soso/descriptortables.h')
-rw-r--r-- | kernel.soso/descriptortables.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/kernel.soso/descriptortables.h b/kernel.soso/descriptortables.h index bd0d4e8e..0b1b6ada 100644 --- a/kernel.soso/descriptortables.h +++ b/kernel.soso/descriptortables.h @@ -6,8 +6,7 @@ void initializeDescriptorTables(); -struct GdtEntry -{ +struct GdtEntry { uint16 limit_low; uint16 base_low; uint8 base_middle; @@ -19,8 +18,7 @@ struct GdtEntry typedef struct GdtEntry GdtEntry; -struct GdtPointer -{ +struct GdtPointer { uint16 limit; uint32 base; } __attribute__((packed)); @@ -28,8 +26,7 @@ struct GdtPointer typedef struct GdtPointer GdtPointer; -struct IdtEntry -{ +struct IdtEntry { uint16 base_lo; uint16 sel; uint8 always0; @@ -40,8 +37,7 @@ struct IdtEntry typedef struct IdtEntry IdtEntry; -struct IdtPointer -{ +struct IdtPointer { uint16 limit; uint32 base; } __attribute__((packed)); |