Alexandre Julliard
d4f1fffacc
ntdll: Moved the TEB allocation routines to the platform-specific files.
2009-11-19 12:25:52 +01:00
Alexandre Julliard
d45fca8f7c
ntdll: Moved RtlCaptureStackBackTrace stub to the cpu-specific files.
2009-11-11 17:19:23 +01:00
Alexandre Julliard
44ed5c0423
ntdll: Use the exception code as exit status when no debugger is present.
2009-10-13 14:15:27 +02:00
Alexandre Julliard
8101a2fa1e
ntdll: Move the abort_thread() function to the CPU-specific files to allow redefining it.
2009-08-28 11:54:50 +02:00
Alexandre Julliard
0610549529
ntdll: Move all thread exit processing to exit_thread(), and make RtlExitUserThread() CPU-specific.
2009-06-18 17:06:21 +02:00
Alexandre Julliard
f124c7cc38
ntdll: Simplify the thread startup routine and make it CPU-specific.
2009-06-18 17:01:44 +02:00
Alexandre Julliard
9968d84973
ntdll: Use standard siginfo signal handlers on all platforms.
2009-05-01 17:57:29 +02:00
Alexandre Julliard
c5a57e7d13
ntdll: Move NtRaiseException and RtlUnwind implementations to the CPU-specific files.
2009-04-30 13:23:15 +02:00
Alexandre Julliard
7f9750550a
ntdll: Set the exception address to the program counter in RtlRaiseException.
2009-04-10 13:17:12 +02:00
Alexandre Julliard
f4eee1c731
ntdll: Move the RtlRaiseException implementation into the respective platform-specific files.
2009-04-10 13:14:05 +02:00
Alexandre Julliard
48199d7074
ntdll: Add a raise_status function and avoid exporting __regs_RtlRaiseException.
2009-04-10 13:09:06 +02:00
Alexandre Julliard
5316dd011f
server: Define a generic context structure instead of using the platform-specific version.
2009-04-08 19:59:23 +02:00
Alexandre Julliard
75be87dd75
ntdll: Move the copy_context function into the respective CPU-specific files.
2009-03-13 11:31:25 +01:00
Alexandre Julliard
cc933f586a
ntdll: Moved exit_thread and abort_thread functions to thread.c.
2009-02-20 18:07:41 +01:00
Alexandre Julliard
66255772fc
ntdll: Move the CPU-specific handling of current TEB to the respective signal files.
2009-02-18 13:04:50 +01:00
Alexandre Julliard
14c452fe78
ntdll: Replaced get_cpu_context by RtlCaptureContext. Implemented it for x86_64.
2009-01-06 17:50:34 +01:00
Maarten Lankhorst
768160e944
ntdll: Make all exported wine functions CDECL.
2008-12-17 15:02:25 +01:00
Alexandre Julliard
81b9ca5dbd
ntdll: Pass the error code to VIRTUAL_HandleFault, and allow it to ignore the exception.
...
Also rename it to virtual_handle_fault for consistency.
2008-11-25 12:02:16 +01:00
Alexandre Julliard
531ff0be26
ntdll: Split the signal setup into process-wide and thread-specific routines.
2008-07-03 20:18:23 +02:00
Alexandre Julliard
3b244b95b2
server: Use SIGQUIT instead of SIGTERM to terminate a thread.
...
This allows keeping the default SIGTERM behavior of killing the whole
process.
2007-12-20 12:19:35 +01:00
Michael Stefaniuc
0ecf2edca0
ntdll: Remove duplicate includes.
2007-11-19 13:54:09 +01:00
Andrew Talbot
0108667754
ntdll: Replace inline static with static inline.
2007-03-17 20:03:57 +01:00
Alexandre Julliard
c388c58b9f
ntdll: Make the server signal mask global.
2007-01-18 12:20:56 +01:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
d2ad6f8355
ntdll: Get registers on the client side for NtGetContextThread on the current thread.
2006-04-20 15:40:28 +02:00
Alexandre Julliard
2654be08d5
ntdll: Handle NtSetContextThread on the client side (as far as
...
possible) when setting the context of the current thread.
2006-01-11 20:20:32 +01:00
Alexandre Julliard
73c72390f8
Fixed Get/SetThreadContext to work properly on suspended threads.
...
Added a test case.
2005-11-02 20:54:12 +00:00
Alexandre Julliard
fb9cead92b
Support arbitrary sizes for the thread signal stack, and set the
...
default size from the MINSIGSTKSZ constant.
2005-09-14 10:36:58 +00:00
Mike McCormack
04f9f1b066
Don't include winbase.h or winerror.h when not necessary.
2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Alexandre Julliard
26050b49d5
Prefix the internal name of all register functions with __regs_ for
...
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Emmanuel Maillard
21f95cf761
- Fix NTDLL_wait_for_multiple_objects call in usr1_handler.
...
- Fix an error due to "invalid lvalue in assignment" with gcc 4 on
Darwin 8.0.
2005-05-05 09:49:13 +00:00
Dmitry Timoshkov
0497af09a7
Match RaiseException and EXCEPTION_RECORD to SDK definitions.
2005-02-24 13:15:36 +00:00
Dimitrie O. Paun
2eaefbd1a4
Move content of global.h into the appropriate private headers.
2003-12-08 21:58:55 +00:00
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Alexandre Julliard
4dba172e55
Added server_abort_thread to replace SYSDEPS_AbortThread.
...
Removed no longer used SIGNAL_Block and SIGNAL_Reset.
Moved some internal ntdll definitions to ntdll_misc.h.
2003-11-06 00:08:05 +00:00
Alexandre Julliard
07931f2d70
Removed no longer needed SIGNAL_Unblock() function.
2003-10-28 21:46:46 +00:00
Alexandre Julliard
5e4e0de15f
A signal stack is not needed on PowerPC.
2003-10-22 03:25:38 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
bf97962a51
Avoid including stackframe.h if it's not needed.
2003-08-27 02:52:17 +00:00
Marcus Meissner
20ea3a2d52
Added missing register defines for Linux/PPC.
2003-07-21 20:03:07 +00:00
Pierre d'Herbemont
3b9f280d81
Change __darwin__ to __APPLE__.
2003-07-16 23:29:40 +00:00
Alexandre Julliard
217fdab78f
Implemented NtDelayExecution and make Sleep call it.
...
The handle count must not be 0 in NtWaitForMultipleObjects (spotted by
Troy Rollo).
2003-06-30 21:00:15 +00:00
Pierre d'Herbemont
ed3417e349
- Save more registers (exception, float...) if they are defined.
...
- Add Mac OS X signal support.
2003-05-13 03:35:01 +00:00
Marcus Meissner
e65d6715ce
Fixed powerpc compile.
2003-05-04 02:25:07 +00:00
Eric Pouech
14d04b608c
No longer call WaitFor*Object* from ntdll (but NtWait*Object*).
2003-04-03 23:57:11 +00:00
Alexandre Julliard
6a26e3f7ac
Split signal blocking code out of SIGNAL_Reset into SIGNAL_Block.
...
Added SIGTERM handler.
2003-03-21 23:45:26 +00:00
Alexandre Julliard
d04ccb8ebe
Use SIGUSR1 instead of SIGSTOP to suspend threads.
2003-03-04 22:18:43 +00:00
Alexandre Julliard
b4a4c05aed
Removed a few more #ifdef __WINE__.
2003-01-04 00:19:17 +00:00
Alexandre Julliard
435e2e63f4
winnt.h should not be self-contained, it must depend on windef.h so
...
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00