msvcrt: Added _resetstkoflw implementation.
This commit is contained in:
parent
bd1fab7862
commit
18b8f951bf
|
@ -1045,7 +1045,7 @@
|
||||||
@ cdecl _realloc_crt(ptr long) msvcrt.realloc
|
@ cdecl _realloc_crt(ptr long) msvcrt.realloc
|
||||||
@ cdecl _recalloc(ptr long long) msvcr90._recalloc
|
@ cdecl _recalloc(ptr long long) msvcr90._recalloc
|
||||||
@ stub _recalloc_crt
|
@ stub _recalloc_crt
|
||||||
@ stub _resetstkoflw
|
@ cdecl _resetstkoflw() msvcrt._resetstkoflw
|
||||||
@ cdecl _rmdir(str) msvcrt._rmdir
|
@ cdecl _rmdir(str) msvcrt._rmdir
|
||||||
@ cdecl _rmtmp() msvcrt._rmtmp
|
@ cdecl _rmtmp() msvcrt._rmtmp
|
||||||
@ cdecl _rotl(long long) msvcrt._rotl
|
@ cdecl _rotl(long long) msvcrt._rotl
|
||||||
|
|
|
@ -499,7 +499,7 @@
|
||||||
@ cdecl _putws(wstr) msvcrt._putws
|
@ cdecl _putws(wstr) msvcrt._putws
|
||||||
@ stub _pwctype
|
@ stub _pwctype
|
||||||
@ cdecl _read(long ptr long) msvcrt._read
|
@ cdecl _read(long ptr long) msvcrt._read
|
||||||
@ stub _resetstkoflw
|
@ cdecl _resetstkoflw() msvcrt._resetstkoflw
|
||||||
@ cdecl _rmdir(str) msvcrt._rmdir
|
@ cdecl _rmdir(str) msvcrt._rmdir
|
||||||
@ cdecl _rmtmp() msvcrt._rmtmp
|
@ cdecl _rmtmp() msvcrt._rmtmp
|
||||||
@ cdecl _rotl(long long) msvcrt._rotl
|
@ cdecl _rotl(long long) msvcrt._rotl
|
||||||
|
|
|
@ -494,7 +494,7 @@
|
||||||
@ cdecl _putws(wstr) msvcrt._putws
|
@ cdecl _putws(wstr) msvcrt._putws
|
||||||
@ extern _pwctype msvcrt._pwctype
|
@ extern _pwctype msvcrt._pwctype
|
||||||
@ cdecl _read(long ptr long) msvcrt._read
|
@ cdecl _read(long ptr long) msvcrt._read
|
||||||
@ stub _resetstkoflw
|
@ cdecl _resetstkoflw() msvcrt._resetstkoflw
|
||||||
@ cdecl _rmdir(str) msvcrt._rmdir
|
@ cdecl _rmdir(str) msvcrt._rmdir
|
||||||
@ cdecl _rmtmp() msvcrt._rmtmp
|
@ cdecl _rmtmp() msvcrt._rmtmp
|
||||||
@ cdecl _rotl(long long) msvcrt._rotl
|
@ cdecl _rotl(long long) msvcrt._rotl
|
||||||
|
|
|
@ -893,7 +893,7 @@
|
||||||
@ cdecl _realloc_crt(ptr long) msvcrt.realloc
|
@ cdecl _realloc_crt(ptr long) msvcrt.realloc
|
||||||
@ cdecl _recalloc(ptr long long) msvcr90._recalloc
|
@ cdecl _recalloc(ptr long long) msvcr90._recalloc
|
||||||
@ stub _recalloc_crt
|
@ stub _recalloc_crt
|
||||||
@ stub _resetstkoflw
|
@ cdecl _resetstkoflw() msvcrt._resetstkoflw
|
||||||
@ cdecl _rmdir(str) msvcrt._rmdir
|
@ cdecl _rmdir(str) msvcrt._rmdir
|
||||||
@ cdecl _rmtmp() msvcrt._rmtmp
|
@ cdecl _rmtmp() msvcrt._rmtmp
|
||||||
@ cdecl _rotl(long long) msvcrt._rotl
|
@ cdecl _rotl(long long) msvcrt._rotl
|
||||||
|
|
|
@ -879,7 +879,7 @@
|
||||||
@ cdecl _realloc_crt(ptr long) msvcrt.realloc
|
@ cdecl _realloc_crt(ptr long) msvcrt.realloc
|
||||||
@ cdecl _recalloc(ptr long long)
|
@ cdecl _recalloc(ptr long long)
|
||||||
@ stub _recalloc_crt
|
@ stub _recalloc_crt
|
||||||
@ stub _resetstkoflw
|
@ cdecl _resetstkoflw() msvcrt._resetstkoflw
|
||||||
@ cdecl _rmdir(str) msvcrt._rmdir
|
@ cdecl _rmdir(str) msvcrt._rmdir
|
||||||
@ cdecl _rmtmp() msvcrt._rmtmp
|
@ cdecl _rmtmp() msvcrt._rmtmp
|
||||||
@ cdecl _rotl(long long) msvcrt._rotl
|
@ cdecl _rotl(long long) msvcrt._rotl
|
||||||
|
|
|
@ -256,9 +256,19 @@ void CDECL MSVCRT_qsort_s(void *base, MSVCRT_size_t nmemb, MSVCRT_size_t size,
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* _get_output_format (MSVCRT.@)
|
* _get_output_format (MSVCRT.@)
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
unsigned int CDECL _get_output_format(void)
|
unsigned int CDECL _get_output_format(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* _resetstkoflw (MSVCRT.@)
|
||||||
|
*/
|
||||||
|
int CDECL _resetstkoflw(void)
|
||||||
|
{
|
||||||
|
int stack_addr;
|
||||||
|
|
||||||
|
/* causes stack fault that updates NtCurrentTeb()->Tib.StackLimit */
|
||||||
|
return VirtualProtect( &stack_addr, 1, PAGE_GUARD|PAGE_READWRITE, NULL );
|
||||||
|
}
|
||||||
|
|
|
@ -827,7 +827,7 @@
|
||||||
# extern _pwctype
|
# extern _pwctype
|
||||||
@ cdecl _read(long ptr long) MSVCRT__read
|
@ cdecl _read(long ptr long) MSVCRT__read
|
||||||
# stub _realloc_dbg
|
# stub _realloc_dbg
|
||||||
# stub _resetstkoflw
|
@ cdecl _resetstkoflw()
|
||||||
@ cdecl _rmdir(str) MSVCRT__rmdir
|
@ cdecl _rmdir(str) MSVCRT__rmdir
|
||||||
@ cdecl _rmtmp()
|
@ cdecl _rmtmp()
|
||||||
@ cdecl _rotl(long long)
|
@ cdecl _rotl(long long)
|
||||||
|
|
Loading…
Reference in New Issue