File tree 1 file changed +17
-17
lines changed
1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -76,23 +76,23 @@ __INLINE__ Void gdt_init() {
76
76
77
77
78
78
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;
96
96
97
97
98
98
// ; // Set the value of one GDT entry.
You can’t perform that action at this time.
0 commit comments