arch/alpha/lib/dbg_stackkill.S
Source file repositories/reference/linux-study-clean/arch/alpha/lib/dbg_stackkill.S
File Facts
- System
- Linux kernel
- Corpus path
arch/alpha/lib/dbg_stackkill.S- Extension
.S- Size
- 614 bytes
- Lines
- 37
- Domain
- Architecture Layer
- Bucket
- arch/alpha
- Inferred role
- Architecture Layer: arch/alpha
- Status
- atlas-only
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.
Dependency Surface
asm/asm-offsets.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#include <asm/asm-offsets.h>
.text
.set noat
.align 5
.globl _mcount
.ent _mcount
_mcount:
.frame $30, 0, $28, 0
.prologue 0
ldi $0, 0xdeadbeef
lda $2, -STACK_SIZE
sll $0, 32, $1
and $30, $2, $2
or $0, $1, $0
lda $2, TASK_SIZE($2)
cmpult $2, $30, $1
beq $1, 2f
1: stq $0, 0($2)
addq $2, 8, $2
cmpult $2, $30, $1
bne $1, 1b
2: ret ($28)
.end _mcount
Annotation
- Immediate include surface: `asm/asm-offsets.h`.
- Atlas domain: Architecture Layer / arch/alpha.
- Implementation status: atlas-only.
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.