freebsd-dev/sys/x86/isa
John Baldwin 62a08214bc Remove 'imen' global variable from atpic(4).
In pre-SMPng, the global 'imen' was used to track mask state of the
hardware interrupts and was aligned to the masks used by spl*().
When the atpic code was converted to using the x86 interrupt source
abstraction, the global 'imen' was preserved by having each PIC
instance point to an invididual byte in the global 'imen' to hold its
8-bit interrupt mask.  The global 'imen' is no longer used for
anything however, so rather than storing pointers in 'struct atpic',
just store the individual 8-bit mask for each PIC as a char.

While here, convert the ATPIC macro to using C99 initializers.

Reviewed by:	kib, imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16827
2018-08-21 17:13:51 +00:00
..
atpic.c Remove 'imen' global variable from atpic(4). 2018-08-21 17:13:51 +00:00
atrtc.c Provide a helper function acpi_get_fadt_bootflags() to fetch the FADT 2018-06-25 11:01:12 +00:00
clock.c Use separate mutexes for atrtc and i8254 locking. Change all the strange 2018-03-11 18:20:49 +00:00
elcr.c sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
icu.h Remove 'imen' global variable from atpic(4). 2018-08-21 17:13:51 +00:00
isa_dma.c ANSIfy sys/x86 2018-03-17 01:40:09 +00:00
isa.c SPDX: Fix some cases wrongly attributed to MIT. 2017-11-30 15:10:11 +00:00
nmi.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
orm.c Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00