arch/sparc/kernel/sys32.S

Source file repositories/reference/linux-study-clean/arch/sparc/kernel/sys32.S

File Facts

System
Linux kernel
Corpus path
arch/sparc/kernel/sys32.S
Extension
.S
Size
476 bytes
Lines
21
Domain
Architecture Layer
Bucket
arch/sparc
Inferred role
Architecture Layer: arch/sparc
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/errno.h>

/* NOTE: call as jump breaks return stack, we have to avoid that */

	.text

	.globl		sys32_mmap2
sys32_mmap2:
	sethi		%hi(sys_mmap), %g1
	jmpl		%g1 + %lo(sys_mmap), %g0
	 sllx		%o5, 12, %o5

Annotation

Implementation Notes