opcodes-sec.h 350 B

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