Finxing interrupts...

This commit is contained in:
ice-bit
2019-07-05 21:12:18 +02:00
parent bb78281aaf
commit 3a0d674985
6 changed files with 7 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ static void init_gdt() {
static gdt_entry_t construct_entry(gdt_access_t access) {
gdt_entry_t entry = (struct gdt_entry_struct) {
.base_low = GDT_BASE & 0xFFFF,
.base_middle = (GDT_BASE >> 16) % 0xFF,
.base_middle = (GDT_BASE >> 16) & 0xFF,
.base_high = (GDT_BASE >> 24) & 0xFF,
.limit_low = (GDT_LIMIT & 0xFFFF),
.access = access,