arch/powerpc/sysdev/mpic_msgr.c
Source file repositories/reference/linux-study-clean/arch/powerpc/sysdev/mpic_msgr.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/sysdev/mpic_msgr.c- Extension
.c- Size
- 6943 bytes
- Lines
- 286
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/list.hlinux/of.hlinux/of_address.hlinux/of_irq.hlinux/platform_device.hlinux/errno.hlinux/err.hlinux/export.hlinux/slab.hasm/hw_irq.hasm/ppc-pci.hasm/mpic_msgr.h
Detected Declarations
function _mpic_msgr_mer_writefunction _mpic_msgr_mer_readfunction _mpic_msgr_disablefunction mpic_msgr_putfunction mpic_msgr_enablefunction mpic_msgr_disablefunction mpic_msgr_number_of_blocksfunction mpic_msgr_number_of_registersfunction mpic_msgr_block_numberfunction mpic_msgr_probefunction mpic_msgr_initmodule init mpic_msgr_initexport mpic_msgr_getexport mpic_msgr_putexport mpic_msgr_enableexport mpic_msgr_disable
Annotated Snippet
subsys_initcall(mpic_msgr_init);
Annotation
- Immediate include surface: `linux/list.h`, `linux/of.h`, `linux/of_address.h`, `linux/of_irq.h`, `linux/platform_device.h`, `linux/errno.h`, `linux/err.h`, `linux/export.h`.
- Detected declarations: `function _mpic_msgr_mer_write`, `function _mpic_msgr_mer_read`, `function _mpic_msgr_disable`, `function mpic_msgr_put`, `function mpic_msgr_enable`, `function mpic_msgr_disable`, `function mpic_msgr_number_of_blocks`, `function mpic_msgr_number_of_registers`, `function mpic_msgr_block_number`, `function mpic_msgr_probe`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.