Peter Chapman
505dfdefb5
Fix up several inline assembler blocks so that they produce correct
...
code with the -fomit-frame-pointer gcc flag.
2004-12-02 18:19:25 +00:00
Pierre d'Herbemont
ed7a2bab5f
Added signal support for Darwin/i386.
2004-08-24 02:26:59 +00:00
Markus Amsler
b5b8810e99
Pass debug exceptions to winedos.
2004-08-04 19:08:19 +00:00
Dmitry Timoshkov
c2de5fbcb9
Set SA_RESTART sigaction flag for other BSDs beside NetBSD.
2004-02-24 01:21:56 +00:00
Robert Lunnon
93be53744e
Save UESP instead of ESP where UESP defined.
2004-01-16 02:00:24 +00:00
Alexandre Julliard
8b39cea352
Fixed __siginfo type for Solaris (based on a patch by Robert Lunnon).
2004-01-14 05:25:07 +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
8fb98a41e0
Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
...
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Jukka Heinonen
d7ee5f3f31
Fix race in real mode event handling.
...
Merge real mode pending event checking routines.
Remove some obsolete code.
2003-11-11 00:44:10 +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
063cff8686
Use the signal stack pointer to determine the current thread.
...
Converted the SIGUSR2 handler to use setup_exception (probably still
not working properly).
2003-11-05 00:52:29 +00:00
Alexandre Julliard
7924f421e9
Allocate the TEB and signal stack separately from the main stack.
...
Dynamically allocate the initial TEB too so that it is properly
page-aligned.
2003-11-04 04:50:18 +00:00
Alexandre Julliard
0f95d5498d
Fixed race in %gs selector restoring during vm86 mode return.
...
Minor cleanups.
2003-10-30 23:15:56 +00:00
Alexandre Julliard
07931f2d70
Removed no longer needed SIGNAL_Unblock() function.
2003-10-28 21:46:46 +00:00
Alexandre Julliard
4cb001967a
Switch back to the main process stack before calling exception
...
handlers.
2003-10-28 00:30:55 +00:00
Alexandre Julliard
8824c38e9e
Simplified signal stack allocation a bit, and avoid allocating it on
...
non-i386 platforms.
2003-10-22 03:26:53 +00:00
Jukka Heinonen
46f29944c3
Remove races from DPMI async event handling.
2003-10-14 05:20:34 +00:00
Alexandre Julliard
67d9f38059
Added __wine_set_signal_fs function to avoid sharing the
...
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Alexandre Julliard
bff860c4b1
Moved synchronization and syslevel routines to dlls/kernel.
2003-09-18 04:39:13 +00:00
Alexandre Julliard
1479aebda3
Moved instruction emulation to dlls/kernel.
2003-09-17 04:34:31 +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
Jukka Heinonen
2a3ce4c425
Start processing asynchronous DOS events in DPMI mode.
2003-07-01 03:37:41 +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
Jukka Heinonen
ae906923a1
Remove SIGALRM handler.
...
Reserve TEB field for DPMI virtual interrupt flag.
2003-06-16 01:18:26 +00:00
Eric Pouech
8638b26483
Correctly convert into EXCEPTION_RECORD SIGTRAPs received from
...
DebugBreakProcess.
2003-06-07 00:33:13 +00:00
Yorick Hardy
6dd0685f74
Use SA_RESTART on NetBSD.
2003-06-04 20:15:10 +00:00
Alexandre Julliard
0b34697abb
Made INSTR_EmulateInstruction return the exception code.
...
Don't allow intXX instructions from 32-bit code (based on a patch by
Jukka Heinonen).
2003-05-14 19:41:16 +00:00
Alexandre Julliard
ebe67a2864
Added support for retrieving page fault address on Solaris (based on a
...
patch by Robert Lunnon).
2003-05-06 18:50:08 +00:00
Alexandre Julliard
088bcf9ca5
Implemented NtQueueApcThread, and changed the server APC interface to
...
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +00:00
Eric Pouech
14d04b608c
No longer call WaitFor*Object* from ntdll (but NtWait*Object*).
2003-04-03 23:57:11 +00:00
Yorick Hardy
14251f1b48
Added fields from NetBSD struct sigcontext on i386.
2003-03-28 00:29:45 +00:00
Alexandre Julliard
78675ba234
Store %gs in the TEB on every call to 16-bit code, and don't restore
...
it from the TEB for signals that did not happen in 16-bit code.
2003-03-25 00:36:16 +00:00
Alexandre Julliard
a993df861c
Make sure changes to the debug registers while inside a SIGTRAP
...
exception are taken into account (based on a patch by Alex Pasadyn).
2003-03-24 19:31:10 +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
551797bc57
Properly save/restore %gs register across 16-bit calls.
2003-02-27 21:11:13 +00:00
Alexandre Julliard
b4a4c05aed
Removed a few more #ifdef __WINE__.
2003-01-04 00:19:17 +00:00
Jukka Heinonen
bbb7dc0fad
When asynchronous signals are blocked, block also SIGUSR2.
...
Fix race that made signal handler forget to restore FS register.
2002-12-13 23:28:01 +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
Marcus Meissner
727c31d7a0
Only enable VM86 mode if we have the <sys/vm86.h> include file.
2002-11-08 18:53:32 +00:00
Lionel Ulmer
bdb44555a3
Raise an exception if any Wine or Winelib code does an assert.
2002-10-28 23:56:58 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Patrik Stridvall
a62a26ced0
Fixed some issues found by winapi_check.
2002-09-09 19:26:55 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Patrik Stridvall
4325554aef
Fixed some issues found by winapi_check.
2002-08-09 01:07:29 +00:00
Rafael Kitover
ac81d02a58
Portability fixes for Cygwin.
2002-07-31 20:04:20 +00:00
Eric Pouech
3d4d7e0153
Added a generic mechanism to set up hooks for dispatching signal
...
handlers outside ntdll.
2002-07-31 18:46:09 +00:00
Alexandre Julliard
65c6d38581
Replace all uses of PREFIX and @function by the __ASM_NAME and
...
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
François Gouget
103295c769
Reset signals to SIG_DFL before starting a child process.
2002-06-13 21:57:38 +00:00