* ReadBlock
@ 2017-08-21 4:57 Ramesh R.
0 siblings, 0 replies; only message in thread
From: Ramesh R. @ 2017-08-21 4:57 UTC (permalink / raw)
To: edk2-devel@lists.01.org
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-21 4:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 4:57 ReadBlock Ramesh R.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox