solars-sparc32-largefile-20051011
[openafs.git] / src / config / param.sun4x_510.h
index 50b18db..f21d2fe 100644 (file)
 #define AFS_SUN58_ENV          1
 #define AFS_SUN59_ENV          1
 #define AFS_SUN510_ENV         1
+#define AFS_BOZONLOCK_ENV       1
 
 #define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
-/*
- * Only define on 64 bit kernel, until problems with 32 bit
- * and large file support are resolved
- */
-#if defined(__sparcv9)
 #define AFS_64BIT_CLIENT       1       
-#endif
 
 #define AFS_HAVE_FLOCK_SYSID   1
 
@@ -78,7 +73,7 @@
 /*#define      AFS_USEBUFFERS  1*/
 #define        afsio_iov               uio_iov
 #define        afsio_iovcnt            uio_iovcnt
-#define        afsio_offset            uio_offset
+#define        afsio_offset            uio_loffset
 #define        afsio_seg               uio_segflg
 #define        afsio_fmode             uio_fmode
 #define        afsio_resid             uio_resid
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE               kmem_free
 #define        VATTR_NULL              vattr_null
-#define memset(A, B, S)                bzero(A, S)
-#define memcpy(B, A, S)                bcopy(A, B, S)
-#define memcmp(A, B, S)                bcmp(A, B, S)
 #endif /* KERNEL */
 #define        AFS_DIRENT
 #ifndef CMSERVERPREF