arch/nios2/include/asm/linkage.h

Source file repositories/reference/linux-study-clean/arch/nios2/include/asm/linkage.h

File Facts

System
Linux kernel
Corpus path
arch/nios2/include/asm/linkage.h
Extension
.h
Size
410 bytes
Lines
18
Domain
Architecture Layer
Bucket
arch/nios2
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_NIOS2_LINKAGE_H
#define _ASM_NIOS2_LINKAGE_H

/* This file is required by include/linux/linkage.h */
#define __ALIGN .align 4
#define __ALIGN_STR ".align 4"

#define _THIS_IP_ ({ unsigned long __ip; asm volatile("nextpc %0" : "=r" (__ip)); __ip; })

#endif

Annotation

Implementation Notes