mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 11:16:57 -04:00
Move source files to src/, add Makefile, fix all build and linkage errors, etc.
This commit is contained in:
parent
4c7aa566f0
commit
b0ea9c1a0b
58 changed files with 385 additions and 203 deletions
16
exosphere/src/warmboot_init.c
Normal file
16
exosphere/src/warmboot_init.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include "utils.h"
|
||||
#include "memory_map.h"
|
||||
|
||||
uintptr_t get_warmboot_crt0_stack_address(void);
|
||||
|
||||
void flush_dcache_all_tzram_pa(void) {
|
||||
/* TODO */
|
||||
}
|
||||
|
||||
void invalidate_icache_all_tzram_pa(void) {
|
||||
/* TODO */
|
||||
}
|
||||
|
||||
uintptr_t get_warmboot_crt0_stack_address(void) {
|
||||
return tzram_get_segment_pa(TZRAM_SEGMENT_ID_CORE3_STACK) + 0x800;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue