[NTOSKRNL]

Don't use freeldrhack on amd64

svn path=/trunk/; revision=48217
This commit is contained in:
Timo Kreuzer 2010-07-23 22:40:13 +00:00
parent 59081046c2
commit 56f8b1717a

View file

@ -354,7 +354,9 @@ IopAssignArcNamesToCdrom(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
/* Now calculate the checksum */
for (i = 0; i < 2048 / sizeof(ULONG); i++) CheckSum += Buffer[i];
#ifndef _M_AMD64
if (KeRosLoaderBlock) goto freeldrhack;
#endif
/* Search if this device is the actual boot CD */
for (NextEntry = ArcDiskInfo->DiskSignatureListHead.Flink;
@ -375,7 +377,9 @@ IopAssignArcNamesToCdrom(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
}
goto checkbootcd;
#ifndef _M_AMD64
freeldrhack:
#endif
/*
* FIXME: In normal conditions, NTLDR/FreeLdr sends the *proper* CDROM
* ARC Path name, and what happens here is a comparision of both checksums