Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 16:04:29 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r268318 - projects/arm64/sys/arm64/include
Message-ID:  <201407061604.s66G4TM8074913@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



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