arch/powerpc/platforms/85xx/mpc85xx_8259.c
Source file repositories/reference/linux-study-clean/arch/powerpc/platforms/85xx/mpc85xx_8259.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/platforms/85xx/mpc85xx_8259.c- Extension
.c- Size
- 1445 bytes
- Lines
- 65
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/stddef.hlinux/kernel.hlinux/interrupt.hlinux/of_irq.hlinux/of_platform.hasm/mpic.hasm/i8259.hmpc85xx.h
Detected Declarations
function Xiaofunction mpc85xx_8259_init
Annotated Snippet
if (of_device_is_compatible(np, "chrp,iic")) {
cascade_node = np;
break;
}
}
if (cascade_node == NULL) {
pr_debug("i8259: Could not find i8259 PIC\n");
return;
}
cascade_irq = irq_of_parse_and_map(cascade_node, 0);
if (!cascade_irq) {
pr_err("i8259: Failed to map cascade interrupt\n");
return;
}
pr_debug("i8259: cascade mapped to irq %d\n", cascade_irq);
i8259_init(cascade_node, 0);
of_node_put(cascade_node);
irq_set_chained_handler(cascade_irq, mpc85xx_8259_cascade);
}
Annotation
- Immediate include surface: `linux/stddef.h`, `linux/kernel.h`, `linux/interrupt.h`, `linux/of_irq.h`, `linux/of_platform.h`, `asm/mpic.h`, `asm/i8259.h`, `mpc85xx.h`.
- Detected declarations: `function Xiao`, `function mpc85xx_8259_init`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: source 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.