mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
fusee_cpp: tweaks, now completes SecureInitialize on hardware
This commit is contained in:
parent
c91f95e8f6
commit
f2a1c60218
6 changed files with 24 additions and 41 deletions
|
@ -28,7 +28,7 @@ namespace ams::nxboot::crt0 {
|
|||
|
||||
}
|
||||
|
||||
void Initialize(uintptr_t bss_start, uintptr_t bss_end) {
|
||||
void Initialize() {
|
||||
/* TODO: Collect timing information? */
|
||||
|
||||
/* Setup exception vectors. */
|
||||
|
@ -43,9 +43,6 @@ namespace ams::nxboot::crt0 {
|
|||
SetExceptionVector(7, reinterpret_cast<uintptr_t>(::ams::nxboot::ExceptionHandler7));
|
||||
}
|
||||
|
||||
/* Clear bss. */
|
||||
std::memset(reinterpret_cast<void *>(bss_start), 0, bss_end - bss_start);
|
||||
|
||||
/* Call init array. */
|
||||
__libc_init_array();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue