Home
last modified time | relevance | path

Searched refs:GS (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/Documentation/arch/x86/x86_64/
H A Dfsgs.rst3 Using FS and GS segments in user space applications
22 always 0 to provide a full 64bit address space. The FS and GS segments are
25 Common FS and GS usage
37 The GS segment has no common use and can be used freely by
38 applications. GCC and Clang support GS based addressing via address space
41 Reading and writing the FS/GS base address
44 There exist two mechanisms to read and write the FS/GS base address:
50 Accessing FS/GS base with arch_prctl()
69 Accessing FS/GS base with the FSGSBASE instructions
73 instructions to access the FS and GS base registers directly from user
[all …]
/openbmc/linux/tools/testing/selftests/x86/
H A Dfsgsbase.c117 enum which_base { FS, GS }; enumerator
169 base = read_base(GS); in check_gs_value()
203 base = read_base(GS); in mov_0_gs()
384 if (read_base(GS) != local) { in set_gs_and_switch_to()
392 local = read_base(GS); in set_gs_and_switch_to()
410 base = read_base(GS); in set_gs_and_switch_to()
443 base = read_base(GS); in test_unexpected_base()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dregs_load.S19 #define GS 15 * 8 macro
52 movq $0, GS(%rdi)
89 movl $0, GS(%edi)
/openbmc/linux/arch/x86/um/
H A Dptrace_64.c49 [GS >> 3] = HOST_GS,
82 case GS: in putreg()
158 case GS: in getreg()
H A Duser-offsets.c38 DEFINE(HOST_GS, GS); in foo()
67 DEFINE_LONGS(HOST_GS, GS); in foo()
H A Dptrace_32.c67 [GS] = HOST_GS,
98 case GS: in putreg()
151 case GS: in getreg()
H A Dsignal.c170 GETREG(GS, gs); in copy_sc_from_user()
249 PUTREG(GS, gs); in copy_sc_to_user()
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/
H A Dregs.h118 #undef GS
121 u16 CS, DS, SS, ES, FS, GS; member
176 #define R_GS seg.GS
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dlan966x-kontron-kswitch-d10-mmt-6g-2gs.dts3 * Device Tree file for the Kontron KSwitch D10 MMT 6G-2GS
10 model = "Kontron KSwitch D10 MMT 6G-2GS";
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/fluentbit/fluentbit/
H A D0004-wasm-avoid-cmake-try_run-when-cross-compiling.patch14 | Write linear memory base addr to x86 GS register disabled
41 message (" Write linear memory base addr to x86 GS register disabled")
/openbmc/linux/arch/x86/kernel/
H A Dprocess_64.c152 GS enumerator
264 save_base_legacy(task, task->thread.gsindex, GS); in save_fsgs()
375 loadseg(GS, next->gsindex); in x86_fsgsbase_load()
384 next->gsindex, next->gsbase, GS); in x86_fsgsbase_load()
835 loadseg(GS, 0); in do_arch_prctl_64()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dptrace-abi.h17 #define GS 10 macro
/openbmc/linux/Documentation/arch/x86/
H A Dentry_64.rst90 entry interrupting kernel mode execution, then we know that the GS
97 for GS is the slower method: the RDMSR.
108 that absolutely need the more expensive check for the GS base - and we
/openbmc/u-boot/arch/x86/include/asm/
H A Dptrace.h16 #define GS 10 macro
/openbmc/linux/arch/x86/um/shared/sysdep/
H A Dptrace_64.h41 #define GS (HOST_GS * sizeof(long)) macro
/openbmc/linux/arch/x86/um/os-Linux/
H A Dmcontext.c14 COPY_SEG(GS); COPY_SEG(FS); COPY_SEG(ES); COPY_SEG(DS); in get_regs_from_mc()
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-gsking-x.dts16 model = "Beelink GS-King X";
/openbmc/qemu/target/i386/hvf/
H A Dx86_descr.c43 VMX_SEGMENT_FIELD(GS),
/openbmc/linux/Documentation/admin-guide/hw-vuln/
H A Dspectre.rst87 a user GS.
175 the GS register to a user-space value, if the swapgs is speculatively
176 skipped, subsequent GS-related percpu accesses in the speculation
177 window will be done with the attacker-controlled GS value. This
190 swapgs, and then do a speculative percpu load using the user GS
197 speculatively do the swapgs, causing the user GS to get used for the
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/
H A D857.patch77 env['CCFLAGS'] = '%s /EHsc /GR /GS- /MD /nologo %s %s' % (warn_flags, arch_flags, opt_flags)
/openbmc/linux/arch/um/os-Linux/skas/
H A Dprocess.c73 R(GS); in ptrace_reg_name()
/openbmc/qemu/target/ppc/
H A Dmmu_helper.c1048 !FIELD_EX64(env->msr, MSR, GS)) { in helper_booke206_tlbwe()
1075 if (FIELD_EX64(env->msr, MSR, GS)) { in helper_booke206_tlbwe()
/openbmc/linux/arch/alpha/
H A DKconfig117 Wildfire AlphaServer GS 40/80/160/320
303 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
/openbmc/linux/Documentation/filesystems/
H A Ddax.rst105 setting can be set, cleared and/or queried using the `FS_IOC_FS`[`GS`]`ETXATTR` ioctl
/openbmc/linux/tools/arch/x86/lib/
H A Dx86-opcode-map.txt148 65: SEG=GS (Prefix)
518 a8: PUSH GS (d64)
519 a9: POP GS (d64)

12