/* This function returns the reason(s) for a reset. The reset reason are:- - */
unsigned long PRCMSysResetCauseGet(void)
/* This function returns the reason(s) for a reset. The reset reason are:- - */
unsigned long PRCMSysResetCauseGet(void)
{
  unsigned long ulWakeupStatus;
  ulWakeupStatus = (HWREG(GPRCM_BASE+ GPRCM_O_APPS_RESET_CAUSE) & 0xFF);
  if(ulWakeupStatus == PRCM_POWER_ON)
  {
    if(MAP_PRCMHIBRegRead(HIB3P3_BASE + HIB3P3_O_MEM_HIB_WAKE_STATUS) & 0x1)
    {
      ulWakeupStatus = PRCM_HIB_EXIT;
    }
  }
  return ulWakeupStatus;
}