arch/mips/bcm47xx/setup.c
Source file repositories/reference/linux-study-clean/arch/mips/bcm47xx/setup.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/bcm47xx/setup.c- Extension
.c- Size
- 7692 bytes
- Lines
- 282
- Domain
- Architecture Layer
- Bucket
- arch/mips
- 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.
- 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
bcm47xx_private.hlinux/bcm47xx_sprom.hlinux/export.hlinux/types.hlinux/ethtool.hlinux/phy.hlinux/phy_fixed.hlinux/ssb/ssb.hlinux/ssb/ssb_embedded.hlinux/bcma/bcma_soc.hasm/bmips.hasm/bootinfo.hasm/idle.hasm/prom.hasm/reboot.hasm/time.hbcm47xx.hbcm47xx_board.h
Detected Declarations
function bcm47xx_machine_restartfunction bcm47xx_machine_haltfunction bcm47xx_register_ssbfunction bcm47xx_register_bcmafunction plat_mem_setupfunction bcm47xx_setup_devicefunction bcm47xx_bus_setupfunction bcm47xx_cpu_fixesfunction bcm47xx_register_bus_completemodule init bcm47xx_register_bus_completeexport bcm47xx_busexport bcm47xx_bus_type
Annotated Snippet
device_initcall(bcm47xx_register_bus_complete);
Annotation
- Immediate include surface: `bcm47xx_private.h`, `linux/bcm47xx_sprom.h`, `linux/export.h`, `linux/types.h`, `linux/ethtool.h`, `linux/phy.h`, `linux/phy_fixed.h`, `linux/ssb/ssb.h`.
- Detected declarations: `function bcm47xx_machine_restart`, `function bcm47xx_machine_halt`, `function bcm47xx_register_ssb`, `function bcm47xx_register_bcma`, `function plat_mem_setup`, `function bcm47xx_setup_device`, `function bcm47xx_bus_setup`, `function bcm47xx_cpu_fixes`, `function bcm47xx_register_bus_complete`, `module init bcm47xx_register_bus_complete`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: integration implementation candidate.
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.