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
Eric Pouech
0d588a4a82
Fixed DebugBreakProcess (now generates EXCEPTION_BREAKPOINT instead of
...
EXCEPTION_SINGLE_STEP).
2002-06-02 21:36:39 +00:00
Eric Pouech
93bfa0d6b1
Implementation for console control events (includes process groups
...
support).
2002-06-02 21:22:22 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
59008670be
Moved the selector access functions out of winnt.h into libwine.
2002-05-16 20:32:16 +00:00
Alexandre Julliard
894b188fcf
Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch]
2002-04-25 21:40:56 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
50c6b74a34
Added SIGNAL_Reset function.
2002-01-07 18:02:35 +00:00
Ove Kaaven
4eb0bebd90
Fixed vm86_enter race conditions.
2002-01-04 21:57:04 +00:00
Ove Kaaven
bf1e9682f4
Protect against an interrupt-pending signal recursion.
2001-10-28 21:16:22 +00:00
Patrik Stridvall
4b1574577d
- Made sure that the files that contains the declarations
...
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-23 23:50:18 +00:00
Patrik Stridvall
a274dd9105
Fixed some issues found by winapi_check.
2001-07-02 01:22:10 +00:00
Alexandre Julliard
7f862cb2d2
Don't compile vm86-specific code on platforms that don't support it.
2001-06-25 21:08:47 +00:00
Ove Kaaven
6e33f63e4a
Extended __wine_enter_vm86 to handle pending interrupts.
2001-06-21 00:39:34 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Ove Kaaven
e4a98ec195
Block SIGINT and SIGALRM in signal handlers.
2001-06-15 19:43:15 +00:00
Bang Jun-Young
284a78f5cc
Do not use internal exception codes defined by Wine with NetBSD,
...
rather use native ones from /usr/include/i386/trap.h. Note that T_MCHK
is not supported by NetBSD.
2001-05-09 19:45:07 +00:00
Ove Kaaven
0b6c6e7605
Fixed small race condition between vm86_enter() and signal handling.
...
Made separate save_vm86_context and restore_vm86_context functions.
2000-12-29 03:29:31 +00:00
Dimitrie O. Paun
2af03e45b5
Do not include sys/ptrace.h and sys/user.h unconditionally.
...
Other portability fixes.
2000-11-29 20:04:09 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Joerg Mayer
650ba4df23
Move inline and static to the beginning of declarations.
2000-10-29 18:06:04 +00:00