Line 233:
Line 233:
| 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 || ios_boot(const char *path, u32 flag, u32 version) || Loads a new IOS kernel
+
| 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.
|-
|-
−
| 43 || kernel_set_version_for_boot(unknown, u32 new_version) || Sets the version (at 0x3140) to new_version and the IPC buffer range ("DDR settings") to the legacy range ("12M"). This seems to be ES only. ||
+
| 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 jumping to the new kernel. This can only be called from UID 0. || -
|-
|-
| 44 || int syscall_assert_di_reset || Clears bit 10 of 0xD800194 || Returns 0 on success, -1 on error
| 44 || int syscall_assert_di_reset || Clears bit 10 of 0xD800194 || Returns 0 on success, -1 on error