mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 09:30:41 +00:00
Machine dependent ifdefs for sparc64.
This commit is contained in:
parent
3a9b5daf48
commit
9ceb184438
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80706
|
@ -75,7 +75,7 @@ struct fid {
|
|||
#if defined(__i386__) || defined(__powerpc__)
|
||||
#define MNAMELEN 80 /* length of buffer for returned name */
|
||||
#endif
|
||||
#if defined(__alpha__) || defined(__ia64__)
|
||||
#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
|
||||
#define MNAMELEN 72 /* length of buffer for returned name */
|
||||
#endif
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@
|
|||
* Constraints: PAGE_SIZE <= MAXALLOCSAVE <= 2 ** (MINBUCKET + 14), and
|
||||
* MAXALLOCSIZE must be a power of two.
|
||||
*/
|
||||
#if defined(__alpha__) || defined(__ia64__)
|
||||
#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
|
||||
#define MINBUCKET 5 /* 5 => min allocation of 32 bytes */
|
||||
#else
|
||||
#define MINBUCKET 4 /* 4 => min allocation of 16 bytes */
|
||||
|
|
|
@ -85,6 +85,9 @@
|
|||
#ifdef __powerpc__
|
||||
#define KINFO_PROC_SIZE 656
|
||||
#endif
|
||||
#ifdef __sparc64__
|
||||
#define KINFO_PROC_SIZE 888
|
||||
#endif
|
||||
#ifndef KINFO_PROC_SIZE
|
||||
#error "Unknown architecture"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue