diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2018-12-29 00:40:00 -0500 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2018-12-29 00:50:47 -0500 |
commit | 9f5d89440e5219d9aef61461cc3ac6a90baccc9c (patch) | |
tree | c4f4750fb0fd678d17bf858e308deb78169e67a9 /projects/cros-ec/patches/nyan/0003-Don-t-declare-functions-inline-that-aren-t-always-de.patch | |
parent | dacd26cb9014cd70dc6ddd73f692f4a08ac3db9f (diff) | |
download | librebootfr-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/cros-ec/patches/nyan/0003-Don-t-declare-functions-inline-that-aren-t-always-de.patch')
0 files changed, 0 insertions, 0 deletions