merge trunk head (37902)
[reactos.git] / reactos / lib / sdk / crt / except / amd64 / chkstk_asm.s
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * PURPOSE: Stack checker
5 * FILE: lib/ntdll/rtl/i386/chkstk.s
6 * PROGRAMER:
7 */
8
9 .globl _chkstk
10 .globl _alloca_probe
11
12 /*
13 _chkstk() is called by all stack allocations of more than 4 KB. It grows the
14 stack in areas of 4 KB each, trying to access each area. This ensures that the
15 guard page for the stack is hit, and the stack growing triggered
16 */
17 _chkstk:
18 _alloca_probe:
19 /* return */
20 ret
21
22 /* EOF */