1/* 2 * PROJECT: ReactOS CRT library 3 * LICENSE: BSD - See COPYING.ARM in the top level directory 4 * PURPOSE: Implementation of _chkstk and _alloca_probe 5 * COPYRIGHT: Copyright 2014 Timo Kreuzer (timo.kreuzer@reactos.org) 6 * Copyright 2014 Yuntian Zhang (yuntian.zh@gmail.com) 7 * Copyright 2019 Mohamed Mediouni (mmediouni@gmx.fr) 8 * 9 * REFERENCES: https://github.com/wine-mirror/wine/commit/2b095beace7b457586bd33b3b1c81df116215193 10 */ 11 12/* INCLUDES ******************************************************************/ 13 14#include <kxarm.h> 15 16/* CODE **********************************************************************/ 17 TEXTAREA 18 19 LEAF_ENTRY __chkstk 20 lsl r4, r4, #2 21 bx lr 22 LEAF_END __chkstk 23 24 LEAF_ENTRY __alloca_probe 25 __assertfail 26 bx lr 27 LEAF_END __alloca_probe 28 29 END 30/* EOF */ 31