From: Ramesh R. <rameshr@ami.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: ReadBlock
Date: Mon, 21 Aug 2017 04:57:32 +0000 [thread overview]
Message-ID: <FCB618580B279147A99F061E09CFF06D0118D296B8@VENUS1.in.megatrends.com> (raw)
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
reply other threads:[~2017-08-21 4:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FCB618580B279147A99F061E09CFF06D0118D296B8@VENUS1.in.megatrends.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox