Author: tkreuzer
Date: Fri Jul 23 22:40:13 2010
New Revision: 48217
URL:
http://svn.reactos.org/svn/reactos?rev=48217&view=rev
Log:
[NTOSKRNL]
Don't use freeldrhack on amd64
Modified:
trunk/reactos/ntoskrnl/io/iomgr/arcname.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/arcname.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/arcname.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/arcname.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/arcname.c [iso-8859-1] Fri Jul 23 22:40:13 2010
@@ -354,7 +354,9 @@
/* 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 @@
}
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