arch/sparc/kernel/sbus.c
Source file repositories/reference/linux-study-clean/arch/sparc/kernel/sbus.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/kernel/sbus.c- Extension
.c- Size
- 20595 bytes
- Lines
- 680
- 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/mm.hlinux/spinlock.hlinux/slab.hlinux/export.hlinux/init.hlinux/interrupt.hlinux/of.hlinux/of_platform.hlinux/platform_device.hlinux/numa.hasm/page.hasm/io.hasm/upa.hasm/cache.hasm/dma.hasm/irq.hasm/prom.hasm/oplib.hasm/starfire.hiommu_common.h
Detected Declarations
function Copyrightfunction sysio_imap_to_iclrfunction sbus_build_irqfunction sysio_ue_handlerfunction sysio_ce_handlerfunction sysio_sbus_error_handlerfunction sysio_register_error_handlersfunction sbus_iommu_initfunction sbus_initfunction for_each_node_by_namemodule init sbus_initexport sbus_set_sbus64
Annotated Snippet
subsys_initcall(sbus_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/types.h`, `linux/mm.h`, `linux/spinlock.h`, `linux/slab.h`, `linux/export.h`, `linux/init.h`, `linux/interrupt.h`.
- Detected declarations: `function Copyright`, `function sysio_imap_to_iclr`, `function sbus_build_irq`, `function sysio_ue_handler`, `function sysio_ce_handler`, `function sysio_sbus_error_handler`, `function sysio_register_error_handlers`, `function sbus_iommu_init`, `function sbus_init`, `function for_each_node_by_name`.
- 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.