Rev 118 | Rev 177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 118 | Rev 173 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | */ |
44 | */ |
45 | #define CPU (&cpus[CPU_ID_ARCH]) |
45 | #define CPU (&cpus[CPU_ID_ARCH]) |
46 | #define THREAD (cpu_private_data[CPU_ID_ARCH].thread) |
46 | #define THREAD (cpu_private_data[CPU_ID_ARCH].thread) |
47 | #define TASK (cpu_private_data[CPU_ID_ARCH].task) |
47 | #define TASK (cpu_private_data[CPU_ID_ARCH].task) |
48 | 48 | ||
- | 49 | /* |
|
- | 50 | * For each possible kernel stack, structure |
|
- | 51 | * of the following type will be placed at |
|
- | 52 | * the bottom of the stack. |
|
- | 53 | */ |
|
- | 54 | struct the { |
|
- | 55 | int preemption_disabled; |
|
- | 56 | thread_t *thread; /* current thread */ |
|
- | 57 | task_t *task; /* current task */ |
|
- | 58 | cpu_t *cpu; /* executing cpu */ |
|
- | 59 | }; |
|
- | 60 | ||
49 | extern void arch_pre_mm_init(void); |
61 | extern void arch_pre_mm_init(void); |
50 | extern void arch_post_mm_init(void); |
62 | extern void arch_post_mm_init(void); |
51 | extern void arch_late_init(void); |
63 | extern void arch_late_init(void); |
52 | extern void calibrate_delay_loop(void); |
64 | extern void calibrate_delay_loop(void); |
53 | 65 |