arch/alpha/lib/dbg_current.S

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

File Facts

System
Linux kernel
Corpus path
arch/alpha/lib/dbg_current.S
Extension
.S
Size
441 bytes
Lines
31
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/pal.h>

	.text
	.set noat

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

	lda	$0, -0x4000($30)
	cmpult	$8, $30, $1
	cmpule	$0, $30, $2
	and	$1, $2, $3
	bne	$3, 1f

	call_pal PAL_bugchk

1:	ret	$31, ($28), 1

	.end _mcount

Annotation

Implementation Notes