aboutsummaryrefslogtreecommitdiff
path: root/projects/ich9gen/sources/src/common/x86compatibility.c
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-12-29 00:40:00 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2018-12-29 00:50:47 -0500
commit9f5d89440e5219d9aef61461cc3ac6a90baccc9c (patch)
treec4f4750fb0fd678d17bf858e308deb78169e67a9 /projects/ich9gen/sources/src/common/x86compatibility.c
parentdacd26cb9014cd70dc6ddd73f692f4a08ac3db9f (diff)
downloadlibrebootfr-9f5d89440e5219d9aef61461cc3ac6a90baccc9c.tar.gz
librebootfr-9f5d89440e5219d9aef61461cc3ac6a90baccc9c.zip
Copy correct number of bytes for floppy BPB
The Bios Parameter Block (BPB) is 51 bytes, not 52. As-is, the first byte of executable code from the floppy image boot record is copied along with the BPB to boot.img; this extra byte isn't harmful to leave in since execution begins at offset 0x63+2 rather than 0x3C+2, but is a little messy.
Diffstat (limited to 'projects/ich9gen/sources/src/common/x86compatibility.c')
0 files changed, 0 insertions, 0 deletions