Rev 2009 | Rev 2049 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2009 | Rev 2038 | ||
---|---|---|---|
Line 89... | Line 89... | ||
89 | * Second, create a locked mapping for it. |
89 | * Second, create a locked mapping for it. |
90 | */ |
90 | */ |
91 | dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_NUCLEUS, (uintptr_t) CPU->stack); |
91 | dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_NUCLEUS, (uintptr_t) CPU->stack); |
92 | dtlb_insert_mapping((uintptr_t) CPU->stack, KA2PA(CPU->stack), PAGESIZE_8K, true, true); |
92 | dtlb_insert_mapping((uintptr_t) CPU->stack, KA2PA(CPU->stack), PAGESIZE_8K, true, true); |
93 | } |
93 | } |
94 | - | ||
95 | /* |
- | |
96 | * Set the D-cache active flag. |
- | |
97 | * Needed for the D-cache to work. |
- | |
98 | */ |
- | |
99 | CPU->arch.dcache_active = 1; |
- | |
100 | } |
94 | } |
101 | 95 | ||
102 | /** Read version information from the current processor. */ |
96 | /** Read version information from the current processor. */ |
103 | void cpu_identify(void) |
97 | void cpu_identify(void) |
104 | { |
98 | { |