mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:43:04 +00:00
[NTOSKRNL]
Don't use freeldrhack on amd64 svn path=/trunk/; revision=48217
This commit is contained in:
parent
59081046c2
commit
56f8b1717a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue