Changes to sys/ includes to support PowerPC.

Reviewed by:	obrien, dfr
This commit is contained in:
Benno Rice 2001-06-10 02:08:36 +00:00
parent d928288734
commit fb49f5492e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77956
2 changed files with 4 additions and 1 deletions

View File

@ -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__)

View File

@ -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