diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-03-15 23:04:14 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-15 23:56:23 +0100 |
commit | 0a86f668212acfa6b48abacbc17b99c234eedf33 (patch) | |
tree | 2344ab3164c8dc0a1c3c0cdc23ffd1fd2930b512 /crypto/bn/asm/x86-mont.pl | |
parent | 1bf80d93024e72628d4351c7ad19c0dfe635aa95 (diff) |
On Windows, page walking is known as __chkstk.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/bn/asm/x86-mont.pl')
-rwxr-xr-x | crypto/bn/asm/x86-mont.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/asm/x86-mont.pl b/crypto/bn/asm/x86-mont.pl index 50d3350714..7c4e0b2ee3 100755 --- a/crypto/bn/asm/x86-mont.pl +++ b/crypto/bn/asm/x86-mont.pl @@ -88,6 +88,8 @@ $frame=32; # size of above frame rounded up to 16n &and ("esp",-64); # align to cache line + # An OS-agnostic version of __chkstk. + # # Some OSes (Windows) insist on stack being "wired" to # physical memory in strictly sequential manner, i.e. if stack # allocation spans two pages, then reference to farmost one can |