diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-11-04 23:21:42 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-11-07 00:47:52 +0100 |
commit | 21392ef30ddb383445783b1786541015cb937b37 (patch) | |
tree | 42f9be623866441e2eebb33007896e2951e858dd /src/Boot/Windows/BootDiskIo.h | |
parent | dc08b692401afdace6de02d81feb68cbf0752e12 (diff) | |
download | VeraCrypt-21392ef30ddb383445783b1786541015cb937b37.tar.gz VeraCrypt-21392ef30ddb383445783b1786541015cb937b37.zip |
Windows MBR Bootloader: workaround for SSD disks that don't allow write operations in BIOS mode with buffers less than 4096 bytes
Diffstat (limited to 'src/Boot/Windows/BootDiskIo.h')
-rw-r--r-- | src/Boot/Windows/BootDiskIo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Boot/Windows/BootDiskIo.h b/src/Boot/Windows/BootDiskIo.h index d4e8cf04..621acd8f 100644 --- a/src/Boot/Windows/BootDiskIo.h +++ b/src/Boot/Windows/BootDiskIo.h @@ -112,6 +112,7 @@ BiosResult ReadSectors (uint16 bufferSegment, uint16 bufferOffset, byte drive, c BiosResult ReadSectors (byte *buffer, byte drive, const uint64 §or, uint16 sectorCount, bool silent = false); BiosResult ReadSectors (byte *buffer, byte drive, const ChsAddress &chs, byte sectorCount, bool silent = false); BiosResult ReadWriteSectors (bool write, uint16 bufferSegment, uint16 bufferOffset, byte drive, const uint64 §or, uint16 sectorCount, bool silent); +BiosResult ReadWriteSectors (bool write, byte *buffer, byte drive, const uint64 §or, uint16 sectorCount, bool silent); BiosResult WriteSectors (byte *buffer, byte drive, const uint64 §or, uint16 sectorCount, bool silent = false); BiosResult WriteSectors (byte *buffer, byte drive, const ChsAddress &chs, byte sectorCount, bool silent = false); |