1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec
2. Make performance data for End of BDS is not recorded in Boot Manager Boot git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2431 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -608,17 +608,7 @@ BotCommandPhase (
|
||||
cbw.dCBWSignature = CBWSIG;
|
||||
cbw.dCBWTag = 0x01;
|
||||
cbw.dCBWDataTransferLength = DataTransferLength;
|
||||
switch (Direction) {
|
||||
case EfiUsbDataOut:
|
||||
case EfiUsbNoData:
|
||||
cbw.bmCBWFlags = 0;
|
||||
break;
|
||||
case EfiUsbDataIn:
|
||||
cbw.bmCBWFlags = 0x80;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
cbw.bmCBWFlags = (UINT8) ((Direction == EfiUsbDataIn) ? 0x80 : 0);
|
||||
cbw.bCBWCBLength = CommandSize;
|
||||
|
||||
CopyMem (cbw.CBWCB, Command, CommandSize);
|
||||
|
Reference in New Issue
Block a user