mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Change MaxBlock to HEX value to avoid GCC build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10566 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
13ad1def34
commit
5bf5fb30b4
@ -1618,9 +1618,9 @@ ScsiDiskReadSectors (
|
||||
// limit the data bytes that can be transferred by one Read(10) or Read(16) Command
|
||||
//
|
||||
if (ScsiVersion < SCSI_COMMAND_VERSION_3) {
|
||||
MaxBlock = 65535;
|
||||
MaxBlock = 0xFFFF;
|
||||
} else {
|
||||
MaxBlock = 4294967295;
|
||||
MaxBlock = 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
PtrBuffer = Buffer;
|
||||
@ -1742,9 +1742,9 @@ ScsiDiskWriteSectors (
|
||||
// limit the data bytes that can be transferred by one Read(10) or Read(16) Command
|
||||
//
|
||||
if (ScsiVersion < SCSI_COMMAND_VERSION_3) {
|
||||
MaxBlock = 65535;
|
||||
MaxBlock = 0xFFFF;
|
||||
} else {
|
||||
MaxBlock = 4294967295;
|
||||
MaxBlock = 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
PtrBuffer = Buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user