arch/arm64/include/asm/stack_pointer.h

Source file repositories/reference/linux-study-clean/arch/arm64/include/asm/stack_pointer.h

File Facts

System
Linux kernel
Corpus path
arch/arm64/include/asm/stack_pointer.h
Extension
.h
Size
247 bytes
Lines
11
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: implementation source
Status
source 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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __ASM_STACK_POINTER_H
#define __ASM_STACK_POINTER_H

/*
 * how to get the current stack pointer from C
 */
register unsigned long current_stack_pointer asm ("sp");

#endif /* __ASM_STACK_POINTER_H */

Annotation

Implementation Notes