diff options
author | Marvin Borner | 2021-03-12 19:11:26 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-12 19:11:26 +0100 |
commit | bbf700a0c6b2f8ca9a73c2a334973286d5b8afcc (patch) | |
tree | c6d95e742da7b0ca0c95e5377840e888a579030f /kernel/features/proc.c | |
parent | 0aef683b9d1e08555791426ba12223ed78051353 (diff) |
Started basic ioctl fb interface
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index db2291c..38d88f8 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -479,15 +479,6 @@ void proc_init(void) _eip = ((struct proc *)new->data)->regs.eip; _esp = ((struct proc *)new->data)->regs.useresp; - /* u32 argc = 2; */ - /* char **argv = malloc(sizeof(*argv) * (argc + 1)); */ - /* argv[0] = strdup("init"); */ - /* argv[1] = (char *)boot_passed->vbe; */ - /* argv[2] = NULL; */ - - /* ((u32 *)_esp)[0] = argc; // First argument (argc) */ - /* ((u32 *)_esp)[-1] = (u32)argv; // Second argument (argv) */ - printf("Jumping to userspace!\n"); memory_switch_dir(((struct proc *)new->data)->page_dir); proc_jump_userspace(); |