Skip to content

Commit 35ee801

Browse files
committed
05292337
1 parent 35a0b1c commit 35ee801

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

Diff for: inc/cpu/gdt.h

+17-17
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,23 @@ __INLINE__ Void gdt_init() {
7676

7777

7878

79-
; typedef struct {
80-
; UInt16 limit_low; // The lower 16 bits of the limit.
81-
; UInt16 base_low; // The lower 16 bits of the base.
82-
; UInt8 base_middle; // The next 8 bits of the base.
83-
; UInt8 access; // Access flags, determine what ring this segment can be used in.
84-
; UInt8 granularity;
85-
; UInt8 base_high; // The last 8 bits of the base.
86-
; }
87-
; __PACKED__
88-
; GdtEntry;
89-
90-
; typedef struct {
91-
; UInt16 size; // The upper 16 bits of all selector limits.
92-
; UInt32 addr; // The address of the first GdtEntry struct.
93-
; }
94-
; __PACKED__
95-
; GdtDesc;
79+
// ; typedef struct {
80+
// ; UInt16 limit_low; // The lower 16 bits of the limit.
81+
// ; UInt16 base_low; // The lower 16 bits of the base.
82+
// ; UInt8 base_middle; // The next 8 bits of the base.
83+
// ; UInt8 access; // Access flags, determine what ring this segment can be used in.
84+
// ; UInt8 granularity;
85+
// ; UInt8 base_high; // The last 8 bits of the base.
86+
// ; }
87+
// ; __PACKED__
88+
// ; GdtEntry;
89+
90+
// ; typedef struct {
91+
// ; UInt16 size; // The upper 16 bits of all selector limits.
92+
// ; UInt32 addr; // The address of the first GdtEntry struct.
93+
// ; }
94+
// ; __PACKED__
95+
// ; GdtDesc;
9696

9797

9898
// ; // Set the value of one GDT entry.

0 commit comments

Comments
 (0)