Move source files to src/, add Makefile, fix all build and linkage errors, etc.
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user