arch/powerpc/platforms/44x/ppc44x_simple.c
Source file repositories/reference/linux-study-clean/arch/powerpc/platforms/44x/ppc44x_simple.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/platforms/44x/ppc44x_simple.c- Extension
.c- Size
- 2137 bytes
- Lines
- 86
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm/machdep.hasm/pci-bridge.hasm/ppc4xx.hasm/time.hasm/udbg.hasm/uic.hlinux/init.hlinux/of_platform.h
Detected Declarations
function ppc44x_device_probefunction ppc44x_probe
Annotated Snippet
if (of_machine_is_compatible(board[i])) {
pci_set_flags(PCI_REASSIGN_ALL_RSRC);
return 1;
}
}
return 0;
}
define_machine(ppc44x_simple) {
.name = "PowerPC 44x Platform",
.probe = ppc44x_probe,
.progress = udbg_progress,
.init_IRQ = uic_init_tree,
.get_irq = uic_get_irq,
.restart = ppc4xx_reset_system,
};
Annotation
- Immediate include surface: `asm/machdep.h`, `asm/pci-bridge.h`, `asm/ppc4xx.h`, `asm/time.h`, `asm/udbg.h`, `asm/uic.h`, `linux/init.h`, `linux/of_platform.h`.
- Detected declarations: `function ppc44x_device_probe`, `function ppc44x_probe`.
- Atlas domain: Architecture Layer / arch/powerpc.
- 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.