arch/alpha/lib/dbg_stackcheck.S

Source file repositories/reference/linux-study-clean/arch/alpha/lib/dbg_stackcheck.S

File Facts

System
Linux kernel
Corpus path
arch/alpha/lib/dbg_stackcheck.S
Extension
.S
Size
466 bytes
Lines
29
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <asm/asm-offsets.h>

	.text
	.set noat

	.align 3
	.globl _mcount
	.ent _mcount
_mcount:
	.frame $30, 0, $28, 0
	.prologue 0

	lda	$0, TASK_SIZE($8)
	cmpult	$30, $0, $0
	bne	$0, 1f
	ret	($28)
1:	stq	$31, -8($31)	# oops me, damn it.
	br	1b

	.end _mcount

Annotation

Implementation Notes