arch/arm64/kernel/sigreturn32.S

Source file repositories/reference/linux-study-clean/arch/arm64/kernel/sigreturn32.S

File Facts

System
Linux kernel
Corpus path
arch/arm64/kernel/sigreturn32.S
Extension
.S
Size
1386 bytes
Lines
48
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: arch/arm64
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/unistd_compat_32.h>

	.section .rodata
	.globl __aarch32_sigret_code_start
__aarch32_sigret_code_start:

	/*
	 * ARM Code
	 */
	.byte	__NR_compat32_sigreturn, 0x70, 0xa0, 0xe3	// mov	r7, #__NR_compat32_sigreturn
	.byte	__NR_compat32_sigreturn, 0x00, 0x00, 0xef	// svc	#__NR_compat32_sigreturn

	/*
	 * Thumb code
	 */
	.byte	__NR_compat32_sigreturn, 0x27			// svc	#__NR_compat32_sigreturn
	.byte	__NR_compat32_sigreturn, 0xdf			// mov	r7, #__NR_compat32_sigreturn

	/*
	 * ARM code
	 */
	.byte	__NR_compat32_rt_sigreturn, 0x70, 0xa0, 0xe3	// mov	r7, #__NR_compat32_rt_sigreturn
	.byte	__NR_compat32_rt_sigreturn, 0x00, 0x00, 0xef	// svc	#__NR_compat32_rt_sigreturn

	/*
	 * Thumb code
	 */
	.byte	__NR_compat32_rt_sigreturn, 0x27		// svc	#__NR_compat32_rt_sigreturn
	.byte	__NR_compat32_rt_sigreturn, 0xdf		// mov	r7, #__NR_compat32_rt_sigreturn

        .globl __aarch32_sigret_code_end
__aarch32_sigret_code_end:

Annotation

Implementation Notes