Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 11:01:20 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   RE: PERFORCE change 19520 for review
Message-ID:  <XFMail.20021018110120.jhb@FreeBSD.org>
In-Reply-To: <200210180203.g9I23Gk4006368@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Oct-2002 Peter Wemm wrote:
> http://perforce.freebsd.org/chv.cgi?CH=19520
> 
> Change 19520 by peter@peter_overcee on 2002/10/17 19:02:53
> 
>       add hammer

This is just screaming for some I32LP64 and ILP32 defines in some
MD header.  That or possibly I32, L32, L64, P32, and P64 defines.

> Affected files ...
> 
> .. //depot/projects/hammer/sys/sys/mount.h#4 edit
> .. //depot/projects/hammer/sys/sys/user.h#4 edit
> 
> Differences ...
> 
> ==== //depot/projects/hammer/sys/sys/mount.h#4 (text+ko) ====
> 
> @@ -77,7 +77,7 @@
>  #if defined(__i386__) || defined(__powerpc__)
>  #define      MNAMELEN        80      /* length of buffer for returned name */
>  #endif
> -#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
> +#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__) || defined(__x86_64__)
>  #define      MNAMELEN        72      /* length of buffer for returned name */
>  #endif
>  
> 
> ==== //depot/projects/hammer/sys/sys/user.h#4 (text+ko) ====
> 
> @@ -74,7 +74,7 @@
>   * to initialize it in two places: kern/kern_proc.c in the function
>   * fill_kinfo_proc and in lib/libkvm/kvm_proc.c in the function kvm_proclist.
>   */
> -#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
> +#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__) || defined(__x86_64__)
>  #define      KINFO_PROC_SIZE 912             /* the correct size for kinfo_proc */
>  #endif
>  #ifdef       __i386__

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021018110120.jhb>