Commit Graph

244 Commits

Author SHA1 Message Date
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
Austin English 78f82fa063 ntdll: Use proper CPU speed detection on FreeBSD.
Reported by Hardy Schumacher.
2012-03-01 17:38:41 +01:00
Nikolay Sivov 7c648cb695 ntdll: Fix SID data copy length. 2011-10-12 20:52:46 +02:00
Charles Davis fe6140e0fd ntdll: Also set CPU_FEATURE_HTT on Mac OS. 2011-10-11 13:37:49 +02:00
Francois Gouget bf05d85f99 ntdll: Detect if NX support is enabled. 2011-08-24 19:07:45 +02:00
Nikolay Sivov 573db9ef63 ntdll: While requesting TokenGroups calculate required user buffer size in server. 2011-08-23 16:53:54 +02:00
Nikolay Sivov 8e904f95c3 ntdll: Stub TokenSessionId for query call. 2011-08-22 16:14:35 +02:00
André Hentschel abcdcd9eea ntdll: Accept double-digit CPU families. 2011-08-22 16:14:32 +02:00
André Hentschel 3eb91fbc3c ntdll: Parse ARM CPU level. 2011-06-16 11:15:56 +02:00
André Hentschel 6f9d1840ef ntdll: Remove Alpha support. 2011-04-20 13:09:39 +02:00
Alexandre Julliard cc01c46f41 ntdll: Rewrite the SystemProcessorPerformanceInformation handing to avoid code duplication.
Also include idle time in kernel time.
2011-04-15 10:56:55 +02:00
Maarten Lankhorst 67755d2593 ntdll: Fix time units for SystemPerformanceProcessorInformation, and steal idle time for kernel time. 2011-03-08 16:55:10 +01:00
Maarten Lankhorst f45b6c54be ntdll: Fix time accounting in NtQuerySystemInformation. 2011-02-24 18:25:48 +01:00
Austin English 9832bd6c54 ntdll: Add missing checks for FreeBSD_kernel. 2011-01-17 14:27:38 +01:00
André Hentschel 40294182c1 ntdll: Respect multiple CPUs when faking values. 2011-01-04 11:46:31 +01:00
Louis Lenders fa2b7066e5 ntdll: Set the IdleTime member from the SystemPerformanceInformation info class in NtQuerySystemInformation. 2010-11-26 14:58:39 +01:00
Detlef Riekenberg 48f3335ffa ntdll: Add semi stub for TokenElevationType in NtQueryInformationToken. 2010-11-15 14:55:24 +01:00
André Hentschel 3151ef0d06 ntdll: Detect more processor features. 2010-11-04 11:48:44 +01:00
Rudolf Mayerhofer d0e0e69ff1 ntdll: Set CPU_FEATURE_HTT when running on a HTT capable system. 2010-10-04 15:00:07 +02:00
André Hentschel 171c9a5327 ntdll: Add ARM support. 2010-09-20 12:58:44 +02:00
Brad Smith 466b64032f ntll: Fix the detection of the number of CPUs for OpenBSD. 2010-09-18 13:10:07 +02:00
Austin English 7b37a6d47e ntdll: Add Sparc processor support. 2010-08-24 12:21:38 +02:00
Detlef Riekenberg 2b76f8661d ntdll: Add a stub for TokenElevation in NtQueryInformationToken. 2010-08-23 13:46:24 +02:00
Austin English 5bd468179b ntdll: Add stub for NtSystemDebugControl. 2010-06-29 10:55:41 +02:00
Alexandre Julliard 4fc65126cf ntdll: Report the correct processor architecture. 2010-04-16 16:59:01 +02:00
Henri Verbeet 7bfe6c4308 ntdll: Return a more reasonable value for "Reserved3".
The value is based on 64-bit Win 7, the main thing we care about is that it's
not 0.
2010-03-29 15:50:52 +02:00
Austin English b4173d7d40 ntdll: Add initial support for OpenBSD to fill_cpu_info. 2010-03-01 11:33:07 +01:00
Freddie Tilley 323b36f521 ntdll: Detect more cpu features in get_cpuinfo. 2010-01-25 12:45:22 +01:00
Freddie Tilley 69d7233e3e ntdll: Set cpu frequency for FreeBSD 7.2 and higher. 2010-01-20 15:34:41 +01:00
Rob Shearman bd56916f90 server: Extend get_token_user server call to also retrieve SIDs for the token's owner or primary group. 2009-11-17 15:14:54 +01:00
Alexandre Julliard a022062cab ntdll: Move creation of the CPU-specific registry keys to wineboot. 2009-09-24 14:23:02 +02:00
Huw Davies 90f95172b8 ntdll: Fix build on MacOSX. 2009-09-23 12:33:19 +02:00
Alexandre Julliard 1cf1a3f211 ntdll: Only create the CPU registry keys on first run. 2009-09-22 17:05:02 +02:00
Eric Pouech 004fdc7a97 ntdll: Moved CPU related registry key creation from kernel32 to ntdll. 2009-09-22 16:54:14 +02:00
Eric Pouech 3794c6b936 ntdll: Implement basic support for processor power information. 2009-09-22 16:51:29 +02:00
Eric Pouech 57f714f3eb ntdll: Reuse kernel32's cpu info to implement NtQuerySystemInformation(SystemProcessInformation). 2009-09-22 16:51:16 +02:00
Benjamin Kramer 2f3ac0640b ntdll: Fix build on MacOSX. 2009-08-29 16:48:52 +02:00
Alexandre Julliard 2be006e497 ntdll: Fix a couple of system information structures for 64-bit. 2009-08-27 19:47:49 +02:00
Austin English eb8f95b5b6 ntdll: Quiet a noisy fixme. 2009-08-10 17:04:19 +02:00
Luke Benstead 8ed1f0547e ntdll: Add semi-stub implementation for SystemExecutionState query. 2009-07-22 14:42:51 +02:00
Alexandre Julliard 2e2f6af0de ntdll: Fix the formatting of the get_token_groups request for 64-bit. 2009-07-03 13:58:09 +02:00
Louis Lenders e8696ca02e ntdll: Add stub for NtSecureConnectPort. 2009-06-02 13:10:10 +02:00
Austin English 81543b79c2 ntdll: Change a noisy FIXME to a WARN. 2009-05-22 11:09:41 +02:00
Alexandre Julliard 82fb611806 ntdll: Fix the LPC_MESSAGE structure definition for 64-bit. 2009-05-07 14:44:22 +02:00
Hans Leidekker f483f71ad2 ntdll: Implement NtQuery/SetInformationToken(TokenDefaultDacl). 2009-04-21 15:41:05 +02:00
Michael Stefaniuc d2f6f56873 ntdll: Remove superfluous pointer casts. 2009-03-23 12:40:53 +01:00
Alexandre Julliard 912d98c2ae ntdll: Improve debugging helper for object attributes structure. 2009-02-16 11:46:44 +01:00
Paul Bryan Roberts a552587de1 ntdll: Avoid potential infinite loop. 2009-02-12 17:53:35 +01:00
Alexandre Julliard 6a548b1e9d ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit. 2009-01-03 14:55:32 +01:00
Stefan Dösinger 40447e804d ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once. 2008-12-09 12:46:52 +01:00
Alexandre Julliard db6e45488d server: Get rid of the support for module snapshots, it is no longer needed. 2008-12-09 11:49:37 +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 3d6313c9ce ntdll: Return more correct information for SystemBasicInformation and GetSystemInfo. 2008-11-03 13:34:13 +01:00
Aric Stewart 1865c47ff8 ntdll: Fix parsing of proc file. Also correct memory deallocation on the Mac. 2008-11-03 13:34:12 +01:00
Aric Stewart a226f6609f ntdll: Implement SystemProcessorPerformanceInformation for Linux (/proc filesystems) and Mac OS X. 2008-10-20 13:56:58 +02:00
Alexandre Julliard 0327f84a2f ntdll: Implemented NtOpenProcessTokenEx and NtOpenThreadTokenEx. 2008-09-04 21:57:13 +02:00
Andrew Talbot 741b65c200 ntdll: Remove unneeded address-of operators from array names. 2008-07-11 14:06:27 +02:00
Klaus Layer 9f8d9e3e05 ntdll: Add missing FIXMEs for incomplete info classes in NtQuerySystemInformation. 2007-10-30 11:29:40 +01:00
Francois Gouget bde9601ee1 ntdll: Fix compilation on systems that don't support nameless unions. 2007-09-18 11:20:13 +02:00
Rob Shearman 3f431a0646 server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken. 2007-09-14 14:43:46 +02:00
Rob Shearman 1cd222b451 ntdll: The impersonation level in NtDuplicateToken should be taken from the SecurityQualityOfService member of ObjectAttributes if present. 2007-07-13 12:27:12 +02:00
Alexandre Julliard 68a6182188 ntdll: Add check for null pointer in NtQuerySystemInformation(SystemModuleInformation). 2007-07-04 12:07:22 +02:00
Alexandre Julliard 5817e36634 ntdll: Improved the stub behavior of NtQuerySystemInformation(SystemModuleInformation). 2007-06-19 16:58:42 +02:00
Alexandre Julliard aaf477f292 server: Change the timeout handling to use NT-style 64-bit timeouts everywhere. 2007-04-17 20:08:59 +02:00
Juan Lang c2cb296277 ntdll: Implement NtAllocateLocallyUniqueId with server call. 2007-03-07 13:45:11 +01:00
Rob Shearman d342d1413c server: Add get_token_impersonation_level server call for retrieving the impersonation level from a token.
Add tests for GetTokenInformation(TokenImpersonationLevel).
2007-02-21 19:49:37 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Alexandre Julliard c627601c3b server: Convert the server start time to the abs_time_t type. 2006-07-26 14:50:55 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 3396a66ee7 server: Retrieve the groups for a token from the server. 2006-05-15 14:25:43 +02:00
James Hawkins 31f29ffcc8 ntdll: Return STATUS_NOT_IMPLEMENTED for the unimplemented port functions. 2006-05-10 11:20:09 +02:00
Robert Shearman e52e4978b2 ntdll: Fix size check for NtQueryInformationToken(TokenGroups).
For NtQueryInformationToken(TokenGroups), don't do a size check before
the server call, as we don't know how many SIDs there are to return
and hence the needed buffer size.
2006-05-05 21:47:27 +02:00
H. Verbeet c1f52e0013 ntdll: Add a stubbed NtSetSystemInformation. 2006-01-20 19:41:04 +01:00
Vitaliy Margolen 978f470692 ntdll: NtQueryInformationToken change parameters according to PSDK.
Check for NULL pointer.
2006-01-12 13:32:09 +01:00
Alexandre Julliard 836d07c369 server: Use attributes instead of inherit flag in token requests.
Also use the specified access rights in the open_token request.
2005-12-09 12:17:19 +01:00
Alexandre Julliard f11d0a375f server: Use attributes instead of inherit flag in snapshot requests. 2005-12-09 12:09:44 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Ivan Leo Puoti e1008c386f Add stub implementation for NtAccessCheckAndAuditAlarm. 2005-10-27 10:25:41 +00:00
Ivan Leo Puoti e4512f0d57 Make a stub actually say "stub". 2005-10-03 18:44:52 +00:00
Mike McCormack b5bd4a101a Fix gcc 4.0 warnings. 2005-09-02 14:47:36 +00:00
Alexandre Julliard a5156dcf40 Added a stub for NtAlertResumeThread. 2005-08-18 11:47:17 +00:00
Robert Shearman 91eaea53ae - Change the default user SID to match what was previously returned by
NtQueryInformationToken.
- Implement TokenUser for NtQueryInformationToken.
- Add a function for getting the user's registry path from a SID.
2005-07-18 13:22:55 +00:00
Alexandre Julliard 9ad5628639 Moved the server start time to the init_thread request and got rid of
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Paul Vriens d5820a0422 Improved stubs to show the correct behavior. 2005-07-05 11:46:37 +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