arch/sparc/kernel/pci_fire.c
Source file repositories/reference/linux-study-clean/arch/sparc/kernel/pci_fire.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/kernel/pci_fire.c- Extension
.c- Size
- 14188 bytes
- Lines
- 525
- Domain
- Architecture Layer
- Bucket
- arch/sparc
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/pci.hlinux/slab.hlinux/init.hlinux/msi.hlinux/export.hlinux/irq.hlinux/of.hlinux/platform_device.hlinux/numa.hasm/prom.hasm/irq.hasm/upa.hpci_impl.h
Detected Declarations
struct pci_msiq_entryfunction Copyrightfunction pci_fire_get_headfunction pci_fire_dequeue_msifunction pci_fire_set_headfunction pci_fire_msi_setupfunction pci_fire_msi_teardownfunction pci_fire_msiq_allocfunction pci_fire_msiq_freefunction pci_fire_msiq_build_irqfunction pci_fire_msi_initfunction pci_fire_msi_initfunction pci_fire_pbm_initfunction fire_probefunction fire_initmodule init fire_init
Annotated Snippet
subsys_initcall(fire_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/pci.h`, `linux/slab.h`, `linux/init.h`, `linux/msi.h`, `linux/export.h`, `linux/irq.h`, `linux/of.h`.
- Detected declarations: `struct pci_msiq_entry`, `function Copyright`, `function pci_fire_get_head`, `function pci_fire_dequeue_msi`, `function pci_fire_set_head`, `function pci_fire_msi_setup`, `function pci_fire_msi_teardown`, `function pci_fire_msiq_alloc`, `function pci_fire_msiq_free`, `function pci_fire_msiq_build_irq`.
- Atlas domain: Architecture Layer / arch/sparc.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.