Commit Graph

25 Commits

Author SHA1 Message Date
André Hentschel 23842df371 libwine: Implemented the call_on_stack function for ARM. 2009-10-02 17:11:32 +02:00
Alexandre Julliard 1d5cb9d23b include: Get rid of the no longer used wine/pthread.h. 2009-07-06 14:35:24 +02:00
Alexandre Julliard 065287ed66 libwine: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard b9fd2c8d4c libwine: Add unwind annotations to the stack switching functions for x86_64. 2009-06-16 14:26:20 +02:00
Gerald Pfeifer 5a28d37fe6 libwine: Remove redundant prototype for wine_call_on_stack(). 2009-05-18 12:31:49 +02:00
Simon Richter 2416533cd5 libwine: Fix wine_switch_to_stack on ppc.
The PowerPC ABI expects the caller to allocate space for the return
address on the stack, above the current stack pointer, even if the
address is passed in the link register (usually the address is stored at
SP+4 by the callee).
2008-06-02 12:34:28 +02:00
Simon Richter ff77ba8e17 libwine: Implement wine_call_on_stack for ppc. 2008-06-02 12:34:06 +02:00
Alexandre Julliard c9f0bea910 libwine: Added a wine_call_on_stack function. 2008-03-26 15:38:00 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard cc01e8ff05 Preserve 16-byte stack alignment in the various assembly
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Alexandre Julliard ee7d27a7bf Implemented wine_switch_to_stack for x86_64. 2005-09-08 19:16:12 +00:00
Alexandre Julliard 883d3c52d3 Use explicit function pointers for pthread support instead of relying
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Eric Frias 575042e718 Fix Sparc assembly code in wine_switch_to_stack. 2004-11-22 19:50:38 +00:00
Vincent Béron e5fdc454a4 Implement interlocked* and wine_switch_to_stack for Alpha. 2004-10-11 19:50:52 +00:00
Emmanuel Maillard 1a9ab88fe3 Adjust stack pointer in wine_switch_to_stack to prevent segmentation
fault on darwin/ppc.
2004-05-25 04:03:05 +00:00
Alexandre Julliard 94d74b5fed Added support for managing reserved memory areas in libwine and ntdll.
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Alexandre Julliard 4fac95df3d Fixed a couple of race conditions in the wine_pthread routines at
thread startup and exit.
2004-02-05 02:01:35 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Alexandre Julliard c6d44be3e5 Create a huge array in bss to reserve the memory area we need for PE
binaries, to prevent exec shield from mapping system libraries there.
2003-11-22 00:08:26 +00:00
Alexandre Julliard 50fba7ffec Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
Let the pthread library allocate the stack itself.
2003-11-09 01:25:23 +00:00
Alexandre Julliard 8574412e1e Added wine_pthread_create_thread and wine_pthread_exit_thread to the
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00
Alexandre Julliard 0b1a82aa5e Added check for pthread.h (reported by Steven Edwards).
Removed init_done check, the process heap is now created before kernel
is loaded anyway.
2003-10-14 01:27:31 +00:00
Alexandre Julliard 823cec66ef Added placeholders for wine_pthread_init_process and
wine_pthread_init_thread.
2003-10-10 00:22:19 +00:00
Alexandre Julliard ca3bfd8318 Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00