freebsd-nq/sys/arm/at91
Konstantin Belousov edc8222303 Make kstack_pages a tunable on arm, x86, and powepc. On i386, the
initial thread stack is not adjusted by the tunable, the stack is
allocated too early to get access to the kernel environment. See
TD0_KSTACK_PAGES for the thread0 stack sizing on i386.

The tunable was tested on x86 only.  From the visual inspection, it
seems that it might work on arm and powerpc.  The arm
USPACE_SVC_STACK_TOP and powerpc USPACE macros seems to be already
incorrect for the threads with non-default kstack size.  I only
changed the macros to use variable instead of constant, since I cannot
test.

On arm64, mips and sparc64, some static data structures are sized by
KSTACK_PAGES, so the tunable is disabled.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 week
2015-08-10 17:18:21 +00:00
..
at91_aic.c Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
at91_aicreg.h
at91_cfata.c
at91_common.c Include machine/intr.h for arm_post_filter. 2015-04-04 23:00:37 +00:00
at91_gpio.h Provide a simplified way to specify GPIO pins for the Atmel port. 2014-01-15 19:49:12 +00:00
at91_machdep.c Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
at91_mci.c Make note about reset vs RTOE actions... 2014-08-18 21:04:35 +00:00
at91_mcireg.h Print the symbolic bit names for the status when we get a timeout. 2014-08-14 23:17:33 +00:00
at91_pdcreg.h
at91_pinctrl.c Convert the at91_pinctrl driver to use the new fdt_pinctrl interface. 2014-09-13 19:59:16 +00:00
at91_pio_sam9g20.h
at91_pio_sam9g45.h Add support for the Atmel AT91SAM9G45 CPU. 2012-07-26 08:01:25 +00:00
at91_pio.c Need to handle the !FDT case still too... I thought in r270025 we 2015-05-22 05:02:53 +00:00
at91_pioreg.h Add definitions for the additional PIO pins found on recent AT91 SoCs. 2013-12-02 02:33:03 +00:00
at91_piovar.h Implement the FDT static pinctl/pinmux spec for Atmel. This will 2014-08-15 16:08:52 +00:00
at91_pit.c Add support for multipass to Atmel, for both FDT and !FDT cases. 2014-08-14 04:21:25 +00:00
at91_pitreg.h at91pit->at91_pit for consistnecy with other drivers. 2012-07-11 17:11:54 +00:00
at91_pmc.c Add support for multipass to Atmel, for both FDT and !FDT cases. 2014-08-14 04:21:25 +00:00
at91_pmcreg.h Add charge pump current register. 2012-08-10 04:47:20 +00:00
at91_pmcvar.h Correct the PLLA setting functions and centralize. 2012-08-11 05:45:19 +00:00
at91_reset.S Eliminate the AT91XXXX_BASE for each SoC. AT91_BASE is the right way 2012-07-10 02:14:50 +00:00
at91_rst.c Add FDT attachment. Flag lost functionality with FDT_HACKS so we can 2014-02-09 20:59:46 +00:00
at91_rstreg.h at91$DEV->at91_$DEV to match other Atmel drivers. Also, export 2012-07-11 17:11:07 +00:00
at91_rtc.c Loop reading the RTC registers until the same values are obtained 2012-10-07 20:36:46 +00:00
at91_rtcreg.h Use the RTC unit to get the time. This works on all known AT91SAM9* 2012-10-07 01:58:32 +00:00
at91_sdramc.c Add device node for SDRAMC device. Currently just claims device's 2014-02-28 02:59:51 +00:00
at91_shdwc.c shdwc device for fdt 2014-02-28 03:00:25 +00:00
at91_smc.c Add standard memory controller helper functions. 2014-01-19 17:45:13 +00:00
at91_smc.h Add standard memory controller helper functions. 2014-01-19 17:45:13 +00:00
at91_spi.c Honor the disabled status by only grabbing resources and returning 2014-02-13 16:50:08 +00:00
at91_spireg.h
at91_ssc.c
at91_sscreg.h
at91_st.c Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91_streg.h Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91_tcb.c tcb device for fdt 2014-02-28 03:00:28 +00:00
at91_twi.c Honor the disabled status by only grabbing resources and returning 2014-02-13 16:50:08 +00:00
at91_twiio.h
at91_twireg.h
at91_usartreg.h
at91_wdt.c FDT attachment... 2014-02-09 21:01:53 +00:00
at91_wdtreg.h
at91.c Use explicit initializer style, fill in missing functions. 2015-01-21 03:28:07 +00:00
at91board.h Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
at91reg.h The system IRQ is always IRQ 1. Make it so. 2012-07-10 02:39:03 +00:00
at91rm92reg.h Fix typos. 2014-09-26 09:07:02 +00:00
at91rm9200_devices.c Fix a typo: the RXD0 pin is PA18, not PA19. 2013-03-29 18:06:54 +00:00
at91rm9200.c Remove a bogus AIC. 2014-09-27 02:15:45 +00:00
at91rm9200var.h Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
at91sam9g20.c Move AIC related stuff to own file. 2014-03-08 06:06:50 +00:00
at91sam9g20reg.h Fix typos. 2014-09-26 09:07:02 +00:00
at91sam9g45.c Add data so we can convert a PIO unit number into a base address. 2014-01-15 19:53:36 +00:00
at91sam9g45reg.h Fix the definitioin of AT91SAM9G45_IRQ_PIOE and rename it to 2014-09-27 14:39:00 +00:00
at91sam9x5.c Move AIC related stuff to own file. 2014-03-08 06:06:50 +00:00
at91sam9x5reg.h Fix typos. 2014-09-26 09:07:02 +00:00
at91sam9260.c Add AIC to at91sam9260 support, now that it is needed for multipass to 2014-08-14 04:21:31 +00:00
at91sam9260reg.h Fix the size of AT91SAM9260_PIT_SIZE. 2014-09-26 09:08:09 +00:00
at91soc.c Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91soc.h Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91var.h Make at91_soc_id() public. 2014-03-08 05:03:56 +00:00
board_bwct.c Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
board_eb9200.c Fix board ID too... 2014-02-13 15:47:41 +00:00
board_ethernut5.c uboot should be telling us it is an ETHERNUT5 for this board. Tag it 2012-07-14 06:00:37 +00:00
board_hl200.c Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
board_hl201.c Connect NAND for the SAM9260EK eval board, as well as the HotE HL-201. 2014-01-19 17:59:34 +00:00
board_kb920x.c Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
board_qila9g20.c Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
board_sam9g20ek.c Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
board_sam9x25ek.c Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
board_sam9260ek.c Fix gcc with -Wstrict-prototypes by telling it bi_emac takes no parameters. 2014-01-25 19:36:27 +00:00
board_sn9g45.c Add new at91sam9g45 support and sn9g45 board to the ATMEL kernel. 2012-07-27 16:38:02 +00:00
board_tsc4370.c Remove extra semicolons. 2014-06-06 16:37:42 +00:00
files.at91 Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
if_ate.c Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
if_atereg.h
if_macb.c Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
if_macbreg.h
if_macbvar.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
std.at91 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.at91sam9 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.at91sam9g45 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.atmel Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. 2014-10-26 18:30:35 +00:00
std.bwct Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.eb9200 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.ethernut5 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.hl200 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.hl201 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.kb920x Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.qila9g20 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sam9g20ek Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sam9x25ek Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sam9260ek Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sn9g45 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.tsc4370 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
uart_bus_at91usart.c Move the uart_class definitions and fdt compat data into the individual 2015-03-07 15:24:15 +00:00
uart_cpu_at91usart.c Move the uart_class definitions and fdt compat data into the individual 2015-03-07 15:24:15 +00:00
uart_dev_at91usart.c Move the uart_class definitions and fdt compat data into the individual 2015-03-07 15:24:15 +00:00