summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-05-26 09:06:04 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-06-02 10:25:58 +0800
commit43b9d23dd34a9bdb4007d270e9db35491a261d02 (patch)
tree42f0af5225aa0ed7149b7fc730f95a6639fe49df /BaseTools
parentc6ca1c011b154d968be4462ed4a84b815dfea2c6 (diff)
downloadedk2-43b9d23dd34a9bdb4007d270e9db35491a261d02.tar.gz
edk2-43b9d23dd34a9bdb4007d270e9db35491a261d02.tar.bz2
edk2-43b9d23dd34a9bdb4007d270e9db35491a261d02.zip
MdeModulePkg: Fix SNP.Initialize() spec conformance issue
v2: *Refine the coding style according edk2 community's feedback. Current SNP UNDI Initialize command does not follow the UEFI Spec to update the SNP MediaPresent field. The result for the Initialize command execution check should be: StatFlags: (1) Monitor the upper two bits (14 & 15) in the field to know whether the command has been executed by the UNDI (Not started, Queued, Error, Complete). (2) Check the other field to see if there is an active connection to this network device (used to update MediaPresent). StatCode: After command execution completes, either successfully or not, this field contains the result of the command execution (success or failure). This patch is used to fix it. NOTE: If any UNDI driver does not follow the UEFI Spec for the media status update, it may meet failure with this more conditions check (StatFlags). Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions