Add support for amd64_obsd46
authorAndrew Deason <adeason@sinenomine.net>
Wed, 17 Feb 2010 18:05:53 +0000 (12:05 -0600)
committerDerrick Brashear <shadow@dementia.org>
Wed, 17 Feb 2010 20:49:40 +0000 (12:49 -0800)
Change-Id: I41a9ad46cac3af1e02c64683e893c9547598e867
Reviewed-on: http://gerrit.openafs.org/1337
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

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

index 554afe5..a6f86e4 100644 (file)
@@ -770,6 +770,7 @@ case $AFS_SYSNAME in
     *_obsd43)   AFS_PARAM_COMMON=param.obsd43.h  ;;
     *_obsd44)   AFS_PARAM_COMMON=param.obsd44.h  ;;
     *_obsd45)   AFS_PARAM_COMMON=param.obsd45.h  ;;
+    *_obsd46)   AFS_PARAM_COMMON=param.obsd46.h  ;;
     *_linux22)  AFS_PARAM_COMMON=param.linux22.h ;;
     *_linux24)  AFS_PARAM_COMMON=param.linux24.h ;;
     *_linux26)  AFS_PARAM_COMMON=param.linux26.h ;;
index 53f2a2a..fbf8a9b 100644 (file)
 #define SYS_NAME_ID_amd64_obsd43        4012
 #define SYS_NAME_ID_amd64_obsd44        4013
 #define SYS_NAME_ID_amd64_obsd45        4014
-#define SYS_NAME_ID_amd64_obsd45        4014
+#define SYS_NAME_ID_amd64_obsd46        4015
 
 /*
  * Placeholder to keep system-wide standard flags since this file is included by all 
diff --git a/src/config/param.amd64_obsd46.h b/src/config/param.amd64_obsd46.h
new file mode 100644 (file)
index 0000000..a186442
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd46"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd46
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFS_64BITUSERPOINTER_ENV       1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */