diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2015-12-18 05:43:59 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-12-18 05:43:59 +0000 |
commit | 2b3ad18853add6da2e7ffaa0307c398cf0d6bc16 (patch) | |
tree | cbf62a2eadf5b1324e3309f67b9d2eaa7e022893 /sys/arm/annapurna/alpine/alpine_machdep_mp.c | |
parent | 6a607537dadc56d867315c2837911201d14df807 (diff) | |
download | src-2b3ad18853add6da2e7ffaa0307c398cf0d6bc16.tar.gz src-2b3ad18853add6da2e7ffaa0307c398cf0d6bc16.zip |
[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.
Notes
Notes:
svn path=/head/; revision=292426
Diffstat (limited to 'sys/arm/annapurna/alpine/alpine_machdep_mp.c')
-rw-r--r-- | sys/arm/annapurna/alpine/alpine_machdep_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/annapurna/alpine/alpine_machdep_mp.c b/sys/arm/annapurna/alpine/alpine_machdep_mp.c index 4420025c7d70..75bc63a28747 100644 --- a/sys/arm/annapurna/alpine/alpine_machdep_mp.c +++ b/sys/arm/annapurna/alpine/alpine_machdep_mp.c @@ -122,7 +122,7 @@ void platform_mp_init_secondary(void) { - arm_pic_init_secondary(); + intr_pic_init_secondary(); } void |