Subject: CVS commit: syssrc/sys
To: None <source-changes@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 12/12/2002 02:29:25
Module Name:	syssrc
Committed By:	manu
Date:		Thu Dec 12 00:29:24 UTC 2002

Modified Files:
	syssrc/sys/arch/powerpc/powerpc: mach_machdep.c
	syssrc/sys/compat/mach: mach_namemap.c mach_port.c mach_port.h
	    mach_task.c mach_task.h mach_thread.c mach_thread.h mach_types.h

Log Message:
Added a few Mach traps: mach_boostrap_register, mach_port_set_attributes,
mach_port_move_member, mach_port_set_attributes, mach_task_set_special_port,
(none do anything)
Added mach_thread_create_running, which creates a new Mach thread. It
provides the register context of the new thread. We use it in a child
function provided to fork1(). The child function is machine dependent and
is not yet implemented for i386.

The new thread crashes quickly, but at least it starts.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/powerpc/powerpc/mach_machdep.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/compat/mach/mach_namemap.c \
    syssrc/sys/compat/mach/mach_task.c syssrc/sys/compat/mach/mach_types.h
cvs rdiff -r1.13 -r1.14 syssrc/sys/compat/mach/mach_port.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/compat/mach/mach_port.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/compat/mach/mach_task.h \
    syssrc/sys/compat/mach/mach_thread.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/compat/mach/mach_thread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.