This Function returns information about the boot reason. If the boot is not a system startup but a resume, power down request bitfield for this processor will be cleared.
Prototype
enum
XPmBootStatus
XPm_GetBootStatus(void);
Returns
Returns processor boot status- PM_RESUME : If the boot reason is because of system resume.
- PM_INITIAL_BOOT : If this boot is the initial system startup.