refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / kernel / kernel_cpu.c
blobc94c958e373010cf3378c57d71b6f6a64e3a11ac
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 /*
9 * This file is intended to make generic kernel.resource compiling.
10 * This code should NEVER be executed. This file MUST be overriden in
11 * architecture-specific code for the scheduler to work!
14 #include <kernel_base.h>
15 #include <kernel_debug.h>
17 void cpu_Switch(regs_t *regs)
19 bug("[KRN] KERNEL PANIC! cpu_Switch() is not implemented!\n");
20 for (;;);
23 void cpu_Dispatch(regs_t *regs)
25 bug("[KRN] KERNEL PANIC! cpu_Dispatch() is not implemented!\n");
26 for (;;);