We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f9804 commit 731bc61Copy full SHA for 731bc61
src/arch/i686.S
@@ -9,6 +9,12 @@ GLOBAL(__stacker_stack_pointer):
9
mov %esp, %eax
10
ret
11
12
+#if defined(WINDOWS)
13
+GLOBAL(__stacker_get_tib_32):
14
+ mov %fs:0x18, %eax
15
+ ret
16
+#endif
17
+
18
GLOBAL(__stacker_switch_stacks):
19
push %ebp
20
mov %esp, %ebp
src/arch/x86_64.S
@@ -19,6 +19,12 @@ GLOBAL(__stacker_stack_pointer):
#define ARG3 %rdx
#endif
21
22
23
+GLOBAL(__stacker_get_tib_64):
24
+ mov %gs:0x30, %rax
25
26
27
28
29
push %rbp
30
mov %rsp, %rbp
0 commit comments