isb();
}
-#if !ERROR_DEPRECATED
-uint32_t get_afflvl_shift(uint32_t);
-uint32_t mpidr_mask_lower_afflvls(uint64_t, uint32_t);
-
-void __dead2 eret(uint64_t x0, uint64_t x1, uint64_t x2, uint64_t x3,
- uint64_t x4, uint64_t x5, uint64_t x6, uint64_t x7);
-#endif
void __dead2 smc(uint64_t x0, uint64_t x1, uint64_t x2, uint64_t x3,
uint64_t x4, uint64_t x5, uint64_t x6, uint64_t x7);
}
}
-#if !ERROR_DEPRECATED
-#define EL_IMPLEMENTED(_el) el_implemented(_el)
-#endif
-
/* Previously defined accesor functions with incomplete register names */
#define read_current_el() read_CurrentEl()
#include <common/bl_common.h>
#include <lib/xlat_tables/xlat_tables_defs.h>
-#if !ERROR_DEPRECATED
- .globl get_afflvl_shift
- .globl mpidr_mask_lower_afflvls
- .globl eret
-#endif /* ERROR_DEPRECATED */
.globl smc
.globl zero_normalmem
.globl enable_vfp
#endif
-#if !ERROR_DEPRECATED
-func get_afflvl_shift
- cmp x0, #3
- cinc x0, x0, eq
- mov x1, #MPIDR_AFFLVL_SHIFT
- lsl x0, x0, x1
- ret
-endfunc get_afflvl_shift
-
-func mpidr_mask_lower_afflvls
- cmp x1, #3
- cinc x1, x1, eq
- mov x2, #MPIDR_AFFLVL_SHIFT
- lsl x2, x1, x2
- lsr x0, x0, x2
- lsl x0, x0, x2
- ret
-endfunc mpidr_mask_lower_afflvls
-
-
-func eret
- eret
-endfunc eret
-#endif /* ERROR_DEPRECATED */
-
func smc
smc #0
endfunc smc