diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-31 20:59:25 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-31 20:59:25 +0100 |
commit | d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8 (patch) | |
tree | e110d378f34f909ab5871bf1fc7ccc3ea899f677 /x86_64 | |
parent | 422ab47d25576587600d093297512d8b6cbec890 (diff) | |
download | gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.tar.gz gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.tar.bz2 gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.zip |
Fix other confusions between KERNEL_STACK_SIZE and INTSTACK_SIZE
Diffstat (limited to 'x86_64')
-rw-r--r-- | x86_64/locore.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x86_64/locore.S b/x86_64/locore.S index 21a3e373..5b9c8ef4 100644 --- a/x86_64/locore.S +++ b/x86_64/locore.S @@ -556,7 +556,7 @@ trap_from_kernel: movq %rsp,%rbx /* save current stack */ movq %rsp,%rdx /* on an interrupt stack? */ - and $(~(KERNEL_STACK_SIZE-1)),%rdx + and $(~(INTSTACK_SIZE-1)),%rdx cmpq EXT(int_stack_base),%rdx je 1f /* OK if so */ @@ -683,7 +683,7 @@ ENTRY(all_intrs) cld /* clear direction flag */ movq %rsp,%rdx /* on an interrupt stack? */ - and $(~(KERNEL_STACK_SIZE-1)),%rdx + and $(~(INTSTACK_SIZE-1)),%rdx cmpq %ss:EXT(int_stack_base),%rdx je int_from_intstack /* if not: */ |