arch/powerpc/include/asm/setjmp.h

Source file repositories/reference/linux-study-clean/arch/powerpc/include/asm/setjmp.h

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/asm/setjmp.h
Extension
.h
Size
400 bytes
Lines
16
Domain
Architecture Layer
Bucket
arch/powerpc
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_POWERPC_SETJMP_H
#define _ASM_POWERPC_SETJMP_H

#define JMP_BUF_LEN    23

typedef long jmp_buf[JMP_BUF_LEN];

extern int setjmp(jmp_buf env) __attribute__((returns_twice));
extern void longjmp(jmp_buf env, int val) __attribute__((noreturn));

#endif /* _ASM_POWERPC_SETJMP_H */

Annotation

Implementation Notes