[edk2] [PATCH] IntelFrameworkPkg FrameworkUefiLib: Fix ASSERT in CatVSPrint

2015-07-28 Thread Hao Wu
The second parameter 'DestMax' of StrCpyS() should be the number of unicode characters, not the size in bytes. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c | 2 +- 1 file changed, 1

[edk2] [PATCH v3 1/2] MdePkg: Modify string expression of Wi-Fi device path to follow UEFI spec

2015-08-27 Thread Hao Wu
According to UEFI 2.5 spec, the string expression of a Wi-Fi device node should be displayed as: Wi-Fi(SSID). However, current code displays it as: WiFi(SSID). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library/UefiDevicePathLib

[edk2] [PATCH v3 0/2] Wi-Fi device path node/text conversion

2015-08-27 Thread Hao Wu
Changes between v2: 1. Fix incorrect data length to copy for CopyMem() function. 2. If the length of the string passed into DevPathFromTextWiFi() is greater than 32, the string will be cut to fit into the size of the SSID field of a Wi-Fi device path node. Hao Wu (2): MdePkg: Modify

[edk2] [PATCH v3 2/2] MdePkg UefiDevicePathLib: Fix possible memory read/write cross boundary

2015-08-27 Thread Hao Wu
The SSID field of a Wi-Fi device path node may not contain a NULL termination. Additonal handle is added to make sure no cross-boundary memory read/write will occur. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library

[edk2] [PATCH] MdePkg: Modify string expression of Wi-Fi device path to follow UEFI spec

2015-08-27 Thread Hao Wu
According to UEFI 2.5 spec, the string expression of a Wi-Fi device node should be displayed as: Wi-Fi(SSID). However, current code displays it as: WiFi(SSID). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library/UefiDevicePathLib

[edk2] [PATCH] MdePkg: Modify string expression of BMC device path to follow UEFI spec

2015-08-26 Thread Hao Wu
According to UEFI 2.5 spec, the string expression of a BMC device node should be displayed as: BMC(Type,Address). However, current code displays it as: Bmc(Type,Address). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library

[edk2] [PATCH v2] MdePkg: Modify string expression of BMC device path to follow UEFI spec

2015-08-27 Thread Hao Wu
Version 1 of the patch misses to make change in DevicePathFromText.c. Hao Wu (1): MdePkg: Modify string expression of BMC device path to follow UEFI spec MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c | 2 +- MdePkg/Library/UefiDevicePathLib/DevicePathToText.c | 2 +- 2 files

[edk2] [PATCH v2] MdePkg: Modify string expression of BMC device path to follow UEFI spec

2015-08-27 Thread Hao Wu
According to UEFI 2.5 spec, the string expression of a BMC device node should be displayed as: BMC(Type,Address). However, current code displays it as: Bmc(Type,Address). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library

[edk2] [PATCH v2 2/2] MdePkg UefiDevicePathLib: Fix possible memory read/write cross boundary

2015-08-27 Thread Hao Wu
The SSID field of a Wi-Fi device path node may not contain a NULL termination. Additonal handle is added to make sure no cross-boundary memory read/write will occur. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library

[edk2] [PATCH v2 0/2] Wi-Fi device path node/text conversion

2015-08-27 Thread Hao Wu
Changes between v1: 1. V1 misses to make 'WiFi' to 'Wi-Fi' change in DevicePathFromText.c. 2. Fix potential memory read/write cross boundary in Wi-Fi device path node/text conversion functions. Hao Wu (2): MdePkg: Modify string expression of Wi-Fi device path to follow UEFI spec MdePkg

[edk2] [PATCH v2 1/2] MdePkg: Modify string expression of Wi-Fi device path to follow UEFI spec

2015-08-27 Thread Hao Wu
According to UEFI 2.5 spec, the string expression of a Wi-Fi device node should be displayed as: Wi-Fi(SSID). However, current code displays it as: WiFi(SSID). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu hao.a...@intel.com --- MdePkg/Library/UefiDevicePathLib

[edk2] [PATCH 3/3] UefiCpuPkg BaseXApic(X2)Lib: Add ASSERT if local APIC not software enabled

2015-09-29 Thread Hao Wu
Add an ASSERT in GetApicTimerState() to check if the local APIC is software enabled. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> Reviewed-by: Jeff Fan <jeff@intel.com> --- UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c

[edk2] [PATCH 1/3] MdePkg: Add ASSERT to handle local APIC not config properly

2015-09-29 Thread Hao Wu
When the local APIC is not configurated properly, function InternalX86GetInitTimerCount() may return zero, which will lead to a divide by zero exception in SecPeiDxeTimerLibCpu. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> Reviewed-by

[edk2] [PATCH 0/3] Add error handling for local APIC timer

2015-09-29 Thread Hao Wu
timer is not running). Hao Wu (3): MdePkg: Add ASSERT to handle local APIC not config properly UefiCpuPkg: Add ASSERT to handle local APIC not config properly UefiCpuPkg BaseXApic(X2)Lib: Add ASSERT if local APIC not software enabled MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c | 39

[edk2] [PATCH v3 2/4] MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support

2015-12-07 Thread Hao Wu
Together with EFI_BLOCK_IO_PROTOCOL, EFI_BLOCK_IO2_PROTOCOL is installed as well in ScsiDiskDxe. Block I/O 2 functions are implemented: Reset ReadBlocksEx WriteBlocksEx FlushBlocksEx Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.

[edk2] [PATCH v3 1/4] MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command

2015-12-07 Thread Hao Wu
functions will call the non-EX version couterparts to execute blocking SCSI I/O. When 'Event' is not NULL, non-blocking I/O operation is executed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Library/UefiScsiLib.h

[edk2] [PATCH v3 0/4] Add BlockIO2 support for UFS

2015-12-07 Thread Hao Wu
I/O requests in the async I/O queue and cleanup resources allocated by those requests. Hao Wu (4): MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support MdeModulePkg UfsPassThruDxe: Add Non-blocking I/O S

[edk2] [PATCH v3 3/4] MdeModulePkg UfsPassThruDxe: Add Non-blocking I/O Support

2015-12-07 Thread Hao Wu
Previously, UfsPassThruPassThru function does not handle the 'Event' parameter and blocking read/write operations are always executed. This commit enables non-blocking read/write feature for UFS devices. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <ha

[edk2] [PATCH v3 4/4] MdeModulePkg ScsiBusDxe: Fix caller event may nerver be signaled

2015-12-07 Thread Hao Wu
-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 46 -- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModuleP

[edk2] [PATCH v2 1/4] MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command

2015-12-02 Thread Hao Wu
functions will call the non-EX version couterparts to execute blocking SCSI I/O. When 'Event' is not NULL, non-blocking I/O operation is executed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Library/UefiScsiLib.h

[edk2] [PATCH v2 3/4] MdeModulePkg UfsPassThruDxe: Add Non-blocking I/O Support

2015-12-02 Thread Hao Wu
Previously, UfsPassThruPassThru function does not handle the 'Event' parameter and blocking read/write operations are always executed. This commit enables non-blocking read/write feature for UFS devices. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <ha

[edk2] [PATCH v2 0/4] Add BlockIO2 support for UFS

2015-12-02 Thread Hao Wu
polls the result of asynchronous I/O in UfsPassThruDriverBindingStop(). Hao Wu (4): MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support MdeModulePkg UfsPassThruDxe: Add Non-blocking I/O Support MdeModulePkg ScsiBusDx

[edk2] [PATCH v2 4/4] MdeModulePkg ScsiBusDxe: Fix caller event may nerver be signaled

2015-12-02 Thread Hao Wu
-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 44 -- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModuleP

[edk2] [PATCH v2 2/4] MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support

2015-12-02 Thread Hao Wu
Together with EFI_BLOCK_IO_PROTOCOL, EFI_BLOCK_IO2_PROTOCOL is installed as well in ScsiDiskDxe. Block I/O 2 functions are implemented: Reset ReadBlocksEx WriteBlocksEx FlushBlocksEx Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.

[edk2] [PATCH] MdeModulePkg UfsPassThru: ASSERT if params are NULL in SignalCallerEvent

2015-12-13 Thread Hao Wu
: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c b/MdeModulePkg/Bus/Ufs/UfsPassT

[edk2] [PATCH 6/8] NetworkPkg IpSecDxe: Fix a typo in function description

2016-01-03 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- NetworkPkg/IpSecDxe/IpSecImpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkPkg/IpSecDxe/IpSecImpl.c b/NetworkPkg/IpSecDxe/IpSecImpl.c index 6df83ec..8

[edk2] [PATCH 7/8] NetworkPkg IScsiDxe: Fix typos in function descriptions

2016-01-03 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- NetworkPkg/IScsiDxe/IScsiMisc.c | 2 +- NetworkPkg/IScsiDxe/IScsiMisc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c b/Netw

[edk2] [PATCH] BaseTools: Fix 'caculate' typos

2016-01-04 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- BaseTools/Source/C/GenBootSector/GenBootSector.c | 2 +- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Bas

[edk2] [PATCH] MdeModulePkg: Fix 'accroding' typos in MdeModulePkg.dec/.uni

2016-01-04 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 8 MdeModulePkg/MdeModulePkg.uni | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg

[edk2] [PATCH] MdeModulePkg BaseSerialPortLib: Fix VS2010 build error

2016-01-06 Thread Hao Wu
-off-by: Hao Wu <hao.a...@intel.com> --- .../Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c| 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c b/MdeModulePkg/Library/BaseSerialPortLi

[edk2] [PATCH 2/2] PcAtChipsetPkg SerialIoLib: Fix VS2010 build error

2016-01-07 Thread Hao Wu
noCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c b/PcAtChipsetPkg/Library

[edk2] [PATCH 0/2] Fix VS2010 build error when '/GL-' option is used

2016-01-07 Thread Hao Wu
When overriding compiler options '/GL' with '/GL-', VS2010 will report warning C4701 potentially uninitialized local variable in SerialPort libraries. Hao Wu (2): MdeModulePkg BaseSerialPortLib: Fix VS2010 build error PcAtChipsetPkg SerialIoLib: Fix VS2010 build error

[edk2] [PATCH 1/2] MdeModulePkg BaseSerialPortLib: Fix VS2010 build error

2016-01-07 Thread Hao Wu
noCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- .../Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortL

[edk2] [PATCH 1/3] MdeModulePkg ScsiDiskDxe: Set block I/O media of SCSI CDROM to read-only

2015-12-21 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/Scsi

[edk2] [PATCH 2/3] MdeModulePkg ScsiDiskDxe: Modify FlushBlocksEx() to follow UEFI spec

2015-12-21 Thread Hao Wu
. Corresponding status will be returned according to the check result. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 71 +--- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.

[edk2] [PATCH 3/3] MdeModulePkg ScsiDiskDxe: Modify WriteBlocks(Ex)() to follow UEFI spec

2015-12-21 Thread Hao Wu
The functions ScsiDiskWriteBlocks(Ex) in ScsiDiskDxe/ScsiDisk.c do not check whether the device is allow to be written originally. This commit will add read-only check to follow the UEFI spec. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.

[edk2] [PATCH 0/3] ScsiDiskDxe: Modify BlockIo(2) APIs to follow spec

2015-12-21 Thread Hao Wu
is added. Hao Wu (3): MdeModulePkg ScsiDiskDxe: Set block I/O media of SCSI CDROM to read-only MdeModulePkg ScsiDiskDxe: Modify FlushBlocksEx() to follow UEFI spec MdeModulePkg ScsiDiskDxe: Modify WriteBlocks(Ex)() to follow UEFI spec MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 82

[edk2] [PATCH 8/8] SecurityPkg Tcg2Pei: Fix a typo in function description

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c index 6

[edk2] [PATCH 2/8] MdeModulePkg Core/Dxe/Misc: Fix typos in function descriptions

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c b/MdeModulePkg/Core/Dx

[edk2] [PATCH 5/8] MdeModulePkg IScsiDxe: Fix a typo in function description

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.c b/MdeMod

[edk2] [PATCH 1/8] MdeModulePkg UhciDxe: Fix a typo in function description

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c index 1

[edk2] [PATCH 7/8] NetworkPkg IScsiDxe: Fix typos in function descriptions

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- NetworkPkg/IScsiDxe/IScsiMisc.c | 2 +- NetworkPkg/IScsiDxe/IScsiMisc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c b/Netw

[edk2] [PATCH 0/8] Fix typo for 'accroding' to 'according'

2015-12-24 Thread Hao Wu
Fix 'accroding' typos in function descriptions. Hao Wu (8): MdeModulePkg UhciDxe: Fix a typo in function description MdeModulePkg Core/Dxe/Misc: Fix typos in function descriptions MdeModulePkg DxeHttpLib: Fix typos in function descriptions MdeModulePkg AcpiTableDxe: Fix a typo in function

[edk2] [PATCH 6/8] NetworkPkg IpSecDxe: Fix a typo in function description

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- NetworkPkg/IpSecDxe/IpSecImpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkPkg/IpSecDxe/IpSecImpl.c b/NetworkPkg/IpSecDxe/IpSecImpl.c index 6df83ec..8

[edk2] [PATCH 4/8] MdeModulePkg AcpiTableDxe: Fix a typo in function description

2015-12-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlOption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlOption.c b/MdeMod

[edk2] [PATCH] MdeModulePkg ScsiDiskDxe: Fix async request retry times info lost issue

2015-12-21 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 24 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h | 8 2 files changed, 32 insertions(+) diff

[edk2] [PATCH 2/3] MdePkg UefiScsiLib: Close event when SCSI command fails

2015-12-21 Thread Hao Wu
The ScsiExecuteSCSICommand() function in ScsiBusDxe driver will not signal the event passed from UefiScsiLib when error occurs. In this case, UefiScsiLib should close the event passing to ScsiExecuteSCSICommand(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu

[edk2] [PATCH 0/3] Not signal caller event when async SCSI I/O cmd fails

2015-12-21 Thread Hao Wu
d when error status is returned. Therefore, this patch series will modify the behavior of ScsiDiskDxe, UefiScsiLib and ScsiBusDxe to follow the spec. Hao Wu (3): MdeModulePkg ScsiBusDxe: Only signal caller event when PassThru() succeeds MdePkg UefiScsiLib: Close event when SCSI c

[edk2] [PATCH 1/3] MdeModulePkg ScsiBusDxe: Only signal caller event when PassThru() succeeds

2015-12-21 Thread Hao Wu
caller event only when the SCSI command succeeds. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Bu

[edk2] [PATCH 3/3] MdeModulePkg ScsiDiskDxe: Close event when SCSI command fails

2015-12-21 Thread Hao Wu
-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 24 1 file changed, 24 insertions(+) diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiD

[edk2] [PATCH] MdeModulePkg DiskIoDxe: Check for MediaPresent in DiskIo2ReadWriteDisk()

2015-12-21 Thread Hao Wu
Add check to see if there is a media in the disk device. If not return EFI_NO_MEDIA directly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c | 4 1 file changed, 4 insertions(+)

[edk2] [PATCH 3/4] MdeModulePkg ScsiBusDxe: Raise the Tpl of async IO callback to TPL_NOTIFY

2015-12-21 Thread Hao Wu
Raise the Tpl of async SCSI I/O callback function to TPL_NOTIFY to match the behavior in ScsiDiskDxe driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 2 +- 1 file changed, 1 insertion

[edk2] [PATCH 2/4] MdePkg UefiScsiLib: Raise the Tpl of async IO callback to TPL_NOTIFY

2015-12-21 Thread Hao Wu
Raise the Tpl of async SCSI I/O callback function to TPL_NOTIFY to match the behavior in ScsiDiskDxe driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Library/UefiScsiLib/UefiScsiLib.c | 8 1 file changed, 4 inse

[edk2] [PATCH 4/4] MdeModulePkg UfsPassThruDxe: Raise to TPL_NOTIFY when dealing async task

2015-12-21 Thread Hao Wu
: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c| 2 +- MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/B

[edk2] [PATCH 1/4] MdeModulePkg ScsiDiskDxe: Raise the Tpl of async IO callback to TPL_NOTIFY

2015-12-21 Thread Hao Wu
ly for the event created by ScsiDiskDxe of Sub-task 1 to signal. Hence, this commit will raise the Tpl of async IO callback in ScsiDiskDxe to TPL_NOTIFY so that the indefinite wait in DiskIoDxe can be avoided. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ha

[edk2] [PATCH 0/4] Raise Tpl to TPL_NOTIFY when dealing SCSI async I/O

2015-12-21 Thread Hao Wu
FY when processing async SCSI task list. Hao Wu (4): MdeModulePkg ScsiDiskDxe: Raise the Tpl of async IO callback to TPL_NOTIFY MdePkg UefiScsiLib: Raise the Tpl of async IO callback to TPL_NOTIFY MdeModulePkg ScsiBusDxe: Raise the Tpl of async IO callback to TPL_NOTIFY MdeModuleP

[edk2] [PATCH] MdeModulePkg ScsiDiskDxe: Add retry scheme for async SCSI I/O command

2015-12-21 Thread Hao Wu
-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 66 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c index 4725cf4..2d6d7e3

[edk2] [PATCH 2/4] MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support

2015-12-01 Thread Hao Wu
Together with EFI_BLOCK_IO_PROTOCOL, EFI_BLOCK_IO2_PROTOCOL is installed as well in ScsiDiskDxe. Block I/O 2 functions are implemented: Reset ReadBlocksEx WriteBlocksEx FlushBlocksEx Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.

[edk2] [PATCH 1/4] MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command

2015-12-01 Thread Hao Wu
functions will call the non-EX version couterparts to execute blocking SCSI I/O. When 'Event' is not NULL, non-blocking I/O operation is executed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Library/UefiScsiLib.h

[edk2] [PATCH 3/4] MdeModulePkg UfsPassThruDxe: Add Non-blocking I/O Support

2015-12-01 Thread Hao Wu
Previously, UfsPassThruPassThru function does not handle the 'Event' parameter and blocking read/write operations are always executed. This commit enables non-blocking read/write feature for UFS devices. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <ha

[edk2] [PATCH 0/4] Add BlockIO2 support for UFS

2015-12-01 Thread Hao Wu
| | EFI_EXT_SCSI_PASS_THRU_PROTOCOL v |-| | UfsPassThruDxe Driver | |-| Hao Wu (4): MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support MdeModulePkg UfsPassThruDxe: Add Non

[edk2] [PATCH 4/4] MdeModulePkg ScsiBusDxe: Fix caller event may nerver be signaled

2015-12-01 Thread Hao Wu
-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 44 -- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModuleP

[edk2] [PATCH v2 1/2] MdeModulePkg RamDiskDxe: Do not save 'Size' numeric value by varstore

2016-06-06 Thread Hao Wu
will be the default value (EFI_PAGE_SIZE). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- .../Universal/Disk/RamDiskDxe/RamDiskHii.vfr | 9 +- .../Universal/Disk/RamDiskDxe/RamDiskImpl.c

[edk2] [PATCH v2 2/2] MdeModulePkg/RamDiskDxe: Add Memory Type selection support in Ramdisk HII

2016-06-06 Thread Hao Wu
From: Tapan Shah Adding an option in HII menu so user can choose memory type to use when creating a RAM Disk in system. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah --- .../Universal/Disk/RamDiskDxe/RamDiskHii.vfr

[edk2] [PATCH v2 0/2] Add Memory Type selection support in Ramdisk HII

2016-06-06 Thread Hao Wu
disk, their values will be back to their default value (i.e. EFI_PAGE_SIZE for 'Size' and RAM_DISK_BOOT_SERVICE_DATA_MEMORY for 'MemoryType'). Therefore, the varstore seems unnecessary here and removing it will help the codes being less confusing. Hao Wu (1): MdeModulePkg RamDiskDxe: Do not save

[edk2] [PATCH] MdeModulePkg NvmExpressDxe: Fix VS2010 build error

2016-05-24 Thread Hao Wu
Potentially uninitialized 'Status' might be returned in functions NvmeCreateIoCompletionQueue() and NvmeCreateIoSubmissionQueue() in file NvmExpressHci.c. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Bus/Pci/NvmExpr

[edk2] [PATCH 09/12] SecurityPkg: Add NOOPT target in SecurityPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- SecurityPkg/SecurityPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index 0908b26..0f1fc0f

[edk2] [PATCH 11/12] SourceLevelDebugPkg: Add NOOPT target in SourceLevelDebugPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc b/SourceLevelDe

[edk2] [PATCH 12/12] UefiCpuPkg: Add NOOPT target in UefiCpuPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- UefiCpuPkg/UefiCpuPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 4061050..31e60bb

[edk2] [PATCH 08/12] PerformancePkg: Add NOOPT target in PerformancePkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- PerformancePkg/PerformancePkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index d

[edk2] [PATCH 05/12] MdePkg: Add NOOPT target in MdePkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/MdePkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 473df4d..1880b3b 100644 --- a/MdePkg/MdePkg.dsc +++ b/

[edk2] [PATCH 00/12] Add NOOPT target in package DSC files

2016-01-17 Thread Hao Wu
Add NOOPT option in BUILD_TARGETS within package DSC files. Hao Wu (12): CryptoPkg: Add NOOPT target in CryptoPkg.dsc IntelFrameworkModulePkg: Add NOOPT target in IntelFrameworkModulePkg.dsc IntelFrameworkPkg: Add NOOPT target in IntelFrameworkPkg.dsc MdeModulePkg: Add NOOPT target

[edk2] [PATCH 07/12] PcAtChipsetPkg: Add NOOPT target in PcAtChipsetPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- PcAtChipsetPkg/PcAtChipsetPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dsc b/PcAtChipsetPkg/PcAtChipsetPkg.dsc index 1

[edk2] [PATCH 10/12] ShellPkg: Add NOOPT target in ShellPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- ShellPkg/ShellPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 7e07cfb..b29adb8 100644 --- a/Sh

[edk2] [PATCH 04/12] MdeModulePkg: Add NOOPT target in MdeModulePkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/MdeModulePkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 0e3e5eb..9c3a034

[edk2] [PATCH 06/12] NetworkPkg: Add NOOPT target in NetworkPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- NetworkPkg/NetworkPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc index 39224f3..0695dc1

[edk2] [PATCH 01/12] CryptoPkg: Add NOOPT target in CryptoPkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- CryptoPkg/CryptoPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc index fdd0431..5ae0e67 100644 --- a/Cry

[edk2] [PATCH 02/12] IntelFrameworkModulePkg: Add NOOPT target in IntelFrameworkModulePkg.dsc

2016-01-17 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.

[edk2] [PATCH] Maintainers.txt: Update maintainers for SourceLevelDebugPkg

2016-01-18 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- Maintainers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Maintainers.txt b/Maintainers.txt index dc0891e..1095fe0 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -191,6

[edk2] [PATCH 2/2] MdePkg: Add EFI Supplicant Protocol definitions

2016-01-31 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Protocol/Supplicant.h | 460 +++ MdePkg/MdePkg.dec| 4 + 2 files changed, 464 insertions(+) create mode 100644

[edk2] [PATCH v2] MdePkg: Update the UEFI version to reflect new revision

2016-01-31 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Uefi/UefiSpec.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 909b8a1..0

[edk2] [PATCH] MdePkg: Update the UEFI version to reflect new revision

2016-01-31 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Uefi/UefiSpec.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 909b8a1..c

[edk2] [PATCH v2 1/2] MdePkg: Add EFI Wireless MAC Connection II Protocol definitions

2016-01-31 Thread Hao Wu
This commit also removes common structure definitions between EFI Wireless MAC Connection Protocol and EFI Wireless MAC Connection II Protocol from WiFi.h and place them in WiFi2.h. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> ---

[edk2] [PATCH v2 2/2] MdePkg: Add EFI Supplicant Protocol definitions

2016-01-31 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Protocol/Supplicant.h | 460 +++ MdePkg/MdePkg.dec| 4 + 2 files changed, 464 insertions(+) create mode 100644

[edk2] [PATCH 0/2] Add definitions for two new UEFI protocols

2016-01-31 Thread Hao Wu
This series will add definition header files for: 1. EFI Wireless MAC Connection II Protocol 2. EFI Supplicant Protocol in MdePkg. Hao Wu (2): MdePkg: Add EFI Wireless MAC Connection II Protocol definitions MdePkg: Add EFI Supplicant Protocol definitions MdePkg/Include/Protocol/Supplicant.h

[edk2] [PATCH 1/2] MdePkg: Add EFI Wireless MAC Connection II Protocol definitions

2016-01-31 Thread Hao Wu
This commit also removes common structure definitions between EFI Wireless MAC Connection Protocol and EFI Wireless MAC Connection II Protocol from WiFi.h and place them in WiFi2.h. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> ---

[edk2] [PATCH 2/2] MdeModulePkg: Add RamDiskDxe driver implementation

2016-02-03 Thread Hao Wu
The RamDiskDxe driver will: 1. Produce the EFI RAM Disk Protocol 2. Install RAM disk device path and block I/O related protocols on the RAM disk device handle. 3. Install RAM disk configuration form to HII database Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu

[edk2] [PATCH 0/2] RAM disk driver implementation

2016-02-03 Thread Hao Wu
available at the following URL: https://github.com/hwu25/edk2/tree/ramdisk Hao Wu (2): MdePkg: Add EFI RAM Disk Protocol definitions MdeModulePkg: Add RamDiskDxe driver implementation MdeModulePkg/Include/Guid/RamDiskHii.h | 25 + MdeModulePkg/MdeModulePkg.dec

[edk2] [PATCH 1/2] MdePkg: Add EFI RAM Disk Protocol definitions

2016-02-03 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Protocol/RamDisk.h | 106 ++ MdePkg/MdePkg.dec | 3 ++ 2 files changed, 109 insertions(+) create mode 100644 MdePkg/I

[edk2] [PATCH v2 1/2] MdeModulePkg: Add RamDiskDxe driver implementation

2016-02-25 Thread Hao Wu
The RamDiskDxe driver will: 1. Produce the EFI RAM Disk Protocol 2. Install RAM disk device path and block I/O related protocols on the RAM disk device handle. 3. Install RAM disk configuration form to HII database Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu

[edk2] [PATCH v2 2/2] MdeModulePkg RamDiskDxe: Install Block I/O 2 Protocol on RAM disk devices

2016-02-25 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- .../Universal/Disk/RamDiskDxe/RamDiskBlockIo.c | 233 - .../Universal/Disk/RamDiskDxe/RamDiskDxe.inf | 1 + .../Universal/Disk/RamDiskDxe/RamDisk

[edk2] [PATCH v2 0/2] RAM disk driver implementation

2016-02-25 Thread Hao Wu
BlockIO2 protocol on RamDiskDxe driver to keep align with UEFI spec requirements. The patch series is also available at the following URL: https://github.com/hwu25/edk2/tree/ramdisk_V2 Hao Wu (2): MdeModulePkg: Add RamDiskDxe driver implementation MdeModulePkg RamDiskDxe: Install Block I/O 2

[edk2] [PATCH] UefiCpuPkg/Cpuid: Fix GCC build error

2016-02-26 Thread Hao Wu
int (L"%5a%42a: %x\n", #Variable, #FieldName, \ Variable.Bits.FieldName); The '.' has its origin meaning as a member operator in the define statement. Thus, the token-pasting operator '##' is not necessary here. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu

[edk2] [PATCH 2/2] IntelFspWrapperPkg: Add NOOPT target in IntelFspWrapperPkg.dsc

2016-01-19 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- IntelFspWrapperPkg/IntelFspWrapperPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFspWrapperPkg/IntelFspWrapperPkg.dsc b/IntelFspWrap

[edk2] [PATCH 0/2] Add NOOPT target in package DSC files

2016-01-19 Thread Hao Wu
Add NOOPT option in BUILD_TARGETS within package DSC files for: IntelFspPkg IntelFspWrapperPkg Hao Wu (2): IntelFspPkg: Add NOOPT target in IntelFspPkg.dsc IntelFspWrapperPkg: Add NOOPT target in IntelFspWrapperPkg.dsc IntelFspPkg/IntelFspPkg.dsc | 4 ++-- IntelFspWrapperPkg

[edk2] [PATCH 1/2] IntelFspPkg: Add NOOPT target in IntelFspPkg.dsc

2016-01-19 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- IntelFspPkg/IntelFspPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFspPkg/IntelFspPkg.dsc b/IntelFspPkg/IntelFspPkg.dsc index c8c604e..f3b5689

[edk2] [PATCH] FatPkg: Add NOOPT target in FatPkg.dsc

2016-01-19 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- FatPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FatPkg.dsc b/FatPkg.dsc index 483bb8d..403f8fa 100644 --- a/FatPkg.dsc +++ b/FatPkg.dsc @@ -4,

[edk2] [PATCH] MdePkg: Add invocation register support in SMM Communication ACPI Table

2016-02-15 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Uefi/UefiAcpiDataTable.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Uefi/UefiAcpiDataTable.h b/MdePkg/Includ

[edk2] [PATCH] MdeModulePkg PartitionDxe: Some ISO images cannot be recognized properly

2016-03-18 Thread Hao Wu
Some ISO images cannot be recognized properly when they are on media whose block size is not 2048 bytes. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c | 12 ++-- 1 file chan

[edk2] [PATCH] MdePkg: Add EFI Erase Block Protocol definitions

2016-04-12 Thread Hao Wu
This protocol is newly introduced in UEFI 2.6 spec. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a...@intel.com> --- MdePkg/Include/Protocol/EraseBlock.h | 105 +++ MdePkg/MdePkg.dec| 3 + 2 files c

  1   2   3   4   5   6   >