freebsd-dev/sys/arm/allwinner
Adrian Chadd 2b3ad18853 [intrng] Migrate the intrng code from sys/arm/arm to sys/kern/subr_intr.c.
The ci20 port (by kan@) is going to reuse almost all of the intrng code
since the SoC in question looks suspiciously like someone took an ARM
SoC design and replaced the ARM core with a MIPS core.

* migrate out the code;
* rename ARM_ -> INTR_;
* rename arm_ -> intr_;
* move the interrupt flush routine from intr.c / intrng.c into
  arm/machdep_intr.c - removing the code duplication and removing
  the ARM specific bits from here.

Thanks to the Star Wars: The Force Awakens premiere line for allowing
me a couple hours of quiet time to finish the universe builds.

Tested:

* make universe

TODO:

* The structure definitions in subr_intr.c still includes machine/intr.h
  which requires one duplicates all of the intrng definitions in
  the platform code (which kan has done, and I think we don't have to.)

  Instead I should break out the generic things (function declarations,
  common intr structures, etc) into a separate header.

* Kan has requested I make the PIC based IPI stuff optional.
2015-12-18 05:43:59 +00:00
..
a20 [intrng] Migrate the intrng code from sys/arm/arm to sys/kern/subr_intr.c. 2015-12-18 05:43:59 +00:00
a10_ahci.c Add AHCI attachment code for Allwinner A10/A20 SoCs. 2015-07-03 14:11:01 +00:00
a10_clk.c Add the routines to activate the GMAC clock and setup the GMAC mode. 2015-07-03 18:39:25 +00:00
a10_clk.h Add the routines to activate the GMAC clock and setup the GMAC mode. 2015-07-03 18:39:25 +00:00
a10_common.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
a10_ehci.c Add 64-bit DMA support in the XHCI controller driver. 2015-01-05 20:22:18 +00:00
a10_gpio.c The vendor's DTS for Allwinner A20 uses a different way to map the gpio 2015-08-30 22:38:06 +00:00
a10_gpio.h Rename a10_emac_gpio_config() to a10_gpio_ethernet_activate() to make the 2015-07-03 17:54:41 +00:00
a10_machdep.c
a10_mmc.c Move the DRIVER_MODULE() statements that declare mmc(4) to be a child of 2015-12-14 01:09:25 +00:00
a10_mmc.h Add DMA support for Allwinner MMC controller. 2015-07-01 23:27:01 +00:00
a10_sramc.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
a10_sramc.h
a10_wdog.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
a10_wdog.h
aintc.c
console.c
files.a10 Move the items common to all SoCs to a single file. 2015-04-18 03:07:01 +00:00
files.allwinner Move more bus_space_* files to be built by files.arm. This leaves the 2015-11-21 15:30:08 +00:00
if_emac.c Rename a10_emac_gpio_config() to a10_gpio_ethernet_activate() to make the 2015-07-03 17:54:41 +00:00
if_emacreg.h Simplify the receiver code a bit. 2015-04-18 00:35:00 +00:00
std.a10 Makeoption ARM_LITLE_ENDIAN does nothing. Remove it since it isn't 2015-11-20 21:49:46 +00:00
timer.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00