12#if EXCEPTION_TEST_ENABLE == YES && defined(SUPPORT_IPC)
13#include "ipc_actions.h"
21#define REBOOT_POWER_ON_TRIGGER_STATUS 0xdead0001UL
22#define REBOOT_SOFT_RESET_TRIGER_STATUS 0xdead0002UL
23#define REBOOT_NMI_WDGTIMEOUT_TRIGGER_STATUS 0xdead0003UL
24#define REBOOT_NMI_XIP_CTRL_TRIGER_STATUS 0xdead0004UL
25#define REBOOT_NMI_XIP_CACHE_TRIGGER_STATUS 0xdead0005UL
26#define REBOOT_HARD_FAULT_TRIGER_STATUS 0xdead0006UL
27#define REBOOT_SOFT_PANIC_TRIGGER_STATUS 0xdead0007UL
28#define REBOOT_OTHER_CORE_ABNORMAL_TRIGER_STATUS 0xdead0008UL
29#define REBOOT_HARD_WDGTIMEOUT_TRIGER_STATUS 0xdead0009UL
30#define REBOOT_BT_WDGTIMEOUT_TRIGER_STATUS 0xdead000aUL
31#define REBOOT_ULP_WDGTIMEOUT_TRIGER_STATUS 0xdead000bUL
32#define REBOOT_UPG_COMPLETION_TRIGER_STATUS 0xdead000cUL
33#define REBOOT_ULP_PIN_RST_TRIGER_STATUS 0xdead000dUL
34#define REBOOT_UNDEFINED_TRIGER_STATUS 0xdeadaaaaUL
35#define STANDARD_REBOOT_MAGIC 0xdeaddeadUL
36#define ABNORMAL_REBOOT_MAGIC 0xdeadbeafUL
150 uint16_t req_reboot_reason;
167#if CORE == MASTER_BY_ALL
195#if CORE == APPS && EXCEPTION_TEST_ENABLE == YES && defined(SUPPORT_IPC)
201void exception_test(ipc_exception_test_command_e exception_test_command);
reboot_cause_t reboot_get_security_reboot_reason(void)
Gets the last reason that the security core rebooted
Definition non_os_reboot.c:171
void uapi_reboot_unvote_against(veto_reboot_reason_t reason)
Definition non_os_reboot.c:260
void reboot_deinit(void)
De-initialise the reboot subsystem
Definition non_os_reboot.c:52
void reboot_system(reboot_cause_t cause)
Perform a software reboot of the entire system.
Definition non_os_reboot.c:126
void uapi_reboot_system_check_veto(reboot_cause_t reason)
Definition non_os_reboot.c:266
reboot_cause_t
This is a special enum, it is split into three sections Only 16 bits are used. Bits 13 to 15 are flag...
Definition non_os_reboot.h:45
void reboot_chip(void)
Perform a chip reboot.
Definition non_os_reboot.c:58
veto_reboot_reason_t
Definition non_os_reboot.h:116
reboot_cause_t reboot_get_reset_reason(void)
Gets the reason of the last reset
Definition non_os_reboot.c:165
void reboot_init(void)
Initialise the reboot subsystem
Definition non_os_reboot.c:42
uint32_t uapi_reboot_vote_against(veto_reboot_reason_t reason, uint32_t sec)
Definition non_os_reboot.c:254
@ REBOOT_CAUSE_APPLICATION_CHIP_WDT
Definition non_os_reboot.h:95
@ REBOOT_CAUSE_APPLICATION_STD_BT_WDT_FRST
Definition non_os_reboot.h:101
@ REBOOT_CAUSE_GNSS_GLOBAL
Definition non_os_reboot.h:69
@ REBOOT_CAUSE_BT_MONITOR_REBOOT_REQ
Definition non_os_reboot.h:64
@ REBOOT_CAUSE_UNKNOWN
Definition non_os_reboot.h:46
@ REBOOT_CAUSE_BT_XIP_HARDFAULT
Definition non_os_reboot.h:59
@ REBOOT_CAUSE_BT_REGIONS_UPDATED
Definition non_os_reboot.h:65
@ REBOOT_CAUSE_BT_PANIC
Definition non_os_reboot.h:56
@ REBOOT_CAUSE_PROTOCOL_AXI_LOCK
Definition non_os_reboot.h:78
@ REBOOT_CAUSE_APPLICATION_WDT_FRST
Definition non_os_reboot.h:94
@ REBOOT_CAUSE_PROTOCOL_AXI_LOCK_TO_BT
Definition non_os_reboot.h:79
@ REBOOT_CAUSE_PROTOCOL_WDT_FRST
Definition non_os_reboot.h:80
@ REBOOT_CAUSE_APPLICATION_STD_ULP_PIN_FRST
Definition non_os_reboot.h:103
@ REBOOT_CAUSE_PROTOCOL1_ADDR_MON
Definition non_os_reboot.h:83
@ REBOOT_CAUSE_APPLICATION_SLDM
Definition non_os_reboot.h:109
@ REBOOT_CAUSE_APPLICATION_STD_CHIP_WDT_FRST
Definition non_os_reboot.h:100
@ REBOOT_CAUSE_BT_STANDARD_CHIP_WATCHDOG
Definition non_os_reboot.h:50
@ REBOOT_CAUSE_APPLICATION_UNKNOWN_ISR
Definition non_os_reboot.h:93
@ REBOOT_CAUSE_PROTOCOL_GLOBAL
Definition non_os_reboot.h:75
@ REBOOT_CAUSE_GNSS_END
Definition non_os_reboot.h:73
@ REBOOT_CAUSE_APPLICATION_MDMA
Definition non_os_reboot.h:98
@ REBOOT_CAUSE_PROTOCOL_ADDR_MON
Definition non_os_reboot.h:82
@ REBOOT_CAUSE_UPG_COMPLETION
Definition non_os_reboot.h:105
@ REBOOT_CAUSE_APPLICATION_GLOBAL
Definition non_os_reboot.h:87
@ REBOOT_CAUSE_BT_UPDATER_CHIP_WATCHDOG
Definition non_os_reboot.h:51
@ REBOOT_CAUSE_PROTOCOL_WATCHDOG
Definition non_os_reboot.h:77
@ REBOOT_CAUSE_BT_BUCK1_PROTECT_FRST
Definition non_os_reboot.h:61
@ REBOOT_CAUSE_BT_RESET_UNKNOWN
Definition non_os_reboot.h:47
@ REBOOT_CAUSE_APPLICATION_HARDFAULT
Definition non_os_reboot.h:91
@ REBOOT_CAUSE_BT_WATCHDOG
Definition non_os_reboot.h:49
@ REBOOT_CAUSE_BT_RPC_TIMEOUT
Definition non_os_reboot.h:52
@ REBOOT_CAUSE_APPLICATION_SYSRESETREQ
Definition non_os_reboot.h:88
@ REBOOT_CAUSE_BT_END
Definition non_os_reboot.h:67
@ REBOOT_CAUSE_PROTOCOL_RPC_TIMEOUT
Definition non_os_reboot.h:84
@ REBOOT_CAUSE_PROTOCOL1_WATCHDOG
Definition non_os_reboot.h:81
@ REBOOT_CAUSE_APPLICATION_PANIC
Definition non_os_reboot.h:90
@ REBOOT_CAUSE_BT_BUCK2_PROTECT_FRST
Definition non_os_reboot.h:62
@ REBOOT_CAUSE_APPLICATION_WATCHDOG
Definition non_os_reboot.h:89
@ REBOOT_CAUSE_GNSS_PANIC
Definition non_os_reboot.h:72
@ REBOOT_CAUSE_GNSS_NMI
Definition non_os_reboot.h:70
@ REBOOT_CAUSE_APPLICATION_XIP_CACHE
Definition non_os_reboot.h:97
@ REBOOT_CAUSE_BT_SYSRESETREQ
Definition non_os_reboot.h:48
@ REBOOT_CAUSE_MON_MEM_ALMOST_EMPTY
Definition non_os_reboot.h:106
@ REBOOT_CAUSE_BT_FOTA_UPGRADE
Definition non_os_reboot.h:66
@ REBOOT_CAUSE_DFU_UPG_FAIL
Definition non_os_reboot.h:107
@ REBOOT_CAUSE_APPLICATION_RPC_TIMEOUT
Definition non_os_reboot.h:111
@ REBOOT_CAUSE_PROTOCOL_SYSRESETREQ
Definition non_os_reboot.h:76
@ REBOOT_CAUSE_APPLICATION_XIP_CTRL
Definition non_os_reboot.h:96
@ REBOOT_CAUSE_APPLICATION_SMDMA
Definition non_os_reboot.h:99
@ REBOOT_CAUSE_POWER_ON
Definition non_os_reboot.h:113
@ REBOOT_CAUSE_BT_STD_CHIP_WDT_FRST
Definition non_os_reboot.h:58
@ REBOOT_CAUSE_BT_UNKNOWN_ISR
Definition non_os_reboot.h:55
@ REBOOT_CAUSE_BT_NNMIFAULT
Definition non_os_reboot.h:54
@ REBOOT_CAUSE_BT_HARDFAULT
Definition non_os_reboot.h:53
@ REBOOT_CAUSE_PROTOCOL_END
Definition non_os_reboot.h:85
@ REBOOT_CAUSE_APPLICATION_STD_ULP_WDT_FRST
Definition non_os_reboot.h:102
@ REBOOT_CAUSE_BT_SSB_EXCEPTION_REBOOT
Definition non_os_reboot.h:60
@ REBOOT_CAUSE_GNSS_HARDFAULT
Definition non_os_reboot.h:71
@ REBOOT_CAUSE_BT_STD_WDT_FRST
Definition non_os_reboot.h:57
@ REBOOT_CAUSE_APPLICATION_NNMIFAULT
Definition non_os_reboot.h:92
@ VETO_REBOOT_REASON_LOCK_NETWORK
Definition non_os_reboot.h:132
@ VETO_REBOOT_REASON_UPG
Definition non_os_reboot.h:135
@ VETO_REBOOT_REASON_SUIT_NET
Definition non_os_reboot.h:140
@ VETO_REBOOT_REASON_USR_RESERVED_5
Definition non_os_reboot.h:123
@ VETO_REBOOT_REASON_NO_PB
Definition non_os_reboot.h:137
@ VETO_REBOOT_REASON_WR_MR_DOC
Definition non_os_reboot.h:119
@ VETO_REBOOT_REASON_SYS_RST_DELAY_ENTER_PHY_TEST_MODE
Definition non_os_reboot.h:134
@ VETO_REBOOT_REASON_USR_RESERVED_3
Definition non_os_reboot.h:121
@ VETO_REBOOT_REASON_USR_RESERVED_4
Definition non_os_reboot.h:122
@ VETO_REBOOT_REASON_BOOT_UPG
Definition non_os_reboot.h:136
@ VETO_REBOOT_REASON_WR_NV
Definition non_os_reboot.h:118
@ VETO_REBOOT_REASON_WRT_SNID
Definition non_os_reboot.h:142
@ VETO_REBOOT_REASON_USR_RESERVED_2
Definition non_os_reboot.h:120
@ VETO_REBOOT_REASON_RELATING_RANDOM_NUM
Definition non_os_reboot.h:144
@ VETO_REBOOT_REASON_USR_RESERVED_7
Definition non_os_reboot.h:125
@ VETO_REBOOT_REASON_MAX
Definition non_os_reboot.h:145
@ VETO_REBOOT_REASON_USR_RESERVED_6
Definition non_os_reboot.h:124
@ VETO_REBOOT_REASON_TF_IDENTIFY
Definition non_os_reboot.h:130
@ VETO_REBOOT_REASON_NDM_METER_CHECK
Definition non_os_reboot.h:128
@ VETO_REBOOT_REASON_RESERVE
Definition non_os_reboot.h:117