Merge missing tuff from r51731

- Improve a DPRINT
- Initialize a global variable

svn path=/trunk/; revision=52403
This commit is contained in:
Timo Kreuzer 2011-06-21 14:45:17 +00:00
parent 0fbf8e4374
commit 261c786603
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ SetupCopyFile(PWCHAR SourceFileName,
FILE_SEQUENTIAL_ONLY); FILE_SEQUENTIAL_ONLY);
if(!NT_SUCCESS(Status)) if(!NT_SUCCESS(Status))
{ {
DPRINT1("NtOpenFile failed: %x\n", Status); DPRINT1("NtOpenFile failed: %x, %wZ\n", Status, &FileName);
goto done; goto done;
} }
#else #else

View file

@ -41,7 +41,7 @@ ULONG KeDcacheFlushCount = 0;
ULONG KeIcacheFlushCount = 0; ULONG KeIcacheFlushCount = 0;
ULONG KiDmaIoCoherency = 0; ULONG KiDmaIoCoherency = 0;
ULONG KePrefetchNTAGranularity = 32; ULONG KePrefetchNTAGranularity = 32;
CHAR KeNumberProcessors; CHAR KeNumberProcessors = 0;
KAFFINITY KeActiveProcessors = 1; KAFFINITY KeActiveProcessors = 1;
BOOLEAN KiI386PentiumLockErrataPresent; BOOLEAN KiI386PentiumLockErrataPresent;
BOOLEAN KiSMTProcessorsPresent; BOOLEAN KiSMTProcessorsPresent;