Rev 901 | Rev 903 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 901 | Rev 902 | ||
|---|---|---|---|
| Line 44... | Line 44... | ||
| 44 | /* |
44 | /* |
| 45 | * Kernel stack of this thread is not locked in DTLB. |
45 | * Kernel stack of this thread is not locked in DTLB. |
| 46 | * First, make sure it is not mapped already. |
46 | * First, make sure it is not mapped already. |
| 47 | * If not, fill respective tranlsation register. |
47 | * If not, fill respective tranlsation register. |
| 48 | */ |
48 | */ |
| 49 | dtlb_mapping_insert((__address) THREAD->kstack, KA2PA(THREAD->kstack), true, DTR_KSTACK); |
49 | dtlb_kernel_mapping_insert((__address) THREAD->kstack, KA2PA(THREAD->kstack), true, DTR_KSTACK); |
| 50 | } |
50 | } |
| 51 | } |
51 | } |
| 52 | 52 | ||
| 53 | void after_thread_ran_arch(void) |
53 | void after_thread_ran_arch(void) |
| 54 | { |
54 | { |