mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
22 lines
567 B
ArmAsm
22 lines
567 B
ArmAsm
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* PURPOSE: Stack checker
|
|
* FILE: lib/sdk/crt/except/powerpc/chkstk_asm.s
|
|
* PROGRAMER: arty
|
|
*/
|
|
|
|
.globl _chkstk
|
|
.globl _alloca_probe
|
|
|
|
/*
|
|
_chkstk() is called by all stack allocations of more than 4 KB. It grows the
|
|
stack in areas of 4 KB each, trying to access each area. This ensures that the
|
|
guard page for the stack is hit, and the stack growing triggered
|
|
*/
|
|
_chkstk:
|
|
_alloca_probe:
|
|
/* return */
|
|
blr
|
|
|
|
/* EOF */
|