[CRT] Import wine exception handling code

The code is mostly unchanged. This includes the following changes:
* Move all wine code to crt/wine to keep it separated from our own code
* Add a minimal winternl.h
* Remove the asm macros from wine/config.h
* Include wine/asm.h where required
* Fix the names of the exported functions (GCC uses thiscall now and no wrappers are used anymore)
This commit is contained in:
Timo Kreuzer 2020-01-13 13:41:24 +01:00
parent a22ab61a87
commit 9efafd640f
29 changed files with 7504 additions and 2610 deletions

View file

@ -47,19 +47,3 @@ void CDECL __setusermatherr(MSVCRT_matherr_func func)
MSVCRT_default_matherr_func = func;
TRACE(":new matherr handler %p\n", func);
}
#define _FPIEEE_RECORD void
/*
* @unimplemented
*/
int _fpieee_flt(
unsigned long exception_code,
struct _EXCEPTION_POINTERS* ExceptionPointer,
int (*handler)(_FPIEEE_RECORD*)
)
{
FIXME("Unimplemented!\n");
return 0;
}