Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 22:54:29 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307074 - in head/sys: mips/include pc98/include powerpc/include riscv/include sparc64/include
Message-ID:  <201610112254.u9BMsTQW064396@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Oct 11 22:54:29 2016
New Revision: 307074
URL: https://svnweb.freebsd.org/changeset/base/307074

Log:
  Include stubs even on the platforms we don't support so libsysdecode
  continues to build.

Added:
  head/sys/mips/include/efi.h
     - copied, changed from r307073, head/sys/i386/include/efi.h
  head/sys/pc98/include/efi.h
     - copied, changed from r307073, head/sys/i386/include/efi.h
  head/sys/powerpc/include/efi.h
     - copied, changed from r307073, head/sys/i386/include/efi.h
  head/sys/riscv/include/efi.h
     - copied, changed from r307073, head/sys/i386/include/efi.h
  head/sys/sparc64/include/efi.h
     - copied, changed from r307073, head/sys/i386/include/efi.h

Copied and modified: head/sys/mips/include/efi.h (from r307073, head/sys/i386/include/efi.h)
==============================================================================
--- head/sys/i386/include/efi.h	Tue Oct 11 22:32:12 2016	(r307073, copy source)
+++ head/sys/mips/include/efi.h	Tue Oct 11 22:54:29 2016	(r307074)
@@ -29,11 +29,11 @@
  * $FreeBSD$
  */
 
-#ifndef __I386_INCLUDE_EFI_H_
-#define __I386_INCLUDE_EFI_H_
+#ifndef __MIPS_INCLUDE_EFI_H_
+#define __MIPS_INCLUDE_EFI_H_
 
-#define	EFIABI_ATTR /* __attribute__((ms_abi)) */ /* clang fails with this */
+#define	EFIABI_ATTR
 
-/* Note: we don't actually support this on i386 yet */
+/* Note: we don't actually support this on mips */
 
-#endif /* __I386_INCLUDE_EFI_H_ */
+#endif /* __MIPS_INCLUDE_EFI_H_ */

Copied and modified: head/sys/pc98/include/efi.h (from r307073, head/sys/i386/include/efi.h)
==============================================================================
--- head/sys/i386/include/efi.h	Tue Oct 11 22:32:12 2016	(r307073, copy source)
+++ head/sys/pc98/include/efi.h	Tue Oct 11 22:54:29 2016	(r307074)
@@ -29,11 +29,11 @@
  * $FreeBSD$
  */
 
-#ifndef __I386_INCLUDE_EFI_H_
-#define __I386_INCLUDE_EFI_H_
+#ifndef __PC98_INCLUDE_EFI_H_
+#define __PC98_INCLUDE_EFI_H_
 
-#define	EFIABI_ATTR /* __attribute__((ms_abi)) */ /* clang fails with this */
+#define	EFIABI_ATTR
 
-/* Note: we don't actually support this on i386 yet */
+/* Note: we don't actually support this on pc98 */
 
-#endif /* __I386_INCLUDE_EFI_H_ */
+#endif /* __PC98_INCLUDE_EFI_H_ */

Copied and modified: head/sys/powerpc/include/efi.h (from r307073, head/sys/i386/include/efi.h)
==============================================================================
--- head/sys/i386/include/efi.h	Tue Oct 11 22:32:12 2016	(r307073, copy source)
+++ head/sys/powerpc/include/efi.h	Tue Oct 11 22:54:29 2016	(r307074)
@@ -29,11 +29,11 @@
  * $FreeBSD$
  */
 
-#ifndef __I386_INCLUDE_EFI_H_
-#define __I386_INCLUDE_EFI_H_
+#ifndef __POWERPC_INCLUDE_EFI_H_
+#define __POWERPC_INCLUDE_EFI_H_
 
-#define	EFIABI_ATTR /* __attribute__((ms_abi)) */ /* clang fails with this */
+#define	EFIABI_ATTR
 
-/* Note: we don't actually support this on i386 yet */
+/* Note: we don't actually support this on powerpc */
 
-#endif /* __I386_INCLUDE_EFI_H_ */
+#endif /* __POWERPC_INCLUDE_EFI_H_ */

Copied and modified: head/sys/riscv/include/efi.h (from r307073, head/sys/i386/include/efi.h)
==============================================================================
--- head/sys/i386/include/efi.h	Tue Oct 11 22:32:12 2016	(r307073, copy source)
+++ head/sys/riscv/include/efi.h	Tue Oct 11 22:54:29 2016	(r307074)
@@ -29,11 +29,11 @@
  * $FreeBSD$
  */
 
-#ifndef __I386_INCLUDE_EFI_H_
-#define __I386_INCLUDE_EFI_H_
+#ifndef __RISCV_INCLUDE_EFI_H_
+#define __RISCV_INCLUDE_EFI_H_
 
-#define	EFIABI_ATTR /* __attribute__((ms_abi)) */ /* clang fails with this */
+#define	EFIABI_ATTR
 
-/* Note: we don't actually support this on i386 yet */
+/* Note: we don't actually support this on riscv */
 
 #endif /* __I386_INCLUDE_EFI_H_ */

Copied and modified: head/sys/sparc64/include/efi.h (from r307073, head/sys/i386/include/efi.h)
==============================================================================
--- head/sys/i386/include/efi.h	Tue Oct 11 22:32:12 2016	(r307073, copy source)
+++ head/sys/sparc64/include/efi.h	Tue Oct 11 22:54:29 2016	(r307074)
@@ -29,11 +29,11 @@
  * $FreeBSD$
  */
 
-#ifndef __I386_INCLUDE_EFI_H_
-#define __I386_INCLUDE_EFI_H_
+#ifndef __SPARC64_INCLUDE_EFI_H_
+#define __SPARC64_INCLUDE_EFI_H_
 
-#define	EFIABI_ATTR /* __attribute__((ms_abi)) */ /* clang fails with this */
+#define	EFIABI_ATTR
 
-/* Note: we don't actually support this on i386 yet */
+/* Note: we don't actually support this on sparc64 */
 
 #endif /* __I386_INCLUDE_EFI_H_ */



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