opcodes-sec.h 342 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2012 ARM Limited
  4. */
  5. #ifndef __ASM_ARM_OPCODES_SEC_H
  6. #define __ASM_ARM_OPCODES_SEC_H
  7. #include <asm/opcodes.h>
  8. #define __SMC(imm4) __inst_arm_thumb32( \
  9. 0xE1600070 | (((imm4) & 0xF) << 0), \
  10. 0xF7F08000 | (((imm4) & 0xF) << 16) \
  11. )
  12. #endif /* __ASM_ARM_OPCODES_SEC_H */