UsbMassBoot: treat all USB drives as removable
This commit is contained in:
@@ -390,7 +390,7 @@ UsbBootInquiry (
|
|||||||
// from the inquiry data.
|
// from the inquiry data.
|
||||||
//
|
//
|
||||||
UsbMass->Pdt = (UINT8) (USB_BOOT_PDT (UsbMass->InquiryData.Pdt));
|
UsbMass->Pdt = (UINT8) (USB_BOOT_PDT (UsbMass->InquiryData.Pdt));
|
||||||
Media->RemovableMedia = (BOOLEAN) (USB_BOOT_REMOVABLE (UsbMass->InquiryData.Removable));
|
Media->RemovableMedia = TRUE;
|
||||||
//
|
//
|
||||||
// Set block size to the default value of 512 Bytes, in case no media is present at first time.
|
// Set block size to the default value of 512 Bytes, in case no media is present at first time.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user