Remove DAIF bits handling macros
These macros are unused and redundant with other CPU system registers functions. Moreover enable_serror() function implementation may not reach its purpose because it does not handle the value of SCR_EL3.EA. Signed-off-by: Gerald Lejeune <gerald.lejeune@st.com>
This commit is contained in:
parent
adb4fcfb4c
commit
4ca5753576
|
@ -168,15 +168,6 @@ void disable_mmu_icache_el3(void);
|
|||
DEFINE_SYSREG_WRITE_CONST_FUNC(daifset)
|
||||
DEFINE_SYSREG_WRITE_CONST_FUNC(daifclr)
|
||||
|
||||
#define enable_irq() write_daifclr(DAIF_IRQ_BIT)
|
||||
#define enable_fiq() write_daifclr(DAIF_FIQ_BIT)
|
||||
#define enable_serror() write_daifclr(DAIF_ABT_BIT)
|
||||
#define enable_debug_exceptions() write_daifclr(DAIF_DBG_BIT)
|
||||
#define disable_irq() write_daifset(DAIF_IRQ_BIT)
|
||||
#define disable_fiq() write_daifset(DAIF_FIQ_BIT)
|
||||
#define disable_serror() write_daifset(DAIF_ABT_BIT)
|
||||
#define disable_debug_exceptions() write_daifset(DAIF_DBG_BIT)
|
||||
|
||||
DEFINE_SYSREG_READ_FUNC(par_el1)
|
||||
DEFINE_SYSREG_READ_FUNC(id_pfr1_el1)
|
||||
DEFINE_SYSREG_READ_FUNC(id_aa64pfr0_el1)
|
||||
|
|
Loading…
Reference in New Issue