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_ */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"