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

add amd64 netbsd 2.0 support

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

index 470f49577963384ccbee2a9c22f9d2efabd4381c..240fb060738e68d0039b80420bc9b3edf8e3d199 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 */