From acc786cb5805d057932ada3e7c571bb8e901cd67 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 6 Dec 2014 23:15:06 +0100 Subject: Begin review of taking model : making things thread safe. --- kernel/include/idt.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'kernel/include/idt.h') diff --git a/kernel/include/idt.h b/kernel/include/idt.h index e054ed5..b697dc3 100644 --- a/kernel/include/idt.h +++ b/kernel/include/idt.h @@ -58,21 +58,6 @@ #define EX_INTEL_RESERVED_13 30 // No #define EX_INTEL_RESERVED_14 31 // No -struct idt_entry { - uint16_t base_lo; //Low part of address to jump to - uint16_t sel; //Kernel segment selector - uint8_t always0; - uint8_t flags; //Flags - uint16_t base_hi; //High part of address to jump to -} __attribute__((packed)); -typedef struct idt_entry idt_entry_t; - -struct idt_ptr { - uint16_t limit; - uint32_t base; -} __attribute__((packed)); -typedef struct idt_ptr idt_ptr_t; - struct registers { uint32_t ds; // Data segment selector uint32_t edi, esi, ebp, useless_esp, ebx, edx, ecx, eax; // Pushed by pusha. -- cgit v1.2.3