mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:02:59 +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 */
|
/* Now calculate the checksum */
|
||||||
for (i = 0; i < 2048 / sizeof(ULONG); i++) CheckSum += Buffer[i];
|
for (i = 0; i < 2048 / sizeof(ULONG); i++) CheckSum += Buffer[i];
|
||||||
|
|
||||||
|
#ifndef _M_AMD64
|
||||||
if (KeRosLoaderBlock) goto freeldrhack;
|
if (KeRosLoaderBlock) goto freeldrhack;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Search if this device is the actual boot CD */
|
/* Search if this device is the actual boot CD */
|
||||||
for (NextEntry = ArcDiskInfo->DiskSignatureListHead.Flink;
|
for (NextEntry = ArcDiskInfo->DiskSignatureListHead.Flink;
|
||||||
|
@ -375,7 +377,9 @@ IopAssignArcNamesToCdrom(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||||
}
|
}
|
||||||
goto checkbootcd;
|
goto checkbootcd;
|
||||||
|
|
||||||
|
#ifndef _M_AMD64
|
||||||
freeldrhack:
|
freeldrhack:
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* FIXME: In normal conditions, NTLDR/FreeLdr sends the *proper* CDROM
|
* FIXME: In normal conditions, NTLDR/FreeLdr sends the *proper* CDROM
|
||||||
* ARC Path name, and what happens here is a comparision of both checksums
|
* ARC Path name, and what happens here is a comparision of both checksums
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue