arch/sparc/kernel/pcic.c
Source file repositories/reference/linux-study-clean/arch/sparc/kernel/pcic.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/kernel/pcic.c- Extension
.c- Size
- 21260 bytes
- Lines
- 815
- 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/types.hlinux/init.hlinux/mm.hlinux/slab.hlinux/string.hlinux/jiffies.hasm/swift.hasm/io.hlinux/ctype.hlinux/pci.hlinux/time.hlinux/timex.hlinux/interrupt.hlinux/export.hasm/irq.hasm/oplib.hasm/prom.hasm/pcic.hasm/timex.hasm/timer.hlinux/uaccess.hasm/irq_regs.hkernel.hirq.h
Detected Declarations
struct pcic_ca2irqstruct pcic_sn2listfunction pcic_read_config_dwordfunction pcic_read_configfunction pcic_write_config_dwordfunction pcic_write_configfunction pcibios_initfunction ioremapfunction ioremapfunction ioremapfunction pcic_pbm_scan_busfunction pcic_initfunction pcic_presentfunction pdev_to_pnodefunction pcic_map_pci_devicefunction pcic_fill_irqfunction pcibios_fixup_busfunction list_for_each_entryfunction pcic_clear_clock_irqfunction pcic_cycles_offsetfunction pci_time_initfunction watchdog_resetfunction pcic_nmifunction get_irqmaskfunction pcic_mask_irqfunction pcic_unmask_irqfunction pcic_startup_irqfunction pcic_build_device_irqfunction pcic_load_profile_irqfunction sun4m_pci_init_IRQmodule init pcic_init
Annotated Snippet
subsys_initcall(pcic_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/types.h`, `linux/init.h`, `linux/mm.h`, `linux/slab.h`, `linux/string.h`, `linux/jiffies.h`, `asm/swift.h`.
- Detected declarations: `struct pcic_ca2irq`, `struct pcic_sn2list`, `function pcic_read_config_dword`, `function pcic_read_config`, `function pcic_write_config_dword`, `function pcic_write_config`, `function pcibios_init`, `function ioremap`, `function ioremap`, `function ioremap`.
- 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.