Predicting_real_estate_prices_using_scikit-learn icon indicating copy to clipboard operation
Predicting_real_estate_prices_using_scikit-learn copied to clipboard

[FREELDR] Don't load a full FAT12/16 table when loading FREELDR.SYS.

Open HBelusca opened this issue 3 years ago • 1 comments

Purpose

At least the way we currently do it and have our data layed out in memory. Otherwise we risk corrupting either the FAT-loading code, or the contents of FREELDR.SYS being loaded, when said FAT table is quite large.

Supersedes PR #2182.

JIRA issues: CORE-15427, CORE-14558, CORE-16195, CORE-13740

Proposed changes

  • Adapt the simple "cache" code from FAT32.
  • But read two FAT sectors everytime in order to cover the case where one FAT12 entry data crosses sector boundary (since FAT12 entry data is 12 bytes, and therefore NOT byte / 2-byte aligned).

TODO

  • [ ] Fully test this under Bochs+IDA Pro.
  • [ ] Test the FAT16 modifications.

HBelusca avatar Feb 12 '22 15:02 HBelusca