This function can be used by a privileged PU to shut down or restart the complete device.
Prototype
XStatus XPm_SystemShutdown(const u32 Type, const u32 SubType);
Parameters
The following table lists the XPm_SystemShutdown
function arguments.
Type | Name | Description |
---|---|---|
const u32 | Type | Shutdown type (shutdown/restart) |
const u32 | SubType | Shutdown subtype (subsystem-only/PU-only/system) |