]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-nbsd20-amd64-20051015
authorTracy Di Marco White <gendalia@iastate.edu>
Sat, 15 Oct 2005 15:17:47 +0000 (15:17 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 15 Oct 2005 15:17:47 +0000 (15:17 +0000)
FIXES 21562

add amd64 netbsd 2.0 support

(cherry picked from commit 1c990adad6b654170849ccdaa1e5476d6caba9b4)

acinclude.m4
src/config/afs_sysnames.h
src/config/param.amd64_nbsd20.h [new file with mode: 0644]

index 5015eb3ca9ae6046ef46ccc4cc288b1d6183ecb4..d2a7583b367b145a9d6ea210d256cd879bfd8453 100644 (file)
@@ -268,6 +268,10 @@ else
                        AFS_PARAM_COMMON=param.nbsd20.h
                        AFS_SYSNAME="i386_nbsd20"
                        ;;
+               amd64-*-netbsd*2.0*)
+                       AFS_PARAM_COMMON=param.nbsd20.h
+                       AFS_SYSNAME="amd64_nbsd20"
+                       ;;
                powerpc-*-netbsd*2.0*)
                        AFS_PARAM_COMMON=param.nbsd20.h
                        AFS_SYSNAME="ppc_nbsd20"
index 905de748053462956a83b47e3a4c4f977f037562..0b2ebcbe4fe722e4822cca049660b4fd153fe56e 100644 (file)
 #define SYS_NAME_ID_macppc_nbsd20      2524
 #define SYS_NAME_ID_i386_nbsd21                2525
 #define SYS_NAME_ID_i386_nbsd30                2526
+#define SYS_NAME_ID_amd64_nbsd20       2527
 
 #define SYS_NAME_ID_i386_obsd31                2600
 #define SYS_NAME_ID_i386_obsd32                2601
diff --git a/src/config/param.amd64_nbsd20.h b/src/config/param.amd64_nbsd20.h
new file mode 100644 (file)
index 0000000..744330a
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef AFS_AMD64_PARAM_H
+#define AFS_AMD64_PARAM_H
+
+#define AFS_X86_XBSD_ENV 1
+#define AFS_X86_ENV 1
+#define AFSLITTLE_ENDIAN 1
+
+#define SYS_NAME       "amd64_nbsd20"
+#define SYS_NAME_ID    SYS_NAME_ID_amd64_nbsd20
+
+#define AFS_64BITPOINTER_ENV  1
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#endif /* !defined(UKERNEL) */
+
+#endif /* AFS_AMD64_PARAM_H */