diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-07 11:49:52 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-07 11:49:52 +0100 |
commit | d7aaba8c85cc71f3184cddcf20b740c5157c864d (patch) | |
tree | d99c9d6765eb433c73498c5e99ebcdb088c0e7e6 /kernel/include/idt.h | |
parent | 26b68c108664cb54089613bdbc54624ed66f7fda (diff) | |
download | kogata-d7aaba8c85cc71f3184cddcf20b740c5157c864d.tar.gz kogata-d7aaba8c85cc71f3184cddcf20b740c5157c864d.zip |
Refactor kmalloc & tests in kmain.
Diffstat (limited to 'kernel/include/idt.h')
-rw-r--r-- | kernel/include/idt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/include/idt.h b/kernel/include/idt.h index b697dc3..9415c8e 100644 --- a/kernel/include/idt.h +++ b/kernel/include/idt.h @@ -58,6 +58,8 @@ #define EX_INTEL_RESERVED_13 30 // No #define EX_INTEL_RESERVED_14 31 // No +#define EFLAGS_IF (0x1 << 9) + struct registers { uint32_t ds; // Data segment selector uint32_t edi, esi, ebp, useless_esp, ebx, edx, ecx, eax; // Pushed by pusha. |