Tell the assembler we're building for armv7a with security extensions,

so that the 'smc' (secure monitor call) opcode is valid.

Submitted by:	Stepan Dyatkovskiy <stpworld@narod.ru>
This commit is contained in:
Ian Lepore 2014-08-01 20:32:29 +00:00
parent 2d0ef32f84
commit bda25c28ac

View File

@ -26,7 +26,8 @@
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
.arch armv7a
.arch armv7a
.arch_extension sec
/* Issue a smc #0 call */
/* r0 and r1 contains the eventual arguments, r2 contains the function ID */