Index: embios/trunk/tools/libembios.py |
— | — | @@ -609,7 +609,7 @@ |
610 | 610 | @command(timeout = 50000)
|
611 | 611 | def storage_read_sectors_md(self, volume, sector, count, addr):
|
612 | 612 | """ Read sectors from as storage device """
|
613 | | - result = self.lib.monitorcommand(struct.pack("IIQIIII", 28, volume, sector, count, addr, 0, 0), "III", ("rc", None, None, None))
|
| 613 | + result = self.lib.monitorcommand(struct.pack("IIQIIII", 28, volume, sector, count, addr, 0, 0), "III", ("rc", None, None))
|
614 | 614 | if result.rc > 0x80000000:
|
615 | 615 | raise DeviceError("storage_read_sectors_md(volume=%d, sector=%d, count=%d, addr=0x%08X) failed with RC 0x%08X" % (volume, sector, count, addr, rc))
|
616 | 616 |
|
— | — | @@ -616,7 +616,7 @@ |
617 | 617 | @command(timeout = 50000)
|
618 | 618 | def storage_write_sectors_md(self, volume, sector, count, addr):
|
619 | 619 | """ Read sectors from as storage device """
|
620 | | - result = self.lib.monitorcommand(struct.pack("IIQIIII", 29, volume, sector, count, addr, 0, 0), "III", ("rc", None, None, None))
|
| 620 | + result = self.lib.monitorcommand(struct.pack("IIQIIII", 29, volume, sector, count, addr, 0, 0), "III", ("rc", None, None))
|
621 | 621 | if result.rc > 0x80000000:
|
622 | 622 | raise DeviceError("storage_read_sectors_md(volume=%d, sector=%d, count=%d, addr=0x%08X) failed with RC 0x%08X" % (volume, sector, count, addr, rc))
|
623 | 623 |
|