mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 13:53:54 +00:00
feat(ras): add eabort get helper function
Add EABORT get field helper function to obtain SET, AET (UET) values from esr_el3/disr_el1 based on PE error state recording in the exception syndrome refer to RAS PE architecture in https://developer.arm.com/documentation/ddi0487/latest/ Change-Id: I0011f041a3089c9bbf670275687ad7c3362a07f9 Signed-off-by: Vinoj Soundararajan <vinojs@google.com>
This commit is contained in:
parent
daeae49511
commit
ec6f49c26b
1 changed files with 3 additions and 0 deletions
|
@ -178,6 +178,9 @@
|
|||
#define EABORT_SET_WIDTH U(2)
|
||||
#define EABORT_SET_MASK U(0x3)
|
||||
|
||||
#define EABORT_GET_FIELD(_esr_el3, _field) \
|
||||
(((_esr_el3) >> EABORT_ ##_field ##_SHIFT) & EABORT_ ##_field ##_MASK)
|
||||
|
||||
/* DFSC code for SErrors */
|
||||
#define DFSC_SERROR 0x11
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue