Changes

12 bytes added ,  03:28, 13 March 2022
→‎Syscall Table: ios_boot flag controls whether to suspend the broadway
Line 261: Line 261:  
| 41 || ppc_boot(const char *path) || Loads a .dol or .elf file into memory and bootstraps the PPC
 
| 41 || ppc_boot(const char *path) || Loads a .dol or .elf file into memory and bootstraps the PPC
 
|-
 
|-
| 42 || <nowiki>[[noreturn]]</nowiki> IOSError ios_boot(const char* path, u32 flag, u32 version) || Suspends the IPC thread, loads a new IOS kernel from the NAND to 0x10100000 in IOS59), then calls <code>boot_new_ios_kernel(0x10100000, version)</code>. This can only be called from UID 0. || Doesn't return if the boot succeeded; otherwise, an error code is returned.
+
| 42 || <nowiki>[[noreturn]]</nowiki> IOSError ios_boot(const char* path, bool suspendBroadway, u32 version) || Suspends the IPC thread, loads a new IOS kernel from the NAND to 0x10100000 in IOS59), then calls <code>boot_new_ios_kernel(0x10100000, version)</code>. This can only be called from UID 0. || Doesn't return if the boot succeeded; otherwise, an error code is returned.
 
|-
 
|-
 
| 43 || <nowiki>[[noreturn]]</nowiki> void boot_new_ios_kernel(void* ios_binary_address, u32 new_version) || Sets the version at 0x3140 to <code>new_version</code> and the IPC buffer range ("DDR settings") to the legacy range ("12M"), before branching to the new kernel. This can only be called from UID 0. || -
 
| 43 || <nowiki>[[noreturn]]</nowiki> void boot_new_ios_kernel(void* ios_binary_address, u32 new_version) || Sets the version at 0x3140 to <code>new_version</code> and the IPC buffer range ("DDR settings") to the legacy range ("12M"), before branching to the new kernel. This can only be called from UID 0. || -
5,579

edits