Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2014 20:32:29 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269395 - head/sys/arm/ti
Message-ID:  <201408012032.s71KWToi096250@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Aug  1 20:32:29 2014
New Revision: 269395
URL: http://svnweb.freebsd.org/changeset/base/269395

Log:
  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>

Modified:
  head/sys/arm/ti/ti_smc.S

Modified: head/sys/arm/ti/ti_smc.S
==============================================================================
--- head/sys/arm/ti/ti_smc.S	Fri Aug  1 20:30:24 2014	(r269394)
+++ head/sys/arm/ti/ti_smc.S	Fri Aug  1 20:32:29 2014	(r269395)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408012032.s71KWToi096250>