Commit Graph

229 Commits

Author SHA1 Message Date
André Hentschel f130a5acef ntdll: Remove dead initializations (clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 08:51:59 +01:00
Jacek Caban 2f1d068abd ntdll: Added TokenIsAppContainer semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 16:08:16 -06:00
Huw Davies 47303892ac ntdll: Zero-init the buffer for non-linux versions of SystemProcessorPerformanceInformation.
This ensures that the unused fields are set to zero, which matches the linux version.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 19:42:30 +02:00
Alexandre Julliard 2602df14d8 ntdll: Implement the SectionBasicInformation class of NtQuerySection.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:32:10 +09:00
Austin English fee017c221 ntdll: Add NtSetLdtEntries/ZwSetLdtEntries stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:56:23 +09:00
Michael Müller 5c50f65830 ntdll: Implement SystemRecommendedSharedDataAlignment class in NtQuerySystemInformation.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:54 +09:00
Andrew Eikum 0df38064c2 ntdll: Initialize variable (Coverity).
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:48 +09:00
Marcus Meissner de853e2b65 ntdll: Cast left shifted 1 to be ulong wide (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 13:28:53 +09:00
Andrew Eikum a124064ce5 ntdll: Implement SystemLogicalProcessorInformationEx.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 00:49:31 +09:00
Nikolay Sivov 114123370b ntdll: Add NtQuerySystemInformationEx() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 15:08:26 +01:00
Sebastian Lackner 08706ef357 server: Implement wineserver call for SystemHandleInformation.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:51:59 +01:00
Nikolay Sivov c1a46db98b ntdll: Fix printf format to use unsigned integers (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:54:04 +09:00
Gerald Pfeifer a7f124ae31 ntdll: Avoid a case of shift overflow in get_cpuinfo.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 21:44:31 +09:00
Alexandre Julliard e01dbac2bb ntdll: Remove some redundant shifts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:40 +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
André Hentschel 74ef3af73d ntdll: Use the correct arch value for ARM64. 2015-05-21 14:23:45 +09:00
André Hentschel 472340052a ntdll: Get available CPU info from FreeBSD on ARM. 2015-03-27 21:28:52 +09:00
André Hentschel 2b5deddc05 ntdll: Fix CPU level on ARM. 2015-03-27 21:28:48 +09:00
Michael Müller 97c3bb040e ntdll: Stub TokenAppContainerSid in NtQueryInformationToken. 2014-06-12 18:13:19 +02:00
Nikolay Sivov fd65b0a1c3 ntdll: Allow NULL return length argument in NtAdjustPrivilegesToken(). 2013-12-02 10:52:41 +01:00
André Hentschel eef5e45ee6 ntdll: Improved reporting of CPU Level and Revision on ARM. 2013-11-11 17:06:46 +01:00
Frédéric Delanoy 416930d498 ntdll: Use BOOL type where appropriate. 2013-11-04 11:03:43 +01:00
André Hentschel 6c02f66075 ntdll: Remove SPARC support. 2013-03-05 11:01:27 +01:00
Andrew Talbot d0d28b96a4 ntdll: Avoid signed-unsigned integer comparisons. 2013-02-21 08:34:13 +01:00
André Hentschel 855be0bb55 ntdll: Add ARM64 cpu info. 2013-01-16 12:52:15 +01:00
Francois Gouget d55bb4497f Assorted spelling fixes. 2012-11-05 11:30:30 +01:00
Akihiro Sagawa bb4a31a8ed ntdll: Calculate SystemProcessInformation's ReturnLength and return it. 2012-10-24 14:19:47 +02:00
James Eder 7978a38f24 ntdll: Split up feature detection by architecture. 2012-10-23 12:29:13 +02:00
James Eder 0d5f301352 ntdll: Use build-time API detection instead of OS detection for finding the number of processors. 2012-10-23 12:29:08 +02:00
James Eder a6eec2cf6a ntdll: Add detection for PF_SSE_DAZ_MODE_AVAILABLE. 2012-10-22 11:39:12 +02:00
James Eder ebc7ffd527 ntdll: Add detection for Revision in get_cpuinfo(). 2012-10-22 11:38:12 +02:00
James Eder 6db42d3650 ntdll: Handle CPU Level (family) as a vendor specific component. 2012-10-22 11:38:01 +02:00
James Eder 925fd2a223 ntdll: Add more feature detection in get_cpuinfo(). 2012-10-22 11:37:55 +02:00
James Eder 1ce0c9578a ntdll: Add support for cpuid on x86_64. 2012-10-22 11:37:43 +02:00
James Eder 2a71712b51 ntdll: Add more complete implementation of NtPowerInformation. 2012-09-14 12:04:48 +02:00
James Eder c683b98da5 ntdll: Return as many PROCESSOR_POWER_INFORMATIONs as there are CPUs. 2012-09-13 16:49:16 +02:00
James Eder 07f29c2ce7 ntdll: Remove outdated comment. 2012-09-11 18:10:55 +02:00
Piotr Caban 682b276ac5 ntdll: Added processor cache to SystemLogicalProcessorInformation (Mac). 2012-09-05 12:38:51 +02:00
Piotr Caban 785fde5920 ntdll: Added numa node information to SystemLogicalProcessorInformation (Mac). 2012-09-05 12:38:45 +02:00
Piotr Caban 6c2b7332d3 ntdll: Added processor cores information to SystemLogicalProcessorInformation (Mac). 2012-09-05 12:38:37 +02:00
Piotr Caban 59a54b0f8a ntdll: Added numa nodes information to SystemLogicalProcessorInformation (linux). 2012-09-04 16:15:54 +02:00
Piotr Caban a3d0a19624 ntdll: Added processor cache information to SystemLogicalProcessorInformation (linux). 2012-09-04 16:15:54 +02:00
Piotr Caban faccf6ad10 ntdll: Added partial support for SystemLogicalProcessorInformation information class in NtQuerySystemInformation (linux). 2012-09-04 16:15:54 +02:00
Michael Stefaniuc abef6ab366 ntdll: Avoid TRUE:FALSE conditional expressions. 2012-08-14 11:58:40 +02:00
Detlef Riekenberg 5c3e919b10 ntdll: Support TokenIntegrityLevel. 2012-07-31 10:55:08 +02:00
Huw Davies 59f7c24432 ntdll: Remove a spurious assignment. 2012-07-11 10:00:18 -05:00
Huw Davies 760f487f6c ntdll: Increase the buffer size for processor features and add a check to catch future overflows. 2012-07-11 10:00:15 -05:00
Hans Leidekker 700eec9687 ntdll: Report 3dnow and sse features if the processor supports them. 2012-07-09 15:06:13 -04:00
André Hentschel 1013d2e75c ntdll: Enhance FreeBSD checks to also check for DragonFly BSD when appropriate. 2012-06-04 12:17:54 +02:00