reactos/boot/freeldr
Hermès Bélusca-Maïto 4190b48924
[FREELDR] Fix the seg:off values when dumping the extended drive parameters (#7367)
(By the way, it's "EDD": "Enhanced Disk Drive", not "EED"...)

The 13th and 14th USHORTs (at offsets 0x1A-0x1D) in the retrieved buffer
from the INT 13h, AH=48h "Get Extended Drive Parameters" function,
correspond respectively to the offset and the segment of the "EDD
configuration parameters", see http://www.ctyme.com/intr/rb-0715.htm

Fixes code introduced in commit b3f11cfb38 (r17484).

----

16 years ago, these values were wrongly stored in the returned buffer
by VirtualBox, see https://www.virtualbox.org/ticket/2848 .
This has been fixed since VBox 2.1.0 in commit 15712 (22 Dec. 2008):
https://www.virtualbox.org/changeset/15712/vbox
This problem was also noticed earlier (07 Mar. 2008) and fixed in Xen:
https://lists.xenproject.org/archives/html/xen-devel/2008-03/msg00229.html

This bug originated from Bochs, from which the two projects above
adapted their rombios.c code. It was fixed on 08-09 Oct. 2007 by
Myles Watson, see https://sourceforge.net/p/bochs/mailman/message/13777090/
and included in Bochs 1.15x and 1.185+
https://sourceforge.net/p/bochs/mailman/message/12953093/
https://sourceforge.net/p/bochs/mailman/message/12953094/
2024-09-25 13:05:07 +02:00
..
bootsect [BOOTSECT][FREELDR] Support booting from NTFS partitions (#3416) 2023-08-17 15:07:59 +02:00
fdebug [TRANSLATION] Improve Simplified Chinese (zh-CN) translation (#4513) 2022-05-20 15:38:24 +03:00
freeldr [FREELDR] Fix the seg:off values when dumping the extended drive parameters (#7367) 2024-09-25 13:05:07 +02:00
install [FREELDR][INSTALL][FDEBUG] Include FreeLDR tools in LiveCD and HybridCD (#2550) 2020-04-15 12:37:21 +02:00
tools
CMakeLists.txt
FREELDR.INI [FREELDR] Merge boot-drive and partition functionalities together (#6760) 2024-04-19 21:45:41 +02:00
notes.txt