mirror of
https://github.com/reactos/reactos.git
synced 2025-04-29 10:39:07 +00:00
[CRT] Implement __chkstk function for ARM (#1595)
Incoming r4 contains the number of dwords to allocate, converting to bytes then return.
This makes ReactOS applications compiled for ARM running on true ARM Windows.
Reference: 2b095beace
This commit is contained in:
parent
f2f97f9f4c
commit
fec11747bb
1 changed files with 9 additions and 6 deletions
|
@ -1,9 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT: BSD - See COPYING.ARM in the top level directory
|
* PROJECT: ReactOS CRT library
|
||||||
* PROJECT: ReactOS CRT librariy
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
||||||
* PURPOSE: Implementation of _chkstk and _alloca_probe
|
* PURPOSE: Implementation of _chkstk and _alloca_probe
|
||||||
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
* COPYRIGHT: Copyright 2014 Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
* Yuntian Zhang (yuntian.zh@gmail.com)
|
* Copyright 2014 Yuntian Zhang (yuntian.zh@gmail.com)
|
||||||
|
* Copyright 2019 Mohamed Mediouni (mmediouni@gmx.fr)
|
||||||
|
*
|
||||||
|
* REFERENCES: https://github.com/wine-mirror/wine/commit/2b095beace7b457586bd33b3b1c81df116215193
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
@ -14,7 +17,7 @@
|
||||||
TEXTAREA
|
TEXTAREA
|
||||||
|
|
||||||
LEAF_ENTRY __chkstk
|
LEAF_ENTRY __chkstk
|
||||||
__assertfail
|
lsl r4, r4, #2
|
||||||
bx lr
|
bx lr
|
||||||
LEAF_END __chkstk
|
LEAF_END __chkstk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue