XPm_GetBootStatus - 2021.2 English

Xilinx Standalone Library Documentation: OS and Libraries Document Collection

Document ID
UG643
Release Date
2021-10-27
Version
2021.2 English

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.