reactos/boot/freeldr
disean 7c93350e05 [FREELDR] Cache INT13h drive data in pcdisk.c (#2097)
* [FREELDR] Cache the drive geometry in the PcDiskReadLogicalSectorsCHS()

Speed up the loading time a bit.

* [FREELDR] Generalize the cache to all the geometry data + INT 13h extensions-supported status.

The data structure used is "PC_DISK_DRIVE".

- Adapt the associated functions;
- Make DiskGetExtendedDriveParameters() private to pcdisk.c

- Introduce PcDiskDriveNumberToDrive(), that is similar to the XBOX
  function XboxDiskDriveNumberToDeviceUnit(), that retrieves a valid
  pointer to the cached disk corresponding to the given BIOS DriveNumber.
  If needed the cached data gets initialized.

- Make XboxDiskDriveNumberToDeviceUnit() simpler by just returning the
  pointer to the corresponding drive, of NULL if there is none.

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-01-14 04:08:53 +01:00
..
bootsect [CMAKE] Add explicit failure message 2019-08-20 22:28:10 +02:00
fdebug [TRANSLATION] Polish translation update 2019-04-05 10:34:10 +02:00
freeldr [FREELDR] Cache INT13h drive data in pcdisk.c (#2097) 2020-01-14 04:08:53 +01:00
install [FREELDR] Add FreeLdr debug tool GUI program, and FreeLdr command-line installer to the bootcd. 2018-12-10 00:27:58 +01:00
tools
CMakeLists.txt
FREELDR.INI [FREELDR] Update the FREELDR.INI documentation / template. 2019-08-31 01:42:23 +02:00
notes.txt