arch/hexagon/kernel/reset.c
Source file repositories/reference/linux-study-clean/arch/hexagon/kernel/reset.c
File Facts
- System
- Linux kernel
- Corpus path
arch/hexagon/kernel/reset.c- Extension
.c- Size
- 393 bytes
- Lines
- 26
- Domain
- Architecture Layer
- Bucket
- arch/hexagon
- 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.
Dependency Surface
linux/reboot.hlinux/smp.hasm/hexagon_vm.h
Detected Declarations
function Copyrightfunction machine_haltexport pm_power_off
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
*/
#include <linux/reboot.h>
#include <linux/smp.h>
#include <asm/hexagon_vm.h>
void machine_power_off(void)
{
smp_send_stop();
__vmstop();
}
void machine_halt(void)
{
}
void machine_restart(char *cmd)
{
}
void (*pm_power_off)(void) = NULL;
EXPORT_SYMBOL(pm_power_off);
Annotation
- Immediate include surface: `linux/reboot.h`, `linux/smp.h`, `asm/hexagon_vm.h`.
- Detected declarations: `function Copyright`, `function machine_halt`, `export pm_power_off`.
- Atlas domain: Architecture Layer / arch/hexagon.
- 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.