This function can be used by a privileged PU to shut down or restart the complete device.
Note: In either case, the PMU calls XPm_InitSuspendCb for each of the other
PUs, allowing them to gracefully shut down. If a PU is asleep it is woken up by the PMU.
The PU making the XPm_SystemShutdown performs its own suspend procedure after calling
this API. It does not receive an init suspend callback.
Prototype
XStatus XPm_SystemShutdown(u32 type, u32 subtype);
Parameters
The following table lists the XPm_SystemShutdown function arguments.
| Type | Name | Description |
|---|---|---|
| u32 | type | Defines system restart for the following:
|
| u32 | subtype | Restart subtype (SYSTEM or PS_ONLY or SUBSYSTEM) |