From 1f366383c085d170a43eacda8305af68350c51ca Mon Sep 17 00:00:00 2001 From: Tracy Di Marco White Date: Sat, 15 Oct 2005 15:17:47 +0000 Subject: [PATCH] STABLE14-nbsd20-amd64-20051015 FIXES 21562 add amd64 netbsd 2.0 support (cherry picked from commit 1c990adad6b654170849ccdaa1e5476d6caba9b4) --- acinclude.m4 | 4 ++++ src/config/afs_sysnames.h | 1 + src/config/param.amd64_nbsd20.h | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 src/config/param.amd64_nbsd20.h diff --git a/acinclude.m4 b/acinclude.m4 index 5015eb3ca..d2a7583b3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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" diff --git a/src/config/afs_sysnames.h b/src/config/afs_sysnames.h index 905de7480..0b2ebcbe4 100644 --- a/src/config/afs_sysnames.h +++ b/src/config/afs_sysnames.h @@ -207,6 +207,7 @@ #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 index 000000000..744330aab --- /dev/null +++ b/src/config/param.amd64_nbsd20.h @@ -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 */ -- 2.39.5