mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
Fix coldboot init (presentations lie)
This commit is contained in:
parent
a6c7a2c57e
commit
58036dac0b
1 changed files with 2 additions and 9 deletions
|
@ -135,15 +135,8 @@ void coldboot_init(coldboot_crt0_reloc_list_t *reloc_list, boot_func_list_t *fun
|
|||
/* At this point, we can (and will) access functions located in .warm_crt0 */
|
||||
translate_warmboot_func_list(reloc_list, func_list);
|
||||
|
||||
/*
|
||||
From https://events.static.linuxfound.org/sites/events/files/slides/slides_17.pdf :
|
||||
Caches may write back dirty lines at any time:
|
||||
- To make space for new allocations
|
||||
- Even if MMU is off
|
||||
- Even if Cacheable accesses are disabled (caches are never 'off')
|
||||
*/
|
||||
func_list->funcs.flush_dcache_all();
|
||||
func_list->funcs.invalidate_icache_all();
|
||||
/* Initialize DMA controllers, and write to AHB_GIZMO_TZRAM. */
|
||||
/* TZRAM accesses should work normally after this point. */
|
||||
func_list->funcs.init_dma_controllers();
|
||||
|
||||
configure_ttbls();
|
||||
|
|
Loading…
Reference in a new issue