Alexandre Julliard
fb9cead92b
Support arbitrary sizes for the thread signal stack, and set the
...
default size from the MINSIGSTKSZ constant.
2005-09-14 10:36:58 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
22a5332661
Added descriptions for a few more machine types.
2005-09-09 10:42:42 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard
0f41df1681
Use FILE_GetDeviceInfo in NtMapViewOfSection to avoid having to fetch
...
the file descriptor twice.
2005-08-25 10:23:23 +00:00
Alexandre Julliard
4ebd2fc0ff
Better handling of conflicting section information between
...
SizeOfRawData and VirtualSize.
2005-08-15 14:50:06 +00:00
Alexandre Julliard
8c375c7fd4
Don't map data beyond the virtual size of a section.
2005-08-12 11:21:45 +00:00
Alexandre Julliard
9f32a5c865
Added a VIRTUAL_alloc_teb function to allocate TEBs while making sure
...
they don't end up above the address space limit.
2005-08-09 10:43:47 +00:00
Dmitry Timoshkov
40dd77bf5a
Make VIRTUAL_HandleFault return an NTSTATUS.
2005-07-15 11:43:09 +00:00
Dmitry Timoshkov
1dc18952ae
Use SIZE_T type for size variables in NTDLL when appropriate.
2005-07-15 10:01:30 +00:00
Felix Nawothnig
db6a238f28
Replace stubs for information classes in NtQueryVirtualMemory and
...
NtQueryInformationProcess by more descriptive messages.
2005-07-05 14:05:58 +00:00
Vitaliy Margolen
b2e74c3047
Load all dll sections no matter what attributes say.
2005-07-02 10:50:42 +00:00
Mike McCormack
6b636e3e7b
Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION.
2005-06-25 18:00:57 +00:00
Alexandre Julliard
f724399f60
Add PAGE_GUARD flag to the returned protection of guard pages.
2005-06-21 20:23:02 +00:00
Mike McCormack
04f9f1b066
Don't include winbase.h or winerror.h when not necessary.
2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Alexandre Julliard
bd000a0203
Removed some unnecessary inclusions of thread.h
2005-06-06 20:13:08 +00:00
Mike McCormack
cc4ed1322a
Use LIST_FOR_EACH_ENTRY in virtual memory code.
2005-05-23 09:51:02 +00:00
Dimi Paun
88fe1ff962
Make the argument comments out-of-line.
2005-05-18 09:45:12 +00:00
Alexandre Julliard
3b843d3e7d
Remove all traces of the VIRTUAL_SetFaultHandler support.
2005-04-20 16:26:23 +00:00
Troy Rollo
95fe6abcb7
Fix SEGVs in NtCreateSection and NtMapViewOfSection.
2005-04-19 10:31:28 +00:00
Ivan Leo Puoti
d3edafe1e2
Replace GetCurrentProcess() with NtCurrentProcess() in ntdll.
2005-02-22 19:33:50 +00:00
Gerald Pfeifer
57e00da29e
Fix format string in NtQueryVirtualMemory().
2005-01-24 11:25:41 +00:00
Hans Leidekker
fccfcbf7ba
Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}.
...
Implement GetPerformanceInfo, GetProcessMemoryInfo on top of
NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on
top of NtQueryVirtualMemory.
2005-01-20 19:59:48 +00:00
Alexandre Julliard
646ab89f0a
Support mapping non page-aligned binaries for SEC_IMAGE mappings.
2005-01-04 12:04:06 +00:00
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
Robert Shearman
2050591370
Fix NtAllocateVirtualMemory declaration and fix users of the
...
function.
2004-10-11 20:59:06 +00:00
Alexander Yaworsky
aadffd1f35
Moved TRACEs to the beginning of functions.
2004-09-22 04:03:10 +00:00
Alexander Yaworsky
8657ad8704
Make RtlCreateUserThread fail if process handle is not for the current
...
process.
2004-09-21 00:23:50 +00:00
Alexandre Julliard
6a27b48895
Fd type is no longer used, get rid of it.
2004-08-18 00:04:58 +00:00
Alexandre Julliard
38affc4097
We no longer need to make the import directory writable, the loader
...
takes care of that now.
2004-06-22 03:02:35 +00:00
Alexandre Julliard
fd9792bdc9
Added support for the IMAGE_FILE_LARGE_ADDRESS_AWARE flag.
2004-06-18 00:26:57 +00:00
Eric Pouech
db52588754
Const correctness.
2004-06-15 00:47:00 +00:00
Alexandre Julliard
dc4d05690e
Don't rely on the reserved area list being empty in reserve_area,
...
since the preloader will need to add things to the list before
startup.
2004-05-28 03:48:09 +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
eb04fd22f8
Converted the memory views list to use the standard functions from
...
wine/list.h.
Restructured some functions to always return proper NT status codes.
A couple of optimizations.
Added a few tests for file mappings.
2004-05-21 20:58:44 +00:00
Alexandre Julliard
670711ef25
Handle file mappings on removable media entirely inside ntdll.
2004-04-06 23:13:47 +00:00
Alexandre Julliard
a2ce4ea325
Fixed some potential races in the handling of the view structures.
2004-04-06 20:16:51 +00:00
Mike Hearn
4d2cfee1fa
Improve message given on image map failure.
2004-03-15 20:06:50 +00:00
Dmitry Timoshkov
cba227bcec
Write section access also assumes read access.
2004-02-17 20:22:43 +00:00
Dmitry Timoshkov
fcc2fe18a4
Avoid double checking free type flags in NtFreeVirtualMemory.
2004-02-11 23:56:52 +00:00
Alexandre Julliard
2ad864dc87
Don't request PROT_EXEC permissions when mapping an image file to
...
avoid problems on noexec filesystems with kernel 2.6.
2004-02-11 06:37:49 +00:00
Dmitry Timoshkov
f323d5d31b
Add a test case for Virtual* APIs, fix a few bugs discovered by it.
2004-02-09 20:58:16 +00:00
Alexandre Julliard
36241ceda4
Added memory constraint to avoid miscompilation of the unaligned_mmap
...
function (with help from Paul Streitman).
2004-01-30 22:59:34 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Alexandre Julliard
94d5531e6f
Check for overlapping memory views and delete the offending view if
...
necessary, to ensure we never have two views covering the same
address.
2004-01-16 04:52:17 +00:00
Alexandre Julliard
af542075e7
Don't use constructors for ntdll and kernel32 initialization.
2004-01-07 04:50:11 +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
f3f435ffa1
Added wine_server_release_fd function to release the fd returned by
...
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Alexandre Julliard
dfe1df6408
Make sure the protection flags on the memory view of the PE header
...
match the actual mmap protection.
2003-11-11 22:06:59 +00:00