arch/x86/kernel/i8259.c
Source file repositories/reference/linux-study-clean/arch/x86/kernel/i8259.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/kernel/i8259.c- Extension
.c- Size
- 12227 bytes
- Lines
- 461
- Domain
- Architecture Layer
- Bucket
- arch/x86
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/linkage.hlinux/errno.hlinux/signal.hlinux/sched.hlinux/ioport.hlinux/interrupt.hlinux/irq.hlinux/timex.hlinux/random.hlinux/init.hlinux/kernel_stat.hlinux/syscore_ops.hlinux/bitops.hlinux/acpi.hlinux/io.hlinux/delay.hlinux/pgtable.hlinux/atomic.hasm/timer.hasm/hw_irq.hasm/desc.hasm/apic.hasm/i8259.hasm/io_apic.h
Detected Declarations
function mask_8259A_irqfunction disable_8259A_irqfunction unmask_8259A_irqfunction enable_8259A_irqfunction i8259A_irq_pendingfunction make_8259A_irqfunction i8259A_irq_realfunction thisfunction restore_ELCRfunction save_ELCRfunction i8259A_resumefunction i8259A_suspendfunction i8259A_shutdownfunction mask_8259Afunction unmask_8259Afunction probe_8259Afunction init_8259Afunction legacy_pic_noopfunction legacy_pic_uint_noopfunction legacy_pic_int_noopfunction legacy_pic_irq_pending_noopfunction legacy_pic_probefunction i8259A_init_opsfunction legacy_pic_pcat_compatmodule init i8259A_init_opsexport legacy_pic
Annotated Snippet
device_initcall(i8259A_init_ops);
void __init legacy_pic_pcat_compat(void)
{
pcat_compat = true;
}
Annotation
- Immediate include surface: `linux/linkage.h`, `linux/errno.h`, `linux/signal.h`, `linux/sched.h`, `linux/ioport.h`, `linux/interrupt.h`, `linux/irq.h`, `linux/timex.h`.
- Detected declarations: `function mask_8259A_irq`, `function disable_8259A_irq`, `function unmask_8259A_irq`, `function enable_8259A_irq`, `function i8259A_irq_pending`, `function make_8259A_irq`, `function i8259A_irq_real`, `function this`, `function restore_ELCR`, `function save_ELCR`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.