Rev 1705 | Rev 1787 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1705 | Rev 1730 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | } |
44 | } |
45 | 45 | ||
46 | /** Perform ppc32 specific tasks needed before the new thread is scheduled. */ |
46 | /** Perform ppc32 specific tasks needed before the new thread is scheduled. */ |
47 | void before_thread_runs_arch(void) |
47 | void before_thread_runs_arch(void) |
48 | { |
48 | { |
49 | pht_init(); |
- | |
50 | tlb_invalidate_all(); |
49 | tlb_invalidate_all(); |
51 | asm volatile ( |
50 | asm volatile ( |
52 | "mtsprg0 %0\n" |
51 | "mtsprg0 %0\n" |
53 | : |
52 | : |
54 | : "r" (KA2PA(&THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA])) |
53 | : "r" (KA2PA(&THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA])) |
Line 59... | Line 58... | ||
59 | { |
58 | { |
60 | } |
59 | } |
61 | 60 | ||
62 | /** @} |
61 | /** @} |
63 | */ |
62 | */ |
64 | - |