File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
library/secureshield/core/src/v1 Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 192192#define AUX_STATUS_BIT_U (7) /*!< user mode */
193193#define AUX_STATUS_BIT_L (12) /*!< zero-overhead loop enable */
194194#define AUX_STATUS_BIT_IE (31) /*!< interrupt enable */
195+ #define AUX_STATUS_BIT_HALT (0) /*!< halt bit */
195196
196197/* masks correspond to STATUS32 bit-field */
197198#define AUX_STATUS_MASK_AE (1<<AUX_STATUS_BIT_AE) /*!< mask of AUX_STATUS_BIT_AE */
198199#define AUX_STATUS_MASK_DE (1<<AUX_STATUS_BIT_DE) /*!< mask of AUX_STATUS_BIT_DE */
199200#define AUX_STATUS_MASK_U (1<<AUX_STATUS_BIT_U) /*!< mask of AUX_STATUS_BIT_U */
200201#define AUX_STATUS_MASK_L (1<<AUX_STATUS_BIT_L) /*!< mask of AUX_STATUS_BIT_L */
201202#define AUX_STATUS_MASK_IE (1<<AUX_STATUS_BIT_IE) /*!< mask of AUX_STATUS_BIT_IE */
203+ #define AUX_STATUS_MASK_HALT (1<<AUX_STATUS_BIT_HALT) /*!< mask of AUX_STATUS_BIT_HALT */
202204/** @} */
203205
204206/**
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ _int_handler_1:
178178 * come back to container sp , secureshield stack will not be used
179179 * /
180180 POP sp
181- kflag 0x20 / * take interrupt as exception , return as an exception * /
181+ kflag AUX_STATUS_MASK_AE / * take interrupt as exception , return as an exception * /
182182
183183 cmp r0 , 0
184184 beq _ret_int_unprivileged_no_cx
You can’t perform that action at this time.
0 commit comments