Commit Graph

3478 Commits

Author SHA1 Message Date
Sebastian Lackner 8965511957 ntdll: Implement TpCallbackUnloadDllOnCompletion. 2015-07-02 14:54:13 +09:00
Sebastian Lackner 15110b1770 ntdll: Implement TpCallbackSetEventOnCompletion. 2015-07-02 14:54:04 +09:00
Sebastian Lackner 3dc1c6442a ntdll/tests: Add tests for TpCallbackReleaseSemaphoreOnCompletion and finalization callback. 2015-07-02 14:53:56 +09:00
Sebastian Lackner eb39cb1323 ntdll: Implement TpCallbackReleaseSemaphoreOnCompletion. 2015-07-02 14:53:50 +09:00
Sebastian Lackner 02ee5bb52d ntdll: Implement TpCallbackReleaseMutexOnCompletion.
Various internal details about the order and error handling of completion
actions are documented in "Concurrent Programming on Windows" by Joe Duffy.
2015-07-02 14:53:41 +09:00
Sebastian Lackner a9dd37be68 ntdll: Implement TpCallbackLeaveCriticalSectionOnCompletion.
An instance can only have one completion of each type, trying to add a
second one leads to an exception on Windows.
2015-07-02 14:53:21 +09:00
Sebastian Lackner eb974bcd7a ntdll: Implement instance objects and the TpCallbackMayRunLong function.
The instance is marked as long-running even if TpCallbackMayRunLong fails,
a second call will lead to an exception on Windows.
2015-07-02 14:53:02 +09:00
Sebastian Lackner 8fc2430c2a ntdll: Implement threadpool RaceDll environment variable. 2015-07-02 14:52:44 +09:00
Sebastian Lackner fa114f122b ntdll: Add support for threadpool finalization callback. 2015-07-02 14:52:38 +09:00
Sebastian Lackner e8d4b40386 ntdll/tests: Add tests for threadpool group cancel callback. 2015-07-02 14:52:32 +09:00
Sebastian Lackner 1839ce8697 ntdll: Add support for threadpool group cancel callback. 2015-07-02 14:52:27 +09:00
Sebastian Lackner b75d7f064c ntdll/tests: Add threadpool scheduler tests for work items. 2015-07-01 19:18:16 +09:00
Sebastian Lackner 17cd2a8b24 ntdll/tests: Add basic tests for threadpool work items. 2015-07-01 19:18:16 +09:00
Sebastian Lackner e4c38f6bad ntdll: Implement threadpool work item functions. 2015-07-01 19:18:15 +09:00
Sebastian Lackner 3606b47139 ntdll/tests: Add tests for TpAllocCleanupGroup and related functions. 2015-07-01 19:18:15 +09:00
Sebastian Lackner 68d92bceed ntdll: Implement threadpool cleanup group functions. 2015-07-01 19:18:14 +09:00
Sebastian Lackner 7d9ec31e19 ntdll: Implement TpSetPoolMinThreads. 2015-07-01 19:18:14 +09:00
Sebastian Lackner d56984a03d ntdll: Implement TpSetPoolMaxThreads. 2015-07-01 19:18:13 +09:00
Sebastian Lackner db9fc9141e ntdll: Implement TpSimpleTryPost and basic threadpool infrastructure. 2015-07-01 19:18:13 +09:00
André Hentschel d37f407645 ntdll: Silence warning about TAPE_GetStatus when sys/mtio.h is not available. 2015-06-30 14:42:13 +09:00
Sebastian Lackner d082ea3eab ntdll: Implement support for AT_ROUND_TO_PAGE flag in NtMapViewOfSection. 2015-06-26 20:35:05 +09:00
Sebastian Lackner 7a8470ea94 ntdll: NtMapViewOfSection should fail if both addr_ptr and zero_bits is set. 2015-06-26 20:35:05 +09:00
André Hentschel 8d4917e865 include: Add IMAGE_LOAD_CONFIG_DIRECTORY64 definition. 2015-06-24 15:37:02 +09:00
Nikolay Sivov 0824771423 kernel32: Export RtlCopyMemory(). 2015-06-19 19:10:45 +09:00
André Hentschel 1133295267 ntdll: Set TPIDRURW inline on ARM. 2015-06-17 18:19:55 +09:00
André Hentschel aa139d3e86 ntdll: Set platform register x18 to TEB on ARM64. 2015-06-17 18:19:55 +09:00
Mohamed Mediouni 2b095beace ntdll: Multiply r4 with the word size in ARM for __chkstk. 2015-06-16 23:56:44 +09:00
André Hentschel bef85a14f6 ntdll: Fix CONTEXT_ARM in RtlCaptureContext. 2015-06-15 15:29:03 +09:00
André Hentschel cd258bef79 ntdll: Implement RtlCaptureContext on ARM64. 2015-06-15 15:29:03 +09:00
André Hentschel bd1f7ef186 include: Rename 64-bit PState to 32-bit Cpsr on ARM64. 2015-06-15 14:51:33 +09:00
Erich E. Hoover cdefae9ef2 ntdll: Fix IOCTL_DVD_READ_STRUCTURE expected output size. 2015-06-15 14:50:19 +09:00
Ken Thomases 3b74ac0f08 ntdll: Fix the "not found" status set by read_directory_stat() and read_directory_getattrlist() for when restart_scan is set. 2015-06-12 21:22:42 +09:00
Ken Thomases e7fa766378 Revert "ntdll: Avoid one of the calls to getattrlist() when read_directory_getattrlist() checks the case sensitivity of the file system.".
This was wrong-headed and could never have worked.  The second getattrlist()
call that I was trying to avoid was only necessary when the first fails.  Given
that the first failed, its results can't be used to avoid the second, no matter
what information we requested.

This reverts commit 5514df9d4e.
2015-06-12 21:22:42 +09:00
Sebastian Lackner bdef5c5508 ntdll/tests: Add tests for info struct size for FileDispositionInformation. 2015-06-11 15:32:30 +09:00
Sebastian Lackner 8ddab2c2f4 ntdll: Fix status code when NtMapViewOfSection parameter check fails. 2015-06-08 15:34:04 +09:00
Ken Thomases 82dd799d52 ntdll: Add partial support for version 3 of DWARF CIEs which are generated by Clang/LLVM. 2015-06-05 18:40:39 +09:00
Ken Thomases bbcfa6b4ee ntdll: Add support for using libunwind to unwind the stack for x86_64.
On OS X, Apple uses compact unwind info in preference to DWARF unwind info.
2015-06-05 15:08:02 +09:00
Qian Hong ef3ed04cdc server: Fix type name of directory file. 2015-06-05 14:32:27 +09:00
Qian Hong f208c50cc0 server: Fix type name of File. 2015-06-05 14:32:23 +09:00
Qian Hong bdc223ad39 server: Fix type name of IoCompletion. 2015-06-05 14:32:15 +09:00
Qian Hong 7a7fc1e604 ntdll/tests: Add a few more ObjectTypeInformation tests. 2015-06-05 14:32:11 +09:00
Qian Hong 71080cc081 ntdll: Implemenent ObjectTypeInformation class support in NtQueryObject. 2015-06-05 14:32:01 +09:00
Sebastian Lackner d6a044c86a ntdll/tests: Don't call lstrlenW on non-null-terminated buffer. 2015-06-05 14:11:10 +09:00
André Hentschel c13be7446e ntdll: Fix returning from various ARM assembler functions. 2015-05-29 15:03:06 +09:00
André Hentschel a18f84c0b1 ntdll: Add stub for __chkstk on ARM. 2015-05-29 15:03:05 +09:00
André Hentschel 8e0164bd26 include: Add more ARM64 CV constants. 2015-05-28 14:20:55 +09:00
Jactry Zeng c9e1b6fb57 ntdll/tests: Test opening a directory with NULL ObjectName. 2015-05-27 17:13:08 +09:00
Ken Thomases 5514df9d4e ntdll: Avoid one of the calls to getattrlist() when read_directory_getattrlist() checks the case sensitivity of the file system.
Extract a new function, get_dir_case_sensitivity_attr_by_id(), from
get_dir_case_sensitivity_attr().  Call that instead of get_dir_case_sensitivity()
from read_directory_getattrlist().  We get the device and file system IDs from
the same getattrlist() call we're already doing, so that avoids an extra call.
2015-05-22 14:11:03 +09:00
André Hentschel dec7b246f8 ntdll: Add ARMv8 detection for ARM32. 2015-05-22 14:10:29 +09:00
André Hentschel b5b34220cc ntdll: Parse ARM64 CPU info. 2015-05-22 14:10:27 +09:00