Changes to sys/ includes to support PowerPC.
Reviewed by: obrien, dfr
This commit is contained in:
parent
d928288734
commit
fb49f5492e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77956
@ -72,7 +72,7 @@ struct fid {
|
||||
*/
|
||||
|
||||
#define MFSNAMELEN 16 /* length of fs type name, including null */
|
||||
#ifdef __i386__
|
||||
#if defined(__i386__) || defined(__powerpc__)
|
||||
#define MNAMELEN 80 /* length of buffer for returned name */
|
||||
#endif
|
||||
#if defined(__alpha__) || defined(__ia64__)
|
||||
|
@ -82,6 +82,9 @@
|
||||
#ifdef __i386__
|
||||
#define KINFO_PROC_SIZE 648 /* the correct size for kinfo_proc */
|
||||
#endif
|
||||
#ifdef __powerpc__
|
||||
#define KINFO_PROC_SIZE 656
|
||||
#endif
|
||||
#ifndef KINFO_PROC_SIZE
|
||||
#error "Unknown architecture"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user