2010-11-27 22:12:15 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: GNU GPL - See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS Run-Time Library
|
|
|
|
* PURPOSE:
|
|
|
|
* FILE: lib/rtl/i386/res_asm.S
|
|
|
|
* PROGRAMER:
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm.inc>
|
|
|
|
#include <ks386.inc>
|
|
|
|
|
|
|
|
EXTERN _LdrpAccessResource@16:PROC
|
2005-12-08 23:55:34 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* On x86, Shrinker, an executable compressor, depends on the
|
|
|
|
* "call access_resource" instruction being there.
|
|
|
|
*/
|
2010-11-27 22:12:15 +00:00
|
|
|
.code
|
|
|
|
PUBLIC _LdrAccessResource@16
|
2005-12-08 23:55:34 +00:00
|
|
|
_LdrAccessResource@16:
|
|
|
|
push ebp
|
|
|
|
mov ebp, esp
|
|
|
|
sub esp, 4
|
|
|
|
push [ebp + 24]
|
|
|
|
push [ebp + 20]
|
|
|
|
push [ebp + 16]
|
|
|
|
push [ebp + 12]
|
|
|
|
push [ebp + 8]
|
|
|
|
call _LdrpAccessResource@16
|
|
|
|
leave
|
|
|
|
ret 16
|
2010-11-27 22:12:15 +00:00
|
|
|
|
|
|
|
END
|