Alexandre Julliard
abbf38ccd9
ntdll: Fix a couple of warnings on Solaris.
2009-03-05 16:16: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
Austin English
198b8f736a
ntdll: Add support for NetBSD.
2009-01-19 13:36:26 +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
Alexandre Julliard
4986f42b9f
ntdll: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
...
Also assume that all register functions are stdcall.
2009-01-06 12:49:18 +01:00
Henri Verbeet
03468a4f05
ntdll: Don't throw masked FPU exceptions.
...
When an FPU exception is masked the appropriate flag in the status
word will still be set, so get_fpu_code() should mask the exception
flags in the status word with the exception flags in the control word.
2009-01-05 12:34:39 +01:00
Henri Verbeet
5e418a9072
ntdll: Fix ExceptionAddress for FPU exceptions.
...
ExceptionAddress isn't the same as EIP for FPU exceptions, since the
exception will be thrown on the next FPU instruction, rather than the
instruction that caused the exception.
2009-01-05 12:34:33 +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
Michael Stefaniuc
26bba27dc0
ntdll: Don't cast void pointers to other pointer types.
2008-10-24 14:25:01 +02:00
Alexandre Julliard
eac613f604
ntdll: Use the generic int 0x91 syscall on Solaris so that it works on all CPUs.
2008-07-29 20:41:30 +02:00
Alexandre Julliard
e5566691e2
ntdll: Add some workarounds for Solaris signal handling breakages.
2008-07-10 18:18:16 +02:00
Alexandre Julliard
13fbba6847
ntdll: Always restore the %gs register from the saved value in thread data.
2008-07-08 21:08:54 +02: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
3499cb96b6
ntdll: Add local defines for VIF and VIP flags.
2008-06-02 12:13:33 +02:00
Alexandre Julliard
cc33f6c8a5
ntdll: Add a guard page at the bottom of the stack and raise a stack overflow exception when hit.
2008-04-01 17:40:37 +02:00
Alexandre Julliard
061bfac076
ntdll: Add support for handling page faults caused by guard pages on the thread stack.
2008-04-01 17:37:24 +02:00
Alexandre Julliard
4ce9af2ba5
ntdll: Clear the direction flag before calling exception handlers.
2008-03-20 14:27:35 +01:00
Alexandre Julliard
5625c6079e
Get rid of the global thread.h header.
2008-03-01 11:57:00 +01:00
Alexandre Julliard
0375b7a1f3
ntdll: Don't fetch extended FPU context if there's no FPU context at all.
2008-01-22 10:20:12 +01:00
Alexandre Julliard
2cba11aa6f
ntdll: Don't try to restore extended fpu context if not supported.
...
Remove an extra fpu context save left over from testing.
2008-01-18 12:02:31 +01:00
Alexandre Julliard
992de9f487
ntdll: Mac OS support for saving and restoring the extended FPU context on exceptions.
2008-01-15 20:36:40 +01:00
Alexandre Julliard
bd352bcd1c
ntdll: Linux support for saving and restoring the extended FPU context on exceptions.
2008-01-15 20:36:40 +01:00
Eric Pouech
aff968fb47
valgrind: Made Wine compliant will latest Valgrind macros (the one removed from 3.3.0 and deprecated since 3.2.0).
2007-12-24 13:30:39 +01: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
Peter Beutner
db28edc790
ntdll: Better trap exception handling.
2007-11-12 14:14:28 +01:00
Peter Beutner
fc5316760b
ntdll: Don't try to handle kill(SIGTRAP).
2007-11-12 14:14:23 +01:00
Alexandre Julliard
0156dbba4f
ntdll: Increase the signal stack size to avoid crashes on nested signals.
2007-11-08 13:53:47 +01:00
Francois Gouget
b2bc712323
Assorted spelling fixes.
2007-09-27 20:12:53 +02:00
Alexandre Julliard
44c9758d05
ntdll: Move private data to make room in the TEB for the activation context data.
2007-07-19 16:56:10 +02:00
Alexandre Julliard
b5953831c3
ntdll: Use the standard exception handling for vm86 GP faults too.
2007-06-25 19:47:58 +02:00
Alexandre Julliard
c5134b77c6
ntdll: Support setting the CPU context on the current thread without segment registers.
2007-05-08 20:09:25 +02:00
Andrew Talbot
ab2a48ae43
ntdll: Remove superfluous semicolons.
2007-04-12 16:16:58 +02:00
Andrew Talbot
0108667754
ntdll: Replace inline static with static inline.
2007-03-17 20:03:57 +01:00
Alexandre Julliard
cdb833bf33
ntdll: Fixed some exception codes and parameters.
2007-03-14 12:02:43 +01:00
Alexandre Julliard
7d12fbcc5b
ntdll: Changed some Solaris defines so that we can access the signal error code.
2007-03-14 09:53:59 +01:00
Alexandre Julliard
0d16a7bbe4
Fixed some compilation issues on Mac OS X Leopard.
2007-03-12 16:14:18 +01:00
Peter Beutner
4a831ec716
ntdll: Handle SIMD exceptions.
2007-03-09 11:53:26 +01:00
Alexandre Julliard
c388c58b9f
ntdll: Make the server signal mask global.
2007-01-18 12:20:56 +01:00
Joel Parker
2319999a05
Remove redundant semicolons for ANSI compatibility.
2007-01-17 11:58:15 +01:00
Peter Beutner
6f88a7b7d4
ntdll: Fix single stepping over popf instruction.
2006-12-04 12:23:20 +01:00
Hans Leidekker
f7b0ba7aa7
ntdll: Win64 printf format warning fixes.
2006-10-18 12:35:26 +02:00
Marcus Meissner
86c0bb3be5
ntdll: Clear alignment check flag before entering exception handler.
2006-10-03 11:24:52 +02:00
Marcus Meissner
57a04062fe
ntdll: Align stack to 4 bytes.
2006-09-28 12:23:32 +02:00
Robert Shearman
5881d91cfc
ntdll: Avoid crashing in check_atl_thunk if an execution exception was raised with a bad address.
2006-09-28 11:55:50 +02:00
Marcus Meissner
07d84bf656
ntdll: Avoid ebx being clobbered in exception handler.
2006-09-25 21:27:14 +02:00
Alexandre Julliard
a27d0aa4e9
include: Added definitions for the fault address exception information.
2006-09-20 11:27:53 +02:00
Alexandre Julliard
0839ea104a
ntdll: Added sysctl to make the signal stack per-thread on MacOS.
2006-09-07 18:08:46 +02:00
Alexandre Julliard
c627cbd765
ntdll: Remove some macros and clean up the code now that all platforms use siginfo.
2006-08-11 14:45:11 +02:00