freebsd-dev/sys/arm/xscale/ixp425
Konstantin Belousov 89b57fcf01 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
..
avila_ata.c Optimize a bit more, both the Avila and Pronghorn Metro boards work with 2007-05-28 18:45:16 +00:00
avila_led.c
avila_machdep.c Fix for the panic("vm_thread_new: kstack allocation failed") and 2007-11-05 11:36:16 +00:00
files.avila
files.ixp425 Ok I hope I got it right this time. 2007-09-27 22:39:49 +00:00
if_npe.c Remove a staled comment, NPE-C should work fine. 2007-11-04 21:54:52 +00:00
if_npereg.h
ixdp425_pci.c
ixdp425reg.h Better i2c bit definitions. 2006-11-30 06:30:01 +00:00
ixp425_a4x_io.S
ixp425_a4x_space.c
ixp425_iic.c
ixp425_intr.h
ixp425_mem.c Fix comments. 2007-01-26 01:37:32 +00:00
ixp425_npe.c Ok I hope I got it right this time. 2007-09-27 22:39:49 +00:00
ixp425_npereg.h
ixp425_npevar.h Ok I hope I got it right this time. 2007-09-27 22:39:49 +00:00
ixp425_pci_asm.S
ixp425_pci_space.c
ixp425_pci.c Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
ixp425_qmgr.c Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
ixp425_qmgr.h
ixp425_space.c
ixp425_timer.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ixp425_wdog.c Revisit the watchdogs: Resetting the error to EINVAL after failing to set the 2007-03-27 21:03:37 +00:00
ixp425.c Remove the hardcoded IXP425_UART?_VBASE values in the 2007-05-29 18:10:42 +00:00
ixp425reg.h Map the second CS of the compact flash too. This allow us access to 2007-03-14 19:03:07 +00:00
ixp425var.h Remove the hardcoded IXP425_UART?_VBASE values in the 2007-05-29 18:10:42 +00:00
std.avila
std.ixp425
uart_bus_ixp425.c Remove the hardcoded IXP425_UART?_VBASE values in the 2007-05-29 18:10:42 +00:00
uart_cpu_ixp425.c Remove the hardcoded IXP425_UART?_VBASE values in the 2007-05-29 18:10:42 +00:00