[FREELDR] Abstract floppy drive detection code (#1735)
authorStanislav Motylkov <x86corez@gmail.com>
Thu, 18 Jul 2019 20:50:48 +0000 (23:50 +0300)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Thu, 18 Jul 2019 20:50:48 +0000 (22:50 +0200)
commit7547f85b7eead1fc4d8d0c70b122fbdb4ee6910d
tree5eb7ecf83b5b8b2ab56b6a327aa67fcf1b1530d0
parentbca8093b89d6abab6cdd719f8e52a86c15794340
[FREELDR] Abstract floppy drive detection code (#1735)

Make floppy detection code machine-specific, because Xbox CMOS cannot be used to detect floppies. Based on a patch by Matt Borgerson.

CORE-16204 CORE-16207

Co-authored-by: Matt Borgerson <contact@mborgerson.com>
boot/freeldr/freeldr/arch/i386/hardware.c
boot/freeldr/freeldr/arch/i386/machpc.c
boot/freeldr/freeldr/arch/i386/machxbox.c
boot/freeldr/freeldr/include/machine.h