aarch64: error: Beautify error printing
Make the printing of errors a bit more descriptive and print the FAR_ELn register only when strictly required. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
6d05c57781
commit
a054e424e4
2 changed files with 103 additions and 82 deletions
|
@ -160,6 +160,10 @@
|
|||
|
||||
#define GET_EL(_mode) (((_mode) >> MODE_EL_SHIFT) & MODE_EL_MASK)
|
||||
|
||||
#define ESR_EC(esr) (((esr) >> 26) & BIT_MASK(6))
|
||||
#define ESR_IL(esr) (((esr) >> 25) & BIT_MASK(1))
|
||||
#define ESR_ISS(esr) ((esr) & BIT_MASK(25))
|
||||
|
||||
/* mpidr */
|
||||
#define MPIDR_AFFLVL_MASK 0xff
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue