Commit ddf82f7c authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Move unhandled exception functions to kernelbase.

parent 3b002685
...@@ -15,7 +15,6 @@ C_SRCS = \ ...@@ -15,7 +15,6 @@ C_SRCS = \
debugger.c \ debugger.c \
editline.c \ editline.c \
environ.c \ environ.c \
except.c \
file.c \ file.c \
format_msg.c \ format_msg.c \
heap.c \ heap.c \
......
...@@ -461,8 +461,8 @@ ...@@ -461,8 +461,8 @@
@ stdcall -i386 -private -norelay FT_Exit8() krnl386.exe16.FT_Exit8 @ stdcall -i386 -private -norelay FT_Exit8() krnl386.exe16.FT_Exit8
@ stdcall -i386 -private -norelay FT_Prolog() krnl386.exe16.FT_Prolog @ stdcall -i386 -private -norelay FT_Prolog() krnl386.exe16.FT_Prolog
@ stdcall -i386 -private -norelay FT_Thunk() krnl386.exe16.FT_Thunk @ stdcall -i386 -private -norelay FT_Thunk() krnl386.exe16.FT_Thunk
@ stdcall FatalAppExitA(long str) @ stdcall -import FatalAppExitA(long str)
@ stdcall FatalAppExitW(long wstr) @ stdcall -import FatalAppExitW(long wstr)
@ stdcall FatalExit(long) @ stdcall FatalExit(long)
@ stdcall FileTimeToDosDateTime(ptr ptr ptr) @ stdcall FileTimeToDosDateTime(ptr ptr ptr)
@ stdcall FileTimeToLocalFileTime(ptr ptr) @ stdcall FileTimeToLocalFileTime(ptr ptr)
...@@ -1181,7 +1181,7 @@ ...@@ -1181,7 +1181,7 @@
@ stub QueryWin31IniFilesMappedToRegistry @ stub QueryWin31IniFilesMappedToRegistry
@ stdcall -import QueueUserAPC(ptr long long) @ stdcall -import QueueUserAPC(ptr long long)
@ stdcall -import QueueUserWorkItem(ptr ptr long) @ stdcall -import QueueUserWorkItem(ptr ptr long)
@ stdcall RaiseException(long long long ptr) @ stdcall -import RaiseException(long long long ptr)
# @ stub RaiseFailFastException # @ stub RaiseFailFastException
@ stdcall ReadConsoleA(long ptr long ptr ptr) @ stdcall ReadConsoleA(long ptr long ptr ptr)
@ stdcall ReadConsoleInputA(long ptr long ptr) @ stdcall ReadConsoleInputA(long ptr long ptr)
...@@ -1467,7 +1467,7 @@ ...@@ -1467,7 +1467,7 @@
@ stdcall SetTimeZoneInformation(ptr) @ stdcall SetTimeZoneInformation(ptr)
@ stub SetTimerQueueTimer @ stub SetTimerQueueTimer
@ stdcall -arch=x86_64 SetUmsThreadInformation(ptr long ptr long) @ stdcall -arch=x86_64 SetUmsThreadInformation(ptr long ptr long)
@ stdcall SetUnhandledExceptionFilter(ptr) @ stdcall -import SetUnhandledExceptionFilter(ptr)
@ stdcall SetUserGeoID(long) @ stdcall SetUserGeoID(long)
@ stub SetVDMCurrentDirectories @ stub SetVDMCurrentDirectories
@ stdcall SetVolumeLabelA(str str) @ stdcall SetVolumeLabelA(str str)
...@@ -1532,7 +1532,7 @@ ...@@ -1532,7 +1532,7 @@
@ stdcall -i386 -private UTUnRegister(long) krnl386.exe16.UTUnRegister @ stdcall -i386 -private UTUnRegister(long) krnl386.exe16.UTUnRegister
@ stdcall -i386 -private UnMapLS(long) krnl386.exe16.UnMapLS @ stdcall -i386 -private UnMapLS(long) krnl386.exe16.UnMapLS
@ stdcall -i386 -private -norelay UnMapSLFixArray(long long) krnl386.exe16.UnMapSLFixArray @ stdcall -i386 -private -norelay UnMapSLFixArray(long long) krnl386.exe16.UnMapSLFixArray
@ stdcall UnhandledExceptionFilter(ptr) @ stdcall -import UnhandledExceptionFilter(ptr)
@ stdcall UninitializeCriticalSection(ptr) @ stdcall UninitializeCriticalSection(ptr)
@ stdcall -import UnlockFile(long long long long long) @ stdcall -import UnlockFile(long long long long long)
@ stdcall -import UnlockFileEx(long long long long ptr) @ stdcall -import UnlockFileEx(long long long long ptr)
......
...@@ -3171,6 +3171,16 @@ BOOL WINAPI GetExitCodeProcess( HANDLE hProcess, LPDWORD lpExitCode ) ...@@ -3171,6 +3171,16 @@ BOOL WINAPI GetExitCodeProcess( HANDLE hProcess, LPDWORD lpExitCode )
} }
/**************************************************************************
* FatalExit (KERNEL32.@)
*/
void WINAPI FatalExit( int code )
{
WARN( "FatalExit\n" );
ExitProcess( code );
}
/*********************************************************************** /***********************************************************************
* GetProcessFlags (KERNEL32.@) * GetProcessFlags (KERNEL32.@)
*/ */
......
...@@ -341,8 +341,8 @@ ...@@ -341,8 +341,8 @@
@ stdcall ExitThread(long) ntdll.RtlExitUserThread @ stdcall ExitThread(long) ntdll.RtlExitUserThread
@ stdcall ExpandEnvironmentStringsA(str ptr long) kernel32.ExpandEnvironmentStringsA @ stdcall ExpandEnvironmentStringsA(str ptr long) kernel32.ExpandEnvironmentStringsA
@ stdcall ExpandEnvironmentStringsW(wstr ptr long) kernel32.ExpandEnvironmentStringsW @ stdcall ExpandEnvironmentStringsW(wstr ptr long) kernel32.ExpandEnvironmentStringsW
@ stdcall FatalAppExitA(long str) kernel32.FatalAppExitA @ stdcall FatalAppExitA(long str)
@ stdcall FatalAppExitW(long wstr) kernel32.FatalAppExitW @ stdcall FatalAppExitW(long wstr)
@ stdcall FileTimeToLocalFileTime(ptr ptr) kernel32.FileTimeToLocalFileTime @ stdcall FileTimeToLocalFileTime(ptr ptr) kernel32.FileTimeToLocalFileTime
@ stdcall FileTimeToSystemTime(ptr ptr) kernel32.FileTimeToSystemTime @ stdcall FileTimeToSystemTime(ptr ptr) kernel32.FileTimeToSystemTime
@ stdcall FillConsoleOutputAttribute(long long long long ptr) kernel32.FillConsoleOutputAttribute @ stdcall FillConsoleOutputAttribute(long long long long ptr) kernel32.FillConsoleOutputAttribute
...@@ -1232,7 +1232,7 @@ ...@@ -1232,7 +1232,7 @@
# @ stub QuirkIsEnabledForPackage3 # @ stub QuirkIsEnabledForPackage3
# @ stub QuirkIsEnabledForPackage4 # @ stub QuirkIsEnabledForPackage4
# @ stub QuirkIsEnabledForProcess # @ stub QuirkIsEnabledForProcess
@ stdcall RaiseException(long long long ptr) kernel32.RaiseException @ stdcall RaiseException(long long long ptr)
# @ stub RaiseFailFastException # @ stub RaiseFailFastException
@ stdcall ReOpenFile(ptr long long long) @ stdcall ReOpenFile(ptr long long long)
@ stdcall ReadConsoleA(long ptr long ptr ptr) kernel32.ReadConsoleA @ stdcall ReadConsoleA(long ptr long ptr ptr) kernel32.ReadConsoleA
...@@ -1502,7 +1502,7 @@ ...@@ -1502,7 +1502,7 @@
# @ stub SetThreadpoolWaitEx # @ stub SetThreadpoolWaitEx
@ stdcall SetTimeZoneInformation(ptr) kernel32.SetTimeZoneInformation @ stdcall SetTimeZoneInformation(ptr) kernel32.SetTimeZoneInformation
@ stdcall SetTokenInformation(long long ptr long) @ stdcall SetTokenInformation(long long ptr long)
@ stdcall SetUnhandledExceptionFilter(ptr) kernel32.SetUnhandledExceptionFilter @ stdcall SetUnhandledExceptionFilter(ptr)
@ stdcall SetUserGeoID(long) kernel32.SetUserGeoID @ stdcall SetUserGeoID(long) kernel32.SetUserGeoID
@ stdcall SetWaitableTimer(long ptr long ptr ptr long) @ stdcall SetWaitableTimer(long ptr long ptr ptr long)
@ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long) @ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long)
...@@ -1612,7 +1612,7 @@ ...@@ -1612,7 +1612,7 @@
@ stdcall TrySubmitThreadpoolCallback(ptr ptr ptr) @ stdcall TrySubmitThreadpoolCallback(ptr ptr ptr)
@ stdcall TzSpecificLocalTimeToSystemTime(ptr ptr ptr) kernel32.TzSpecificLocalTimeToSystemTime @ stdcall TzSpecificLocalTimeToSystemTime(ptr ptr ptr) kernel32.TzSpecificLocalTimeToSystemTime
@ stub TzSpecificLocalTimeToSystemTimeEx @ stub TzSpecificLocalTimeToSystemTimeEx
@ stdcall UnhandledExceptionFilter(ptr) kernel32.UnhandledExceptionFilter @ stdcall UnhandledExceptionFilter(ptr)
@ stdcall UnlockFile(long long long long long) @ stdcall UnlockFile(long long long long long)
@ stdcall UnlockFileEx(long long long long ptr) @ stdcall UnlockFileEx(long long long long ptr)
@ stdcall UnmapViewOfFile(ptr) @ stdcall UnmapViewOfFile(ptr)
...@@ -1736,8 +1736,8 @@ ...@@ -1736,8 +1736,8 @@
# @ stub _AddMUIStringToCache # @ stub _AddMUIStringToCache
# @ stub _GetMUIStringFromCache # @ stub _GetMUIStringFromCache
# @ stub _OpenMuiStringCache # @ stub _OpenMuiStringCache
@ stdcall -arch=x86_64 -private __C_specific_handler(ptr long ptr ptr) kernel32.__C_specific_handler @ stdcall -arch=x86_64 -private __C_specific_handler(ptr long ptr ptr) ntdll.__C_specific_handler
@ stdcall -arch=arm,x86_64 -private -norelay __chkstk() kernel32.__chkstk @ stdcall -arch=arm,x86_64 -private -norelay __chkstk() ntdll.__chkstk
# @ stub __dllonexit3 # @ stub __dllonexit3
@ stub __misaligned_access @ stub __misaligned_access
# @ stub __wgetmainargs # @ stub __wgetmainargs
...@@ -1748,7 +1748,7 @@ ...@@ -1748,7 +1748,7 @@
# @ stub _initterm # @ stub _initterm
# @ stub _initterm_e # @ stub _initterm_e
# @ stub _invalid_parameter # @ stub _invalid_parameter
@ stdcall -arch=x86_64 -private _local_unwind(ptr ptr) kernel32._local_unwind @ stdcall -arch=x86_64 -private _local_unwind(ptr ptr) ntdll._local_unwind
# @ stub _onexit # @ stub _onexit
# @ stub _purecall # @ stub _purecall
# @ stub _time64 # @ stub _time64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment