diff options
| author | Mayank Kumar <mayankkumar@microsoft.com> | 2025-10-09 17:39:20 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-10-16 15:25:52 +0300 |
| commit | c9eb3717b46063e0241970425eea292acf6162f2 (patch) | |
| tree | 79cb808c123a3a83f2b30d4348ca33f99c4236f6 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni | |
| parent | d428ca6fe2ffcddbb39e81cd68d0e7d32c2f360b (diff) | |
| download | edk2-c9eb3717b46063e0241970425eea292acf6162f2.tar.xz | |
MdeModulePkg: ScsiDiskDxe: Query Write Protected State
Currently, only SCSI attached CDROMs are marked as read only
SCSI devices. Write failures have been seen to occur when a
read only disk is attached as a SCSI device, because the device
is never queried for its write protected state and the disk is
listed as writeable.
This adds a new mode sense query to determine if a SCSI disk is
write protected. If so, the proper BlockIO media property is set
to read only, to ensure that all layers know this is a read only
disk.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni')
0 files changed, 0 insertions, 0 deletions
