diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-02-13 08:50:08 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-13 23:54:42 +0100 |
commit | f8a02176425a15b678c1dea6956c7cedef7fe986 (patch) | |
tree | 31c275974e81961d16a6dcb39a16902d97924a58 /x86_64/cswitch.S | |
parent | cb8c0839c2f308aa938eb7f19621e0d0d8d50b9e (diff) | |
download | gnumach-f8a02176425a15b678c1dea6956c7cedef7fe986.tar.gz gnumach-f8a02176425a15b678c1dea6956c7cedef7fe986.tar.bz2 gnumach-f8a02176425a15b678c1dea6956c7cedef7fe986.zip |
x86_64: Fix broken int_stack_base
Message-Id: <20230213084919.1157074-6-damien@zamaudio.com>
Diffstat (limited to 'x86_64/cswitch.S')
-rw-r--r-- | x86_64/cswitch.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S index 1a7471c3..015e884c 100644 --- a/x86_64/cswitch.S +++ b/x86_64/cswitch.S @@ -137,7 +137,7 @@ ud2 movq S_ARG2,%rsi /* get its argument */ CPU_NUMBER(%eax) - movq EXT(interrupt_stack)(,%eax,8),%rcx /* point to its interrupt stack */ + movq CX(EXT(int_stack_base),%eax),%rcx /* point to its interrupt stack */ lea INTSTACK_SIZE(%rcx),%rsp /* switch to it (top) */ movq %rax,%rdi /* push thread */ |