/SPARTAN/trunk/include/arch.h |
---|
34,7 → 34,11 |
#include <cpu.h> |
#include <arch/cpu.h> |
#include <arch/asm.h> |
#include <proc/thread.h> |
#include <proc/task.h> |
/* |
* NOTE: |
* CPU, THREAD and TASK are not preemption-safe. |
58,6 → 62,8 |
cpu_t *cpu; /* executing cpu */ |
}; |
#define THE ((the_t *)(get_stack_base())) |
extern void arch_pre_mm_init(void); |
extern void arch_post_mm_init(void); |
extern void arch_late_init(void); |