Subject: Re: CVS commit: src/sys/compat/netbsd32
To: Quentin Garnier <cube@netbsd.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: source-changes
Date: 02/18/2007 15:42:30
On Sun, Feb 18, 2007 at 09:03:55AM +0000, Quentin Garnier wrote:
> 
> Module Name:	src
> Committed By:	cube
> Date:		Sun Feb 18 09:03:55 UTC 2007
> 
> Modified Files:
> 	src/sys/compat/netbsd32: files.netbsd32 syscalls.master
> Added Files:
> 	src/sys/compat/netbsd32: netbsd32_lwp.c
> Removed Files:
> 	src/sys/compat/netbsd32: netbsd32_sa.c netbsd32_sa.h
> 
> Log Message:
> Add missing lwp syscalls.  Put them all together into a new file,
> netbsd32_lwp.c, and remove remaining traces of SA.
> 
> This still needs some MD (and possibly MI, depending on the chosen
> solution) changes to actually work.

On NetBSD-4.99.10/amd64:
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:134: warning: no previous prototype for 'netbsd32__lwp_park'
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: In function 'netbsd32__lwp_park':
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:143: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:149: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:169: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:170: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: At top level:
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:176: warning: no previous prototype for 'netbsd32__lwp_kill'
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: In function 'netbsd32__lwp_kill':
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:183: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:184: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: At top level:
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:189: warning: no previous prototype for 'netbsd32__lwp_detach'
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: In function 'netbsd32__lwp_detach':
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:195: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: At top level:
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:201: warning: no previous prototype for 'netbsd32__lwp_unpark'
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: In function 'netbsd32__lwp_unpark':
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:208: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:209: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: At top level:
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:215: warning: no previous prototype for 'netbsd32__lwp_unpark_all'
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c: In function 'netbsd32__lwp_unpark_all':
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:223: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:224: error: dereferencing pointer to incomplete type
/usr/src/sys/compat/netbsd32/netbsd32_lwp.c:225: error: dereferencing pointer to incomplete type

 Thomas