X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fboot%2Ffreeldr%2Ffreeldr%2Farch%2Fi386%2Fpcdisk.c;h=0a89a84796b360c2137bbedf99078cf77ef75509;hp=c0eeb0b7d41a5f5036478077e74487750412d14e;hb=520f69199573f989be93bc6635260569207a2e78;hpb=0f49f63b6367ea1c05fb4cf262fdca25d6bd6207 diff --git a/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c b/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c index c0eeb0b7d41..0a89a84796b 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c +++ b/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c @@ -279,18 +279,6 @@ static BOOLEAN PcDiskInt13ExtensionsSupported(ULONG DriveNumber) return LastSupported; } - // Some BIOSes report that extended disk access functions are not supported - // when booting from a CD (e.g. Phoenix BIOS v6.00PG and Insyde BIOS shipping - // with Intel Macs). Therefore we just return TRUE if we're booting from a CD - - // we can assume that all El Torito capable BIOSes support INT 13 extensions. - // We simply detect whether we're booting from CD by checking whether the drive - // number is >= 0x90. It's 0x90 on the Insyde BIOS, and 0x9F on most other BIOSes. - if (DriveNumber >= 0x90) - { - LastSupported = TRUE; - return TRUE; - } - LastDriveNumber = DriveNumber; // IBM/MS INT 13 Extensions - INSTALLATION CHECK @@ -338,15 +326,6 @@ static BOOLEAN PcDiskInt13ExtensionsSupported(ULONG DriveNumber) return FALSE; } - if (!(RegsOut.w.cx & 0x0001)) - { - // CX = API subset support bitmap - // Bit 0, extended disk access functions (AH=42h-44h,47h,48h) supported - printf("Suspicious API subset support bitmap 0x%x on device 0x%lx\n", RegsOut.w.cx, DriveNumber); - LastSupported = FALSE; - return FALSE; - } - LastSupported = TRUE; return TRUE; }