mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix fiber local storage offset (crashfix)
This commit is contained in:
parent
320b519278
commit
bdb141da0a
@ -101,7 +101,7 @@ jump_fcontext PROC EXPORT FRAME
|
||||
mov rax, [r10+01478h]
|
||||
push rax
|
||||
; save fiber local storage
|
||||
mov rax, [r10+018h]
|
||||
mov rax, [r10+020h]
|
||||
push rax
|
||||
|
||||
; prepare stack for FPU
|
||||
@ -182,7 +182,7 @@ nxt3:
|
||||
mov r10, gs:[030h]
|
||||
; restore fiber local storage
|
||||
pop rax
|
||||
mov [r10+018h], rax
|
||||
mov [r10+020h], rax
|
||||
; restore deallocation stack
|
||||
pop rax
|
||||
mov [r10+01478h], rax
|
||||
|
Loading…
x
Reference in New Issue
Block a user