Submit
Path:
~
/
/
lib
/
modules
/
5.15.0-152-generic
/
build
/
arch
/
x86
/
include
/
asm
/
fpu
/
File Content:
xcr.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_FPU_XCR_H #define _ASM_X86_FPU_XCR_H #define XCR_XFEATURE_ENABLED_MASK 0x00000000 static inline u64 xgetbv(u32 index) { u32 eax, edx; asm volatile("xgetbv" : "=a" (eax), "=d" (edx) : "c" (index)); return eax + ((u64)edx << 32); } static inline void xsetbv(u32 index, u64 value) { u32 eax = value; u32 edx = value >> 32; asm volatile("xsetbv" :: "a" (eax), "d" (edx), "c" (index)); } #endif /* _ASM_X86_FPU_XCR_H */
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
api.h
5039 bytes
0644
internal.h
0 bytes
0644
regset.h
637 bytes
0644
sched.h
2065 bytes
0644
signal.h
1494 bytes
0644
types.h
13797 bytes
0644
xcr.h
483 bytes
0644
xstate.h
4136 bytes
0644
N4ST4R_ID | Naxtarrr