freebsd-skq/sys/powerpc/aim
kib 9ae733819b Fix for the panic("vm_thread_new: kstack allocation failed") and
silent NULL pointer dereference in the i386 and sparc64 pmap_pinit()
when the kmem_alloc_nofault() failed to allocate address space. Both
functions now return error instead of panicing or dereferencing NULL.

As consequence, vmspace_exec() and vmspace_unshare() returns the errno
int. struct vmspace arg was added to vm_forkproc() to avoid dealing
with failed allocation when most of the fork1() job is already done.

The kernel stack for the thread is now set up in the thread_alloc(),
that itself may return NULL. Also, allocation of the first process
thread is performed in the fork1() to properly deal with stack
allocation failure. proc_linkup() is separated into proc_linkup()
called from fork1(), and proc_linkup0(), that is used to set up the
kernel process (was known as swapper).

In collaboration with:	Peter Holm
Reviewed by:	jhb
2007-11-05 11:36:16 +00:00
..
clock.c Don't initialize the decrementer before initclocks() is called. 2007-05-27 21:05:35 +00:00
copyinout.c Fix remaining compile error. 2006-10-18 19:56:20 +00:00
interrupt.c Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
locore.S Copy SPRG0-3 registers at boot-time and restore when calling into 2005-10-30 21:29:59 +00:00
machdep.c Fix for the panic("vm_thread_new: kstack allocation failed") and 2007-11-05 11:36:16 +00:00
mmu_oea.c Remove bogus increment of re-hashed PTEG index. This snuck in with r1.12 of 2006-12-20 01:10:21 +00:00
nexus.c Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
ofw_machdep.c Implement OF_decode_addr(). This makes uart(4) work as a serial 2006-12-13 06:11:22 +00:00
ofwmagic.S
swtch.S Cut over to ULE on PowerPC 2007-10-23 00:52:25 +00:00
trap_subr.S Mark the return address of the call to ast() in the generic trap 2005-12-23 13:05:27 +00:00
trap.c Remove redundant prototype. 2007-08-07 18:40:02 +00:00
uio_machdep.c Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
uma_machdep.c It has been observed on the mailing lists that the different categories 2007-09-15 18:47:02 +00:00
vm_machdep.c Cut over to ULE on PowerPC 2007-10-23 00:52:25 +00:00