XPm_GetBootStatus - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 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.