diff options
author | AlmuHS <almuhs@github.com> | 2019-07-09 19:42:11 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-07-09 19:42:11 +0200 |
commit | 046f701ff07efd7f9dbe92fba97d16b5121ff7f5 (patch) | |
tree | a981e8ad0279eda1f752e815dafb027bb7e98411 | |
parent | 757660786c0639370ec348270d7115c609a99746 (diff) |
removed idle loop in cpu_setup fail
-rw-r--r-- | i386/i386/mp_desc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index d917262b..858c2a63 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -396,13 +396,7 @@ void paging_setup(){ int cpu_ap_main() { - - if(cpu_setup()) - goto idle; - -idle: - for(;;) - asm volatile("hlt"); + if(cpu_setup()) return -1; } /*TODO: Reimplement function to send Startup IPI to cpu*/ |