haiku/headers/private/system/arch/x86/arch_thread_defs.h
X512 b19f5c839b kernel/x86: add ability to set GS segment base from userland
Needed for Wine.

Co-authored-by: Jérôme Duval <jerome.duval@gmail.com>

Change-Id: I13f6a5802fce04fd2ebb4cc01ecd2f12c90830db
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4839
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-09 18:28:00 +00:00

14 lines
269 B
C

/*
* Copyright 2022, The Haiku Team. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _X86_THREAD_DEFS_H
#define _X86_THREAD_DEFS_H
#define THREAD_SYSCALLS "thread"
#define THREAD_SET_GS_BASE 1
#endif /* _X86_THREAD_DEFS_H */