Please sign in to comment.
[FREELDR] Addendum / actual fix for ef76709
According to the Advanced RISC Computing Specification v1.2, for partitions, StartingAddress and EndingAddress are the start and end positions of the partition in terms of byte offsets from the start of the disk. CurrentAddress is the current offset into (i.e. relative to) the partition. Fix also the FAT filesystem in accordance. - FIXME fix: Retrieve the size of the disk in number of sectors in DiskOpen(). - Add extra validity checks in the DiskSeek() functions. - Explicitly call PcDisk* functions in machpc.c and pcdisk.c, and XboxDisk* functions in machxbox.c (the code in these files is not called cross-platform). CORE-16216 CORE-16248
- Loading branch information...
Showing with 54 additions and 17 deletions.