diff options
Diffstat (limited to 'src/features/load.c')
-rw-r--r-- | src/features/load.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/features/load.c b/src/features/load.c index 36548bb..5382c77 100644 --- a/src/features/load.c +++ b/src/features/load.c @@ -15,11 +15,4 @@ void bin_load(char *path, struct proc *proc) proc->regs.ebp = (u32)stack; proc->regs.esp = (u32)stack; proc->regs.eip = (u32)data; - - proc->regs.ds = GDT_DATA_OFFSET; - proc->regs.es = GDT_DATA_OFFSET; - proc->regs.fs = GDT_DATA_OFFSET; - proc->regs.gs = GDT_DATA_OFFSET; - proc->regs.cs = GDT_CODE_OFFSET; - proc->regs.eflags = EFLAGS_ALWAYS | EFLAGS_INTERRUPTS; } |