summary refs log tree commit diff stats
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2017-05-22 23:11:57 +0200
committerKevin Wolf <kwolf@redhat.com>2017-07-10 13:18:05 +0200
commit4dc705dc7e96704df6ae3ba22fc3a3f0d0db7608 (patch)
tree9175743d05d3556759b83c5aa43a4657e5b05f82 /hw/misc/mst_fpga.c
parentad05b31857b8f21c5ea89ba3e470a58c288f1c36 (diff)
downloadfocaccia-qemu-4dc705dc7e96704df6ae3ba22fc3a3f0d0db7608.tar.gz
focaccia-qemu-4dc705dc7e96704df6ae3ba22fc3a3f0d0db7608.zip
vvfat: introduce offset_to_bootsector, offset_to_fat and offset_to_root_dir
- offset_to_bootsector is the number of sectors up to FAT bootsector
- offset_to_fat is the number of sectors up to first File Allocation Table
- offset_to_root_dir is the number of sectors up to root directory sector

Replace first_sectors_number - 1 by offset_to_bootsector.
Replace first_sectors_number by offset_to_fat.
Replace faked_sectors by offset_to_rootdir.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions