freebsd-nq/sys/arm/xscale/i80321
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
..
ep80219_machdep.c Fix for the panic("vm_thread_new: kstack allocation failed") and 2007-11-05 11:36:16 +00:00
files.ep80219 Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
files.i80219 Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
files.i80321 Import dummy drivers for the i80321 DMA controller and AAU. 2005-10-03 14:19:55 +00:00
files.iq31244
i80321_aau.c Use BUS_DMA_COHERENT. 2006-03-02 14:06:38 +00:00
i80321_dma.c Use BUS_DMA_COHERENT. 2006-03-02 14:06:38 +00:00
i80321_intr.h Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
i80321_mcu.c
i80321_pci.c Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
i80321_space.c Provide stream operations. 2006-12-02 13:37:29 +00:00
i80321_timer.c Share the timer and watchdog drivers with the i81342. It's the same, 2007-07-27 14:52:04 +00:00
i80321_wdog.c Share the timer and watchdog drivers with the i81342. It's the same, 2007-07-27 14:52:04 +00:00
i80321.c There's no need to re-read PCIR_COMMAND once we set it. 2007-09-04 18:45:27 +00:00
i80321reg.h Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
i80321var.h Do not define NIRQ, it is already defined in include/intr.h 2007-07-27 14:53:06 +00:00
iq31244_7seg.c Increase the refresh rate. 2005-05-25 13:44:55 +00:00
iq31244_machdep.c Fix for the panic("vm_thread_new: kstack allocation failed") and 2007-11-05 11:36:16 +00:00
iq80321.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
iq80321reg.h Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
iq80321var.h
obio_space.c Match bus space unmap prototype. 2006-11-20 13:21:02 +00:00
obio.c Cleanup 2007-07-27 14:53:42 +00:00
obiovar.h Fix multiple abuses of __RMAN_RESOURCE_VISIBLE in the arm code. 2005-09-25 21:06:50 +00:00
std.ep80219 Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
std.i80219 Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
std.i80321 Instead of using sysarch() to store-retrieve the tp, add a magic address, 2005-02-26 18:59:01 +00:00
std.iq31244 The IQ80321 clock is 200MHz, but the IQ80321 is 198MHz, so add a kernel option 2005-12-09 23:52:51 +00:00
uart_bus_i80321.c
uart_cpu_i80321.c Don't expose the uart_ops structure directly, but instead have 2007-04-02 22:00:22 +00:00