Alexandre Julliard
71aba33fc6
kernel32: Move system information functions to kernelbase.
2019-11-19 23:15:04 +01:00
Alexandre Julliard
14fbecee65
kernel32: Add set_ntstatus() helper.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-01 09:43:27 +02:00
Alexandre Julliard
eac5395fb4
kernel32: Move some misc functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 19:36:10 +02:00
Alexandre Julliard
a311140f93
kernel32: Move QueryPerformanceCounter/Frequency functions to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:55 +02:00
Steven Bell
d97f33f034
kernel32: Add stub implementation of EnumSystemFirmwareTables.
...
A recent change to the game Everquest adds a call to EnumSystemFirmwareTables.
Signed-off-by: Steven Bell <bell.steven@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 21:29:36 +02:00
Alexandre Julliard
32582a780e
kernel32: Simplify K32GetPerformanceInfo().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:26 +02:00
Alexandre Julliard
b61d425502
ntdll: Implement RtlIsProcessorFeaturePresent().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 17:33:37 +01:00
André Hentschel
014f9c0929
kernel32: Add stub case for ARM64 in GetSystemInfo.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46092
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Alex Henrie
8fae94c57a
kernel32: Implement GetMaximumProcessorCount.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45961
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 09:56:18 +01:00
Alex Henrie
93711aee1f
kernel32: Connect GetSystemFirmwareTable to NtQuerySystemInformation.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:53 +02:00
Nikolay Sivov
cb05be7bff
kernel32: Add GetEnabledXStateFeatures() stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:25:51 +01:00
Austin English
66b37c556c
kernel32: Add GetActiveProcessorCount stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 17:54:14 +02:00
Austin English
360e9544bf
kernel32: Add GetActiveProcessorGroupCount stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 17:53:11 +02:00
Akihiro Sagawa
7a9b36ca11
kernel32: Fix typo of i386 macro name in GetLargePageMinimum().
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-20 20:06:38 +09:00
Austin English
7dca3d139c
kernel32: Implement GetLargePageMinimum for arm.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 22:27:49 +09:00
Austin English
4d313e6475
kernel32: Implement GetLargePageMinimum.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:19 +09:00
Sebastian Lackner
4032eef90f
kernel32: Fix implementation of K32GetPerformanceInfo.
2014-11-14 17:11:38 +09:00
Alexandre Julliard
62f22dd4e3
kernel32: Retrieve the system info from ntdll on startup.
2013-01-09 12:15:22 +01:00
James Eder
10ff9b4f13
kernel32: Remove outdated comment.
2012-09-07 12:23:30 +02:00
James Eder
7e8a5490bd
kernel32: Use PROCESSOR_FEATURE_MAX in IsProcessorFeaturePresent.
2012-09-07 12:23:30 +02:00
André Hentschel
4f1aae76af
kernel32: Set dwProcessorType on ARM.
2011-06-16 11:15:58 +02:00
André Hentschel
8a8a700513
kernel32: Initialise dwProcessorType.
2011-06-16 11:15:40 +02:00
Jacek Caban
e4ffd1f834
kernel32: Moved GetPerformanceInfo implementation to kernel32.
2011-05-16 16:35:36 +02:00
Paul Vriens
f3b4bd2bbc
kernel32: Return the correct processor arch and type in wow64 mode.
2010-05-13 11:51:11 +02:00
Eric Pouech
409033cb6a
kernel32: Added proper support for GetSystemInfo on x86_64.
2010-04-16 16:54:30 +02:00
Michael Stefaniuc
a8c19696f1
kernel32: Add missing stdarg.h include.
...
This fixes a compile breakage with older gcc versions.
2009-09-23 12:33:25 +02:00
Eric Pouech
e1e9f5993f
kernel32: Rewrite GetSystemInfo() purely on ntdll calls.
2009-09-22 16:54:59 +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
0bf33d6ac2
kernel32: Store the process features flag in the KUSER_SHARED_DATA structure.
2009-09-22 16:51:11 +02:00
Eric Pouech
f6ceedf6dd
ntdll: In SYSTEM_BASIC_INFORMATION, the active processors field refers to the affinity mask.
2009-09-22 16:47:25 +02:00
Alexandre Julliard
2be006e497
ntdll: Fix a couple of system information structures for 64-bit.
2009-08-27 19:47:49 +02:00
Francois Gouget
89c63fd32b
kernel32: Fix some bad left-over uses of value in the CPU detection code.
2009-01-20 12:33:44 +01:00
Austin English
7f3439d556
kernel32: Fix a compiler warning on NetBSD.
2009-01-19 13:36:26 +01:00
Francois Gouget
b881cfc541
kernel32: Fix the sysctl() usage and the CPU detection on NetBSD.
2009-01-09 14:06:13 +01:00
Alexandre Julliard
935a406b27
include: Fix data structures for processor affinity on 64-bit.
2009-01-04 14:47:24 +01:00
Francois Gouget
0a66633ce3
kernel32: Simplify and optimize create_(system,env)_registry_keys().
2008-11-19 12:08:22 +01:00
Alexandre Julliard
3d6313c9ce
ntdll: Return more correct information for SystemBasicInformation and GetSystemInfo.
2008-11-03 13:34:13 +01:00
Alexander Nicolaysen Sørnes
10e9c6bfd1
kernel32: Set processorLevel to cpu family.
2008-03-31 12:14:41 +02:00
Austin English
d5de9977df
kernel32: Spelling fixes.
2008-03-18 11:44:09 +01:00
Andrew Talbot
54a376f228
kernel32: Assign to structs instead of using memcpy.
2008-03-04 11:54:20 +01:00
Alexandre Julliard
3d418add04
kernel32: Fixed the active processor mask on Mac OS.
2008-02-18 14:09:49 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Stefan Leichter
20c0ba2341
kernel32: Silence a fixme in GetNativeSystemInfo.
2007-12-23 14:17:12 +01:00
Gerald Pfeifer
d328c07bd3
kernel32: Fix signedess for FreeBSD-specific implementation of GetSystemInfo().
2007-10-02 11:44:31 +02:00
Andrew Talbot
59651999b3
kernel32: Exclude unused headers.
2007-05-07 20:34:41 +02:00
Alexandre Julliard
a441935c37
kernel32: Better default for dwActiveProcessorMask in GetSystemInfo.
2007-03-30 12:22:13 +02:00
Alexandre Julliard
82274f8b16
kernel32: Implemented GetSystemInfo() for Solaris.
2007-03-08 23:01:03 +01:00
Michael Stefaniuc
22684cc767
janitorial: Remove stray '\' at end of lines.
2007-01-09 12:04:26 +01:00
Francois Gouget
bb8e625b5b
Assorted spelling fixes.
2006-12-05 10:31:47 +01:00
Michael Stefaniuc
8c38b88068
kernel32: Win64 printf format warning fixes.
2006-10-13 12:08:25 +02:00