freebsd-skq/sys/arm/at91
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
..
at91_mci.c Kill overly verbose messages about setting bus width. 2007-09-16 07:48:58 +00:00
at91_mcireg.h correct guard variable names. 2007-10-18 05:43:44 +00:00
at91_pdcreg.h Get this to compile : 2006-05-11 14:30:28 +00:00
at91_pio_rm9200.h Add support for configuring pins to be one of {GPIO, PERIPHERAL A or 2006-07-02 03:50:44 +00:00
at91_pio.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
at91_pioreg.h Merge from FreeBSD-tsf-6 by way of p4: 2007-01-01 00:46:54 +00:00
at91_piovar.h MFp4: 2006-07-14 22:22:57 +00:00
at91_pmc.c Kill bogus printf debugs. 2007-09-16 07:51:02 +00:00
at91_pmcreg.h Add the sekelton of support for the Power Management Controller. 2006-03-24 07:37:56 +00:00
at91_pmcvar.h Add the sekelton of support for the Power Management Controller. 2006-03-24 07:37:56 +00:00
at91_rtc.c Correct return code (int) for at91_rtc_intr() prototype. 2007-02-27 13:39:34 +00:00
at91_rtcreg.h MFp4: 2006-07-14 22:06:01 +00:00
at91_spi.c Use tsleep() rather than msleep() with a NULL mtx. 2007-02-27 17:15:39 +00:00
at91_spireg.h MFp4: Fix bit name for SPI SR register 2007-01-01 00:50:25 +00:00
at91_ssc.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
at91_sscreg.h MFp4: Status register bits 2006-10-25 07:58:18 +00:00
at91_st.c Revisit the watchdogs: Resetting the error to EINVAL after failing to set the 2007-03-27 21:03:37 +00:00
at91_streg.h
at91_twi.c MFp4: A bunch of patches from myself and Tisco to improve the 2007-03-23 22:57:24 +00:00
at91_twiio.h
at91_twireg.h MFp4: A bunch of patches from myself and Tisco to improve the 2007-03-23 22:57:24 +00:00
at91_usartreg.h Remove unused bit definitions. 2006-04-06 04:29:24 +00:00
at91.c o substitute INTR_FAST with FILTER in a panic message. 2007-03-06 10:55:57 +00:00
at91rm92reg.h Add an option to be able to override the value of the AT91 master clock 2007-10-25 23:02:42 +00:00
at91var.h
files.at91 MFp4: Make at91_rtc optional to allow other RTC choices 2007-01-05 02:06:53 +00:00
files.kb920x
hints.at91rm9200
hints.at91sam9261
if_ate.c In ate_get_mac(), try to get the mac address in the right order, at least 2007-10-24 23:12:19 +00:00
if_atereg.h MFp4: berndt pointed me at an errata that shows that the stat register 2006-09-07 21:50:01 +00:00
kb920x_machdep.c Fix for the panic("vm_thread_new: kstack allocation failed") and 2007-11-05 11:36:16 +00:00
ohci_atmelarm.c kill commented out line of code. 2007-10-29 21:01:50 +00:00
std.at91 Move some KB920x-specific options into the KB920x file. 2007-10-25 22:57:19 +00:00
std.kb920x Move some KB920x-specific options into the KB920x file. 2007-10-25 22:57:19 +00:00
uart_bus_at91usart.c Resurrect Skyeye support : 2006-05-13 23:41:16 +00:00
uart_cpu_at91rm9200usart.c Correct a comment, this was not true anymore. 2007-10-24 22:24:32 +00:00
uart_dev_at91usart.c Don't expose the uart_ops structure directly, but instead have 2007-04-02 22:00:22 +00:00