mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 16:39:08 +00:00
[CRT]
Fix a bug in amd64 version of __chkstk_ms, noticed by Stefan svn path=/trunk/; revision=51861
This commit is contained in:
parent
6243472331
commit
49988a5137
|
@ -30,7 +30,7 @@ ___chkstk_ms:
|
||||||
|
|
||||||
.l_MoreThanAPage:
|
.l_MoreThanAPage:
|
||||||
sub rcx, PAGE_SIZE /* yes, move pointer down 4k */
|
sub rcx, PAGE_SIZE /* yes, move pointer down 4k */
|
||||||
or rcx, 0 /* probe there */
|
or [rcx], 0 /* probe there */
|
||||||
sub rax, PAGE_SIZE /* decrement count */
|
sub rax, PAGE_SIZE /* decrement count */
|
||||||
|
|
||||||
cmp rax, PAGE_SIZE
|
cmp rax, PAGE_SIZE
|
||||||
|
|
Loading…
Reference in a new issue