arch/riscv/include/asm/fpu.h

Source file repositories/reference/linux-study-clean/arch/riscv/include/asm/fpu.h

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/fpu.h
Extension
.h
Size
291 bytes
Lines
17
Domain
Architecture Layer
Bucket
arch/riscv
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_RISCV_FPU_H
#define _ASM_RISCV_FPU_H

#include <asm/switch_to.h>

#define kernel_fpu_available()	has_fpu()

void kernel_fpu_begin(void);
void kernel_fpu_end(void);

#endif /* ! _ASM_RISCV_FPU_H */

Annotation

Implementation Notes