svn commit: r268318 - projects/arm64/sys/arm64/include

Andrew Turner andrew at FreeBSD.org
Sun Jul 6 16:04:29 UTC 2014


Author: andrew
Date: Sun Jul  6 16:04:28 2014
New Revision: 268318
URL: http://svnweb.freebsd.org/changeset/base/268318

Log:
  Add useful defines to the arm64 machine/asm.h

Modified:
  projects/arm64/sys/arm64/include/asm.h

Modified: projects/arm64/sys/arm64/include/asm.h
==============================================================================
--- projects/arm64/sys/arm64/include/asm.h	Sun Jul  6 15:46:44 2014	(r268317)
+++ projects/arm64/sys/arm64/include/asm.h	Sun Jul  6 16:04:28 2014	(r268318)
@@ -28,6 +28,19 @@
 #ifndef _MACHINE_ASM_H_
 #define	_MACHINE_ASM_H_
 
+#undef __FBSDID
+#if !defined(lint) && !defined(STRIP_FBSDID)
+#define __FBSDID(s)     .ident s
+#else
+#define __FBSDID(s)     /* nothing */
+#endif
+
+#define	_C_LABEL(x)	x
+
+#define	ENTRY(sym)						\
+	.text; .globl sym; sym:
+#define END(sym)
+
 #define	UINT64_C(x)	(x)
 
 #endif /* _MACHINE_ASM_H_ */


More information about the svn-src-projects mailing list