Commit Graph

773 Commits

Author SHA1 Message Date
Alexandre Julliard e31188d9da winebuild: Improve the calling sequence for register functions.
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Alexandre Julliard 9f6ff3d5af kernel32: 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:38 +01:00
Austin English f4d7369ba3 kernel32: Fix a compiler warning on non-i386. 2009-01-05 12:34:25 +01:00
Alexandre Julliard c9b4210b9c kernel32/tests: Use the actual name of the exe module in toolhelp tests. 2009-01-04 14:59:34 +01:00
Alexandre Julliard 1cdccc7de7 kernel32/tests: Comment out a couple of heap tests that crash on 64-bit Vista. 2009-01-04 14:47:59 +01:00
Alexandre Julliard 935a406b27 include: Fix data structures for processor affinity on 64-bit. 2009-01-04 14:47:24 +01:00
Alexandre Julliard 9e070a6108 kernel32/tests: Use the correct SIZE_T type instead of unsigned long. 2009-01-03 20:21:43 +01:00
Alexandre Julliard b712358152 kernel32/tests: Fix the NT header initialization for 64-bit. 2009-01-03 20:21:25 +01:00
Alexandre Julliard 52f99aeacb kernel32/tests: Don't compare the result of llseek or hwrite against HFILE_ERROR. 2009-01-03 20:21:01 +01:00
Alexandre Julliard bb7de132dd kernel32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:20:14 +01:00
Alexandre Julliard 6a548b1e9d ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit. 2009-01-03 14:55:32 +01:00
Austin English d760ec8410 kernel32: Add heap support for OpenBSD. 2009-01-03 14:55:31 +01:00
Alexandre Julliard 9f365e7705 server: Replace EXCEPTION_RECORD by an explicit definition in debug events. 2009-01-02 20:12:46 +01:00
Alexandre Julliard bc03f0ee39 server: Simplify the debug_event_t structure. 2009-01-02 20:09:25 +01:00
Alexandre Julliard 02229896be kernel32/tests: Use the correct value for invalid heap sizes on 64-bit. 2009-01-02 12:20:53 +01:00
Austin English e9569d9c4e kernel32/tests: Fix compile on powerpc. 2009-01-02 11:51:41 +01:00
Alexandre Julliard 5f36d0239f kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:51 +01:00
Alexandre Julliard fb7acdcb28 user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:33 +01:00
Alexandre Julliard fa8643805b server: Make TEB and PEB client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard c6c335d70e server: Make thread entry points client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 93737d5575 server: Store debugging output strings as client_ptr_t instead of void pointers. 2008-12-29 17:16:46 +01:00
Alexandre Julliard 947976f22c server: Store module names as client_ptr_t instead of void pointers. 2008-12-29 17:10:11 +01:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Ge van Geldorp c7905ffebc kernel32/tests: Use shared Windows directory on TS to find regedit.exe. 2008-12-29 12:11:41 +01:00
Francois Gouget 770d28d180 kernel32: Fix a comment in LocalInit16(). 2008-12-29 11:35:36 +01:00
Alexandre Julliard 3ece9e9002 include: Move the DEFINE_REGS_ENTRYPOINT macros to the dlls that use it. 2008-12-27 19:47:46 +01:00
Alexandre Julliard 0ce0af5f16 kernel32: Move AllocMappedBuffer/FreeMappedBuffer to thunk.c. 2008-12-27 19:45:52 +01:00
Maarten Lankhorst 70441d5bb8 kernel32: Change all functions to use CDECL. 2008-12-23 13:09:45 +01:00
Andrew Talbot a1e31e580e kernel32: Remove unused Wine debug channel. 2008-12-19 17:36:35 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexander Nicolaysen Sørnes 93488b19dc kernel32: Add stub for GetConsoleAliasW. 2008-12-15 13:27:03 +01:00
Francois Gouget 0f305929bc kernel32: Make some functions static. 2008-12-15 12:25:39 +01:00
Francois Gouget 7271ed5532 kernel32: Remove _hread16() as it is not used. Move _hwrite16() next to the other related functions. 2008-12-12 11:46:25 +01:00
Alexandre Julliard a2089abd94 ntdll: Enforce correct protection values in virtual memory functions. 2008-12-11 14:05:42 +01:00
Austin English 7a92db4e8b kernel32: Convert a warn to an err. 2008-12-10 11:23:37 +01:00
Alexandre Julliard ffb44032ad kernel32/tests: Fixed the handle test for Win9x. 2008-12-08 21:19:39 +01:00
Alexandre Julliard 50d6b7fb54 ntdll: Added stubs for RtlLookupFunctionEntry and RtlVirtualUnwind. 2008-12-08 19:29:06 +01:00
Alexandre Julliard f06d99f67a include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386. 2008-12-08 19:25:25 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Alexandre Julliard fea2aa55d0 include: Fix the 64-bit value of magic handle constants. 2008-12-08 15:51:22 +01:00
Alexandre Julliard 7749b6e2dd kernel32/tests: Added some tests for behavior of 64-bit kernel handles. 2008-12-08 13:39:31 +01:00
Francois Gouget 7e43f8a4fe kernel32: Remove unneeded casts of zero. 2008-12-08 12:05:39 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Alexandre Julliard 31a641aa59 ntdll: Implemented RtlCaptureContext. 2008-12-04 12:42:53 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Jeff Zaroyko afce615830 wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories. 2008-12-03 09:58:21 +01:00
Jeff Zaroyko f8b5aa34dc kernel32: Add a test for CreateFile when using OPEN_ALWAYS on directories. 2008-12-03 09:57:52 +01:00
Kai Blin a30724304c kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity). 2008-12-01 14:26:02 +01:00
Vitaly Lipatov aa5358fdae kernel32: gethostname returns string in CP_UNIXCP encoding. 2008-12-01 14:01:10 +01:00