diff options
Diffstat (limited to 'src/dev/arm/ufs_device.hh')
-rw-r--r-- | src/dev/arm/ufs_device.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dev/arm/ufs_device.hh b/src/dev/arm/ufs_device.hh index 69abc2741..97b9693ce 100644 --- a/src/dev/arm/ufs_device.hh +++ b/src/dev/arm/ufs_device.hh @@ -373,6 +373,10 @@ class UFSHostDevice : public DmaDevice * build a SCSI reply. */ struct SCSIReply { + void reset() { + memset(static_cast<void*>(this), 0, sizeof(*this)); + } + uint8_t status; uint32_t msgSize; uint8_t LUN; |