ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/arch/x86/include/asm/fpu
/
usr
src
kernels
5.14.0-427.31.1.el9_4.x86_64
arch
x86
include
asm
fpu
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
api.h
5.13 MB
chmod
View
DL
Edit
Rename
Delete
regset.h
637 B
chmod
View
DL
Edit
Rename
Delete
sched.h
2.03 MB
chmod
View
DL
Edit
Rename
Delete
signal.h
1.38 MB
chmod
View
DL
Edit
Rename
Delete
types.h
13.88 MB
chmod
View
DL
Edit
Rename
Delete
xcr.h
811 B
chmod
View
DL
Edit
Rename
Delete
xstate.h
4.29 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/arch/x86/include/asm/fpu/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 __always_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 __always_inline u64 xfeatures_in_use(void) { return xgetbv(XCR_XFEATURE_IN_USE_MASK); } #endif /* _ASM_X86_FPU_XCR_H */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply