Hi, SCT expects the EFI_SUCCESS in case if the BufferSize is 0. But at the same time, UEFI Spec has the below statement
" The function must return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even if LBA, BufferSize, or Buffer are invalid so the caller can probe for changes in media state.". EFI_BAD_BUFFER_SIZE The BufferSize parameter is not a multiple of the intrinsic block size of the device. EFI_INVALID_PARAMETER The read request contains LBAs that are not valid, or the buffer is not on proper alignment. Is it possible to make the statement clear ? I mean the error code can be defined more clearly. Please suggest. Thanks, Ramesh _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel