From: Matthias Kruk Date: Sat, 21 Mar 2020 09:13:40 +0000 (+0900) Subject: kernel/core: Include from main.c X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=90ace6204257c711d2b643adb149c031e973c890;p=corax kernel/core: Include from main.c --- diff --git a/kernel/core/main.c b/kernel/core/main.c index 675cc1e..592b645 100644 --- a/kernel/core/main.c +++ b/kernel/core/main.c @@ -1,6 +1,6 @@ /* * This file is part of the Corax operating system. - * Copyright (C) 2016 Matthias Kruk + * Copyright (C) 2016-2020 Matthias Kruk * * Corax is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +26,8 @@ #include #include #include +#include +#include void cpu_debug(void); int arch_init(void*); @@ -105,7 +107,6 @@ static void _init(void) { pid_t pid; int err; - int i; /* * instead of something like /sbin/init, this process will behave more like the process daemon @@ -224,7 +225,6 @@ int corax(void *mb_info, u32_t magic) } } */ - err = process_create(&proc, PID_ANY, 0, (void*)_idle); if(err < 0) {