diff options
Diffstat (limited to 'src/inc')
-rw-r--r-- | src/inc/load.h | 6 | ||||
-rw-r--r-- | src/inc/proc.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/inc/load.h b/src/inc/load.h index 60fecf9..697248e 100644 --- a/src/inc/load.h +++ b/src/inc/load.h @@ -5,6 +5,12 @@ #include <proc.h> +#define EFLAGS_ALWAYS 0x2 // Always one +#define EFLAGS_INTERRUPTS 0x200 // Enable interrupts + +#define GDT_DATA_OFFSET 0x10 // Data segment offset in GDT +#define GDT_CODE_OFFSET 0x8 // Code segment offset in GDT + void bin_load(char *path, struct proc *proc); #endif diff --git a/src/inc/proc.h b/src/inc/proc.h index bc3d115..dc8b9e9 100644 --- a/src/inc/proc.h +++ b/src/inc/proc.h @@ -17,7 +17,6 @@ struct proc { }; void proc_init(); -void proc_jump(struct proc *proc); struct proc *proc_make(); #endif |