Changes

6 bytes added ,  04:40, 13 August 2022
→‎Syscall Table: changed some names to match cafe2wii
Line 203: Line 203:  
| 2f || int AHB_MemFlush(int ahb_dev)
 
| 2f || int AHB_MemFlush(int ahb_dev)
 
|-
 
|-
| 30 || int AHB_MemInvalidate(int ahb_dev){{check}}
+
| 30 || int AHB_MemRBInvalidate(int ahb_dev){{check}}
 
|-
 
|-
 
| 31 || int ClearAndEnableIPCIOPIntr(void) || Enables [[Hardware/Hollywood IRQs|hardware interrupts]] for device 31 ([[Hardware/IPC|IPC (Starlet)]]) (can only be used from the kernel or ES) || 0 on success, -4 for no permission.
 
| 31 || int ClearAndEnableIPCIOPIntr(void) || Enables [[Hardware/Hollywood IRQs|hardware interrupts]] for device 31 ([[Hardware/IPC|IPC (Starlet)]]) (can only be used from the kernel or ES) || 0 on success, -4 for no permission.
Line 259: Line 259:  
| 40 || void IOS_FlushDCache(const void *address, u32 size) || "sync_after_write" - Flushes dcache and does magic bullshit (aka magic AHB operations)
 
| 40 || void IOS_FlushDCache(const void *address, u32 size) || "sync_after_write" - Flushes dcache and does magic bullshit (aka magic AHB operations)
 
|-
 
|-
| 41 || ppc_boot(const char *path) || Loads a .dol or .elf file into memory and bootstraps the PPC
+
| 41 || IOS_StartPPC(const char *path) || Loads a .dol or .elf file into memory and bootstraps the PPC
 
|-
 
|-
 
| 42 || <nowiki>[[noreturn]]</nowiki> int 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.
 
| 42 || <nowiki>[[noreturn]]</nowiki> int 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.
5,579

edits