arch/mips/sgi-ip22/ip22-reset.c
Source file repositories/reference/linux-study-clean/arch/mips/sgi-ip22/ip22-reset.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/sgi-ip22/ip22-reset.c- Extension
.c- Size
- 5078 bytes
- Lines
- 204
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/linkage.hlinux/init.hlinux/rtc/ds1286.hlinux/interrupt.hlinux/kernel.hlinux/sched/signal.hlinux/panic_notifier.hlinux/pm.hlinux/timer.hasm/io.hasm/irq.hasm/reboot.hasm/sgialib.hasm/sgi/ioc.hasm/sgi/hpc3.hasm/sgi/mc.hasm/sgi/ip22.h
Detected Declarations
function sgi_machine_power_offfunction sgi_machine_restartfunction sgi_machine_haltfunction power_timeoutfunction blink_timeoutfunction debouncefunction power_buttonfunction panel_intfunction panic_eventfunction reboot_setupmodule init reboot_setup
Annotated Snippet
subsys_initcall(reboot_setup);
Annotation
- Immediate include surface: `linux/linkage.h`, `linux/init.h`, `linux/rtc/ds1286.h`, `linux/interrupt.h`, `linux/kernel.h`, `linux/sched/signal.h`, `linux/panic_notifier.h`, `linux/pm.h`.
- Detected declarations: `function sgi_machine_power_off`, `function sgi_machine_restart`, `function sgi_machine_halt`, `function power_timeout`, `function blink_timeout`, `function debounce`, `function power_button`, `function panel_int`, `function panic_event`, `function reboot_setup`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.