arch/mips/loongson64/sleeper.S

Source file repositories/reference/linux-study-clean/arch/mips/loongson64/sleeper.S

File Facts

System
Linux kernel
Corpus path
arch/mips/loongson64/sleeper.S
Extension
.S
Size
405 bytes
Lines
22
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: arch/mips
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.h>
#include <asm/pm.h>

#include <kernel-entry-init.h>

LEAF(loongson_lefi_sleep)
	SUSPEND_SAVE
	move	t9, a0
	PTR_LA	a0, wake
	move	a1, sp
	jalr    t9
wake:
	smp_slave_setup
	RESUME_RESTORE_REGS_RETURN
END(loongson_lefi_sleep)

Annotation

Implementation Notes