projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0721eb
)
[SMSS] Fix x64 build. Addendum to a0721eb
author
Stanislav Motylkov
<x86corez@gmail.com>
Thu, 26 Nov 2020 00:50:16 +0000
(
03:50
+0300)
committer
Stanislav Motylkov
<x86corez@gmail.com>
Thu, 26 Nov 2020 00:50:16 +0000
(
03:50
+0300)
This part is specific for x86 architecture.
base/system/smss/pagefile.c
patch
|
blob
|
history
diff --git
a/base/system/smss/pagefile.c
b/base/system/smss/pagefile.c
index
0e3b674
..
0aaed6d
100644
(file)
--- a/
base/system/smss/pagefile.c
+++ b/
base/system/smss/pagefile.c
@@
-851,8
+851,12
@@
SmpCreateVolumeDescriptors(VOID)
wcscpy(Buffer, L"\\??\\A:\\");
RtlInitUnicodeString(&VolumePath, Buffer);
+#if defined(_M_IX86)
/* Start with the C drive, except on NEC PC-98 */
StartChar = IsNEC_98 ? L'A' : L'C';
+#else
+ StartChar = L'C';
+#endif
for (Drive = StartChar, DriveDiff = StartChar - L'A'; Drive <= L'Z'; Drive++, DriveDiff++)
{
/* Skip the disk if it's not in the drive map */