[FREELDR]
authorColin Finck <colin@reactos.org>
Wed, 3 May 2017 14:53:57 +0000 (14:53 +0000)
committerColin Finck <colin@reactos.org>
Wed, 3 May 2017 14:53:57 +0000 (14:53 +0000)
commit11cbbbb746f265781c77d8c3fd353f78df42104d
tree37ab66f2b374b6b7ad38b7d8711788762af71f48
parent895f97e0a2fe1f98ba343d886b814acb49a30392
[FREELDR]
Set BootPartition (DH) to 0xFF in isoboot.S when booting from CD.
Then check for that 0xFF value in FreeLdr to unambiguously detect CD booting instead of using BIOS functions (which don't work reliably on broken BIOSes) or checking for an MBR (which doesn't work on hybrid ISOs).

CORE-12692

svn path=/trunk/; revision=74460
reactos/boot/freeldr/bootsect/isoboot.S
reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c
reactos/boot/freeldr/freeldr/disk/disk.c