/dev/ppc app

From WiiUBrew
Jump to navigation Jump to search

/dev/ppc_app is the CAFE-IOS device node, part of IOS-MCP, for the PowerPC application service. It is accessed and utilised by the Cafe OS Kernel.

Known Source Files

ppc_service.c

List of Functions (IoctlAsync)

Command Function Description Notes
0xB0 WaitPPCBoot Called by KiWaitForStartupEvent
0xB1 RegisterForIopPowerEvents Pairs PPC kernel with pending ppc_app requests. Called by KiRegisterForIopPowerEvents
0xB2 OnAppShutdownComplete Powers off the PPC Core Called by KiSendAppShutdownComplete
0xB3 ForcePPCShutdown Reports and logs a COS unrecoverable error, then powers off the PPC Core. "COS encountered unrecoverable error...\n" is printed to the system log. Called by KiForcePPCShutdown, which is called by various panic and halt functions in the PPC kernel.

Power off requests are issued through the PPC BSP entity.