Wrong comment
This commit is contained in:
parent
c715d2efce
commit
9b0a86f352
@ -82,10 +82,10 @@
|
|||||||
* P: is segment present? (bool)
|
* P: is segment present? (bool)
|
||||||
*/
|
*/
|
||||||
struct gdt_access {
|
struct gdt_access {
|
||||||
uint8_t type: 4; // 4 Byte
|
uint8_t type: 4; // 4 Bits
|
||||||
uint8_t dt: 1; // 1 Byte
|
uint8_t dt: 1; // 1 Bit
|
||||||
uint8_t dpl: 2; // 2 Byte
|
uint8_t dpl: 2; // 2 Bits
|
||||||
uint8_t p: 1; // 1 Byte
|
uint8_t p: 1; // 1 Bits
|
||||||
}__attribute__((packed));
|
}__attribute__((packed));
|
||||||
typedef struct gdt_access gdt_access_t;
|
typedef struct gdt_access gdt_access_t;
|
||||||
|
|
||||||
@ -137,4 +137,4 @@ typedef struct gdt_ptr gdt_ptr_t;
|
|||||||
void gdt_setup();
|
void gdt_setup();
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user