]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 years agoAppPkg|Python: Files from the Python 2.7.2 distribution that must be modified to...
darylm503 [Sun, 11 Sep 2011 20:04:18 +0000 (20:04 +0000)]
AppPkg|Python: Files from the Python 2.7.2 distribution that must be modified to build under EDK II.

Signed-off-by: duanev@gmail.com
Reviewed-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12322 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoNetworkPkg/UefiPxeBcDxe: Fix GCC build issue
jljusten [Sat, 10 Sep 2011 00:06:53 +0000 (00:06 +0000)]
NetworkPkg/UefiPxeBcDxe: Fix GCC build issue

The call to AsciiStrStr on line 330 requires a CHAR8*
input, and since strings are being parsed, CHAR8* is
more appropriate for BootFileName and BootFileNamePtr.

Signed-off-by: jljusten
Reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12321 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoShellPkg: Add 3 missing function declaration comments and change a function static...
jcarsey [Fri, 9 Sep 2011 16:57:26 +0000 (16:57 +0000)]
ShellPkg: Add 3 missing function declaration comments and change a function static variable to a file global variable.

Submitted-by: jcarsey
Reviewed-by: geekboy15a
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12317 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/Bds: Minor fixes and coding style changes
oliviermartin [Fri, 9 Sep 2011 10:56:14 +0000 (10:56 +0000)]
ArmPlatformPkg/Bds: Minor fixes and coding style changes

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12316 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/BdsLib: Fix MemMap Device Path node support
oliviermartin [Fri, 9 Sep 2011 10:55:26 +0000 (10:55 +0000)]
ArmPkg/BdsLib: Fix MemMap Device Path node support

The previous version was only checking if the Remaining Device Path node
was a MemMap DevicePath node.
This fix also checks if the Root DevicePath node is a MemMap DevicePath node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12315 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/BdsLib: Move some functions used to create/update BDS Boot Entry from ArmPlatf...
oliviermartin [Fri, 9 Sep 2011 10:54:33 +0000 (10:54 +0000)]
ArmPkg/BdsLib: Move some functions used to create/update BDS Boot Entry from ArmPlatformPkg/Bds to ArmPkg/BdsLib

These functions can be reused by any EFI application to add/update a BDS Boot Entry.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12314 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/BdsLib: Add support to pass argument to a loaded EFI application
oliviermartin [Fri, 9 Sep 2011 10:53:42 +0000 (10:53 +0000)]
ArmPkg/BdsLib: Add support to pass argument to a loaded EFI application

OptionalData argument has to be set in the Loaded Image Protocol of the
new EFI application.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12313 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/BdsLib: Move the Generic BDS_LOAD_OPTION structure from Armplatform/Pkg to...
oliviermartin [Fri, 9 Sep 2011 10:52:31 +0000 (10:52 +0000)]
ArmPkg/BdsLib: Move the Generic BDS_LOAD_OPTION structure from Armplatform/Pkg to ArmPkg/Bds

This structure is defined by the UEFI specification and has a better location in BdsLib.

ArmPlatformPkg/Bds: Encapsulate the BDS_LOAD_OPTION into a list entry structure

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12312 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/Bds: Add a signature in front of the Boot Argument propoer to this Bds
oliviermartin [Fri, 9 Sep 2011 10:51:13 +0000 (10:51 +0000)]
ArmPlatformPkg/Bds: Add a signature in front of the Boot Argument propoer to this Bds

Each application loader has its own OptionalData format. To avoid to start a Boot Entry
that has not been created by ArmPlatform/Bds a signature has been added to the
OptionalData.

ArmPlatformPkg/Bds: Rename some internal structure from BDS_* to ARM_BDS_*

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12311 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/Bds: Get User inputs in Unicode
oliviermartin [Fri, 9 Sep 2011 10:49:54 +0000 (10:49 +0000)]
ArmPlatformPkg/Bds: Get User inputs in Unicode

The user input was getting in Ascii and converted later to Unicode
when required.
In this change, the user inputs are caught in Unicode and converted
to Ascii only when needed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12310 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.
sfu5 [Fri, 9 Sep 2011 08:31:37 +0000 (08:31 +0000)]
1. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.

Signed-off-by: sfu5
Reviewed-by: xdu2
Reviewed-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12309 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. Support netboot6 tftp URL format like tftp://[aaaa::bbbb]/myfile.efi;mode=octet...
sfu5 [Fri, 9 Sep 2011 08:31:08 +0000 (08:31 +0000)]
1. Support netboot6 tftp URL format like tftp://[aaaa::bbbb]/myfile.efi;mode=octet, other mode is rejected.
2. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.

Signed-off-by: sfu5
Reviewed-by: xdu2
Reviewed-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12308 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of SmmScriptL...
hhtian [Fri, 9 Sep 2011 06:01:22 +0000 (06:01 +0000)]
Rename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of SmmScriptLib to keep consistent with SMM_CPU_IO2_PROTOCOL defined in MdePkg.

Signed-off-by: hhtian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12307 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoStdLib: Replace some non-ASCII characters with ASCII equivalents.
darylm503 [Thu, 8 Sep 2011 22:41:36 +0000 (22:41 +0000)]
StdLib: Replace some non-ASCII characters with ASCII equivalents.

Signed-off-by: darylm503
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12302 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoShellPkg: allow for mm command to properly write PCIe in non-interactive mode.
jcarsey [Thu, 8 Sep 2011 16:50:17 +0000 (16:50 +0000)]
ShellPkg: allow for mm command to properly write PCIe in non-interactive mode.

Submitted-by: jcarsey
Reviewed-by: jljusten
Reviewed-by: marothma
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12299 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFixed issue that addition LEFT CTRL key was detected when press PAUSE key. PS2 keybo...
vanjeff [Thu, 8 Sep 2011 03:36:58 +0000 (03:36 +0000)]
Fixed issue that addition LEFT CTRL key was detected when press PAUSE key.  PS2 keyboard driver should consume all bytes of scan code for PAUSE key.

Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12298 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdePkg: Add missing implementation of GetTimeInNanoSecond() to TimerLib library insta...
xdu2 [Thu, 8 Sep 2011 01:34:24 +0000 (01:34 +0000)]
MdePkg: Add missing implementation of GetTimeInNanoSecond() to TimerLib library instance DxeTimerLibEsal.

Signed-off-by: xdu2
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12297 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/CompilerIntrinsicsLib: Add memory intrinsics for RVCT
oliviermartin [Wed, 7 Sep 2011 19:09:39 +0000 (19:09 +0000)]
ArmPkg/CompilerIntrinsicsLib: Add memory intrinsics for RVCT

New intrinsics:  __aeabi_memmove, __aeabi_memset, __aeabi_memclr and __aeabi_memclr4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12293 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEmbeddedPkg/Mmc: Fixed ARMGCC build
oliviermartin [Wed, 7 Sep 2011 10:44:43 +0000 (10:44 +0000)]
EmbeddedPkg/Mmc: Fixed ARMGCC build

Fixed the build error: Redefinition of typedef 'EFI_MMC_HOST_PROTOCOL'

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12291 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync the fix for recovery mode from MdeModulePkg.
gdong1 [Wed, 7 Sep 2011 10:10:11 +0000 (10:10 +0000)]
Sync the fix for recovery mode from MdeModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12290 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMedia detection logic is enhanced to be more robust.
erictian [Wed, 7 Sep 2011 08:11:42 +0000 (08:11 +0000)]
Media detection logic is enhanced to be more robust.

Signed-off-by: erictian
Reviewed-by: hhuan13
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12289 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix typo error in UnixPkg.dsc
erictian [Wed, 7 Sep 2011 05:51:55 +0000 (05:51 +0000)]
Fix typo error in UnixPkg.dsc

Signed-off-by: erictian
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12288 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd "#ifdef ... #define ... #endif" check for the header file.
ydong10 [Wed, 7 Sep 2011 02:42:52 +0000 (02:42 +0000)]
Add "#ifdef ... #define ... #endif" check for the header file.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12287 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up Rules of Platform FDFs to apply only one EFI image and Depex for each driver
oliviermartin [Tue, 6 Sep 2011 18:41:55 +0000 (18:41 +0000)]
Clean up Rules of Platform FDFs to apply only one EFI image and Depex for each driver

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12285 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoChange related:
ydong10 [Tue, 6 Sep 2011 08:45:42 +0000 (08:45 +0000)]
Change related:
1. Refine comments to remove the unrecognized code.
2. Add code to avoid potential data type change.
3. In inf file, add module type to the library class list.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12284 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCheck the pointer before use it.
ydong10 [Tue, 6 Sep 2011 07:05:06 +0000 (07:05 +0000)]
Check the pointer before use it.

Signed-off-by:ydong10
Reviewed-by:vanjeff

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12283 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRefine code to follow coding style.
ydong10 [Mon, 5 Sep 2011 14:17:47 +0000 (14:17 +0000)]
Refine code to follow coding style.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12281 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate capsule pei module to pass IPF build.
li-elvin [Mon, 5 Sep 2011 09:53:37 +0000 (09:53 +0000)]
Update capsule pei module to pass IPF build.

Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12280 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate UnixPkg to use IA32_SEGMENT_DESCRIPTOR defined in BaseLib.h
li-elvin [Mon, 5 Sep 2011 09:52:23 +0000 (09:52 +0000)]
Update UnixPkg to use IA32_SEGMENT_DESCRIPTOR defined in BaseLib.h

Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12279 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix EmulatorPkg build error.
li-elvin [Mon, 5 Sep 2011 09:47:37 +0000 (09:47 +0000)]
Fix EmulatorPkg build error.

Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12278 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix DUET X64 build error.
li-elvin [Mon, 5 Sep 2011 09:46:55 +0000 (09:46 +0000)]
Fix DUET X64 build error.

Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12277 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSupport new format of IPv4 device path node, FibreEx and PcieRoot device path node...
niruiyu [Mon, 5 Sep 2011 04:51:51 +0000 (04:51 +0000)]
Support new format of IPv4 device path node, FibreEx and PcieRoot device path node in DevicepathDxe driver.
Meanwhile, unnecessary (UINTN) typecast is removed and a buffer truncating bug is fixed. The buffer truncating bug may cause DevicePathToText generates wrong text representation if a input device path is too long.

Signed-off-by: niruiyu
Reviewed-by: tye
Reviewed-by: jjin9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12276 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd the definition of new format of IPv4 device path node, FibreEx device path node.
niruiyu [Mon, 5 Sep 2011 04:49:22 +0000 (04:49 +0000)]
Add the definition of new format of IPv4 device path node, FibreEx device path node.

Signed-off-by: niruiyu
Reviewed-by: tye
Reviewed-by: jjin9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12275 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg: Add DxeCapsuleLib
jljusten [Fri, 2 Sep 2011 21:31:02 +0000 (21:31 +0000)]
IntelFrameworkModulePkg: Add DxeCapsuleLib

Signed-off-by: jljusten
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12274 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Remove UefiBootServicesTableLib dependency from DxePrintLibPrint2Protocol.
jcarsey [Fri, 2 Sep 2011 18:27:56 +0000 (18:27 +0000)]
MdeModulePkg: Remove UefiBootServicesTableLib dependency from DxePrintLibPrint2Protocol.

The use of the BootServicesTableLib inside the DxePrintLibPrint2Protocol
allows for potential circular library dependency.

Signed-off-by: jcarsey
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12273 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd generic HPET Timer DXE Driver and support libraries.
mdkinney [Fri, 2 Sep 2011 15:30:54 +0000 (15:30 +0000)]
Add generic HPET Timer DXE Driver and support libraries.
Minor update to logic to prevent writing a the read-only MSI Capability bit with 0 when HPET supports MSIs

Signed-off-by: mdkinney
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12272 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd error debug information for capsule processing in Bds.
li-elvin [Fri, 2 Sep 2011 14:45:30 +0000 (14:45 +0000)]
Add error debug information for capsule processing in Bds.

Signed-off-by: li-elvin
Reviewed-by: lgao4, jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12271 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrect package name
hhtian [Fri, 2 Sep 2011 13:32:52 +0000 (13:32 +0000)]
Correct package name

Signed-off-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12270 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrect package name
hhtian [Fri, 2 Sep 2011 13:31:24 +0000 (13:31 +0000)]
Correct package name

Signed-off-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12269 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoResolve conflicted PCD TokenValue
hhtian [Fri, 2 Sep 2011 13:30:38 +0000 (13:30 +0000)]
Resolve conflicted PCD TokenValue

Signed-off-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12268 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd LockBox null library to make CapsuleRuntimeDxe driver build pass.
li-elvin [Fri, 2 Sep 2011 11:47:38 +0000 (11:47 +0000)]
Add LockBox null library to make CapsuleRuntimeDxe driver build pass.

Signed-off-by: li-elvin
Reviewed-by: lgao4, mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12267 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd LockBox null library to make CapsuleRuntimeDxe driver build pass.
li-elvin [Fri, 2 Sep 2011 11:39:46 +0000 (11:39 +0000)]
Add LockBox null library to make CapsuleRuntimeDxe driver build pass.

Signed-off-by: li-elvin
Reviewed-by: lgao4, mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12266 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMove generic IA32_SEGMENT_DESCRIPTOR definition to BaseLib.h.
li-elvin [Fri, 2 Sep 2011 11:37:50 +0000 (11:37 +0000)]
Move generic IA32_SEGMENT_DESCRIPTOR definition to BaseLib.h.

Signed-off-by: li-elvin
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12265 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd capsule > 4GB support. When capsule data is put above 4GB, IA32 PEI transfers...
li-elvin [Fri, 2 Sep 2011 11:34:35 +0000 (11:34 +0000)]
Add capsule > 4GB support. When capsule data is put above 4GB, IA32 PEI transfers to long mode to get capsule data.

Signed-off-by: li-elvin
Reviewed-by: lgao4, mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12264 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRefine comments and two code style.
ydong10 [Fri, 2 Sep 2011 08:05:34 +0000 (08:05 +0000)]
Refine comments and two code style.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12263 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd check before use to make code run more safer.
ydong10 [Fri, 2 Sep 2011 07:51:45 +0000 (07:51 +0000)]
Add check before use to make code run more safer.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12262 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd security package to repository.
gdong1 [Fri, 2 Sep 2011 07:49:32 +0000 (07:49 +0000)]
Add security package to repository.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12261 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd generic HPET Timer DXE Driver and support libraries
mdkinney [Fri, 2 Sep 2011 02:43:51 +0000 (02:43 +0000)]
Add generic HPET Timer DXE Driver and support libraries

Signed-off-by: mdkinney
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12260 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd generic HPET Timer DXE Driver and support libraries
mdkinney [Fri, 2 Sep 2011 02:42:19 +0000 (02:42 +0000)]
Add generic HPET Timer DXE Driver and support libraries

Signed-off-by: mdkinney
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12259 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoStdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4...
darylm503 [Thu, 1 Sep 2011 21:56:45 +0000 (21:56 +0000)]
StdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4 compilers.

There are several significant differences between the mingw32 (gcc 4.3.0 based) compiler and the GCC 4.4 and later compilers.

Mingw32 requires that types int, long, long long, unsigned { int, long, long long}, float, and double be the only types passed to va_arg(). This requires the programmer to ensure that va_arg is called with type int for arguments of any type with a size less-than or equal-to int.  GCC 4.4 and later does not require this and performs the appropriate promotions for you.

Mingw32 uses 32-bit long in both ia32 and x64 mode.  GCC 4.4 makes long a 64-bit value when in x64 mode.

Signed-off-by: darylm503
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12258 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg: Add UpdateDriverDxe driver
jljusten [Thu, 1 Sep 2011 19:57:46 +0000 (19:57 +0000)]
IntelFrameworkModulePkg: Add UpdateDriverDxe driver

Signed-off-by: jljusten
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12257 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg: Add FwVolDxe driver
jljusten [Thu, 1 Sep 2011 19:57:08 +0000 (19:57 +0000)]
IntelFrameworkModulePkg: Add FwVolDxe driver

Signed-off-by: jljusten
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12256 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEmbeddedPkg/MmcDxe: Add 'This' pointer attribute to protocol function
oliviermartin [Thu, 1 Sep 2011 17:08:41 +0000 (17:08 +0000)]
EmbeddedPkg/MmcDxe: Add 'This' pointer attribute to protocol function

This attribute allows the EFI_MMC_HOST_PROTOCOL interface to manage
multiple instances in one driver.

EmbeddedPkg/MmcDxe: Add Revision attribute to the EFI_MMC_HOST_PROTOCOL

Note: The ARM PL180 and Omap35xx MMC host drivers has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12255 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoOmap35xxPkg/MmcHostDxe: Clean code to respect EDK2 coding convention
oliviermartin [Thu, 1 Sep 2011 16:33:51 +0000 (16:33 +0000)]
Omap35xxPkg/MmcHostDxe: Clean code to respect EDK2 coding convention

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12254 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix bug for UefiPxeBcDxe driver to catch the return status.
sfu5 [Thu, 1 Sep 2011 08:51:00 +0000 (08:51 +0000)]
Fix bug for UefiPxeBcDxe driver to catch the return status.

Signed-off-by: sfu5
Reviewed-by: hhuan13
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12253 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix bug for UefiPxeBcDxe driver to catch the return status.
sfu5 [Thu, 1 Sep 2011 08:48:51 +0000 (08:48 +0000)]
Fix bug for UefiPxeBcDxe driver to catch the return status.

Signed-off-by: sfu5
Reviewed-by: hhuan13
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12252 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCheck the pointer before use it.
ydong10 [Thu, 1 Sep 2011 08:44:08 +0000 (08:44 +0000)]
Check the pointer before use it.

Signed-off-by:ydong10
Reviewed-by:vanjeff

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12251 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRefine code to make code run more safely.
ydong10 [Thu, 1 Sep 2011 08:38:08 +0000 (08:38 +0000)]
Refine code to make code run more safely.

Signed-off-by:ydong10
Reviewed-by:rsun3

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12250 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate HiiBlockToConfig function to follow spec.
ydong10 [Thu, 1 Sep 2011 08:19:55 +0000 (08:19 +0000)]
Update HiiBlockToConfig function to follow spec.

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12249 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove, correct and refine some debug messages.
lzeng14 [Thu, 1 Sep 2011 06:37:55 +0000 (06:37 +0000)]
Remove, correct and refine some debug messages.

Signed-off-by: lzeng14
Reviewed-by: erictian
Reviewed-by: qianouyang
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12248 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEdkCompatibilityPkg: Add BootScriptThunkHelper driver
jljusten [Wed, 31 Aug 2011 18:58:35 +0000 (18:58 +0000)]
EdkCompatibilityPkg: Add BootScriptThunkHelper driver

Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12247 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg: Add AcpiS3SaveDxe driver
jljusten [Wed, 31 Aug 2011 18:57:46 +0000 (18:57 +0000)]
IntelFrameworkModulePkg: Add AcpiS3SaveDxe driver

Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12246 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. Update iSCSI UI to be more user-friendly.
tye1 [Wed, 31 Aug 2011 12:00:09 +0000 (12:00 +0000)]
1. Update iSCSI UI to be more user-friendly.
2. Fix potential memory leak issue in IScsiConfig.c.

Signed-off-by: tye
Reviewed-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12245 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove out of date copyright from command help info.
tye1 [Wed, 31 Aug 2011 11:14:57 +0000 (11:14 +0000)]
Remove out of date copyright from command help info.

Signed-off-by: tye
Reviewed-by: jcarsey
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12244 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRollback SMRAM Lock location
mdkinney [Wed, 31 Aug 2011 02:26:36 +0000 (02:26 +0000)]
Rollback SMRAM Lock location

Signed-off-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12243 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix GCC build errors.
darylm503 [Wed, 31 Aug 2011 00:02:56 +0000 (00:02 +0000)]
Fix GCC build errors.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12240 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEmbeddedPkg/MmcDxe: Card Presence Detect Race Condition
oliviermartin [Tue, 30 Aug 2011 18:02:38 +0000 (18:02 +0000)]
EmbeddedPkg/MmcDxe: Card Presence Detect Race Condition

The MMC driver defaults to assume a card is not present.  It then starts a timer in MmcDxeInitialize to check for card presence every 200ms.

However it does not immediately check to see if a card is present so if the EFI driver connection process occurs less than 200ms after the driver load, the connection process for partition
or filesystem drivers will fail because MediaPresent still is FALSE.  To resolve this race condition, we need to immediately perform the presence check in the Start routine.

EmbeddedPkg/MmcDxe: Media ID Handling

Initialize the MMC device on Start or when presence changes instead of doing it on the Block IO calls. This way the layered drivers can be stopped and rebuilt with new Media IDs instead of
experiencing errors on calls to Block IO.

Proposed-by: Eugene Cohen (HP)
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12237 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Fix ARM RealView EB and VE builds (2)
oliviermartin [Tue, 30 Aug 2011 17:12:13 +0000 (17:12 +0000)]
ArmPlatformPkg: Fix ARM RealView EB and VE builds (2)

This file is missing from the earlier commit (ArmPlatformPkg: Fix ARM RealView EB and VE builds).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12235 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Update list of pending patches
oliviermartin [Tue, 30 Aug 2011 17:09:34 +0000 (17:09 +0000)]
ArmPlatformPkg: Update list of pending patches

BaseTools has recently been updated in edk2. Some of the BaseTools patches are now available in edk2 mainline.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12234 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Fix ARM RealView EB and VE builds
oliviermartin [Tue, 30 Aug 2011 16:54:48 +0000 (16:54 +0000)]
ArmPlatformPkg: Fix ARM RealView EB and VE builds

Tested with RVCTLINUX and ARMGCC toolchains.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12233 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd new op-code samples, includes efi varstore, refresh guid group and ref op-code.
ydong10 [Tue, 30 Aug 2011 12:39:53 +0000 (12:39 +0000)]
Add new op-code samples, includes efi varstore, refresh guid group and ref op-code.

Signed-off-by:ydong10
Reviewed-by:lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12232 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEnable the follow feature for string op-code:
ydong10 [Tue, 30 Aug 2011 12:33:41 +0000 (12:33 +0000)]
Enable the follow feature for string op-code:
1. Show old string before enter new.
2. Enable cursor moves left or right and insert new char or remove the char before the cursor.

Signed-off-by:ydong10
Reviewed-by:lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12231 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEnhance the SmmBaseHelper driver to support changing SMBASE/IORestart/AutoHALTRestart...
rsun3 [Tue, 30 Aug 2011 09:12:43 +0000 (09:12 +0000)]
Enhance the SmmBaseHelper driver to support changing SMBASE/IORestart/AutoHALTRestart CPU Save State registers for Framework SMM driver.

Signed-off-by: rsun3
Reviewed-by: jfan12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12230 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate CSM module to provide the general solution when the Timer Arch Protocol is...
li-elvin [Tue, 30 Aug 2011 05:52:28 +0000 (05:52 +0000)]
Update CSM module to provide the general solution when the Timer Arch Protocol is not 8254 timer. CSM module should set 8254 timer to 54ms for the execution in real mode.

Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12229 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Add ACPI S3 Save State drivers
jljusten [Mon, 29 Aug 2011 22:19:48 +0000 (22:19 +0000)]
MdeModulePkg: Add ACPI S3 Save State drivers

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12228 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUefiCpuPkg: Add S3Resume2Pei PEIM
jljusten [Mon, 29 Aug 2011 22:19:13 +0000 (22:19 +0000)]
UefiCpuPkg: Add S3Resume2Pei PEIM

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12227 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Add PostBootScriptTable PPI
jljusten [Mon, 29 Aug 2011 22:18:48 +0000 (22:18 +0000)]
MdeModulePkg: Add PostBootScriptTable PPI

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12226 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Add BootScriptExecutorDxe driver
jljusten [Mon, 29 Aug 2011 22:18:19 +0000 (22:18 +0000)]
MdeModulePkg: Add BootScriptExecutorDxe driver

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12225 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Add PiDxeS3BootScriptLib
jljusten [Mon, 29 Aug 2011 22:17:27 +0000 (22:17 +0000)]
MdeModulePkg: Add PiDxeS3BootScriptLib

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12224 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs
jljusten [Mon, 29 Aug 2011 22:16:50 +0000 (22:16 +0000)]
MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12223 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdePkg: Add S3 library interfaces and base implementations
jljusten [Mon, 29 Aug 2011 22:16:28 +0000 (22:16 +0000)]
MdePkg: Add S3 library interfaces and base implementations

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12222 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg: Add AcpiSupportDxe driver
jljusten [Mon, 29 Aug 2011 22:15:21 +0000 (22:15 +0000)]
IntelFrameworkModulePkg: Add AcpiSupportDxe driver

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12221 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix issue with SMBIOS driver assumming memory exists below 4GB.
andrewfish [Mon, 29 Aug 2011 20:47:22 +0000 (20:47 +0000)]
Fix issue with SMBIOS driver assumming memory exists below 4GB.

approved-by: andrewfish
reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12220 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in Duet, Unix...
lgao4 [Mon, 29 Aug 2011 13:36:03 +0000 (13:36 +0000)]
Fix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in Duet, Unix and Emulator platform.

Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12218 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove unnecessary global macros in SecMain.inf.
niruiyu [Mon, 29 Aug 2011 04:58:13 +0000 (04:58 +0000)]
Remove unnecessary global macros in SecMain.inf.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12217 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Branch (version r2271) to EDKII main trunk.
lgao4 [Fri, 26 Aug 2011 07:49:27 +0000 (07:49 +0000)]
Sync BaseTools Branch (version r2271) to EDKII main trunk.

  BaseTool Branch:
  https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100

Signed-off-by: lgao4
Reviewed-by: hchen30
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12215 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Branch (version r2271) to EDKII main trunk.
lgao4 [Fri, 26 Aug 2011 07:46:26 +0000 (07:46 +0000)]
Sync BaseTools Branch (version r2271) to EDKII main trunk.

  BaseTool Branch:
  https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100

Signed-off-by: lgao4
Reviewed-by: hchen30
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12214 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFixed memory leak and buffer overrun for string op-code.
ydong10 [Fri, 26 Aug 2011 01:54:49 +0000 (01:54 +0000)]
Fixed memory leak and buffer overrun for string op-code.

Signed-off-by:ydong10
Reviewed-by:lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12213 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Define PPI to convey performance information from SEC phase to PEI.
xdu2 [Thu, 25 Aug 2011 12:03:53 +0000 (12:03 +0000)]
MdeModulePkg: Define PPI to convey performance information from SEC phase to PEI.

Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12212 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg/GenericBdsLib: update GenericBdsLib to report status code...
xdu2 [Thu, 25 Aug 2011 11:58:51 +0000 (11:58 +0000)]
IntelFrameworkModulePkg/GenericBdsLib: update GenericBdsLib to report status code for OS Loader Load and OS Loader Start.

Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12211 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Add OEM specific Report Status Code definition for OS Loader Load,...
xdu2 [Thu, 25 Aug 2011 11:58:19 +0000 (11:58 +0000)]
MdeModulePkg: Add OEM specific Report Status Code definition for OS Loader Load, OS Loader Start, S3 Suspend Start and S3 Suspend End.

Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12210 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFixed build error reported by ICC and GCC
erictian [Thu, 25 Aug 2011 10:19:11 +0000 (10:19 +0000)]
Fixed build error reported by ICC and GCC

Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12209 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data from Lockbo...
li-elvin [Thu, 25 Aug 2011 08:25:13 +0000 (08:25 +0000)]
RestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data from Lockbox. Fix this issue.

Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12208 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd a PcdPs2KbdExtendedVerification to let user to choose whether extend reset for...
li-elvin [Thu, 25 Aug 2011 08:23:00 +0000 (08:23 +0000)]
Add a PcdPs2KbdExtendedVerification to let user to choose whether extend reset for keyboard driver in start (). Add more debug information in the driver.

Signed-off-by: li-elvin
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12207 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in...
xdu2 [Thu, 25 Aug 2011 05:59:17 +0000 (05:59 +0000)]
Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds.

Signed-off-by: xdu2
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd UEFI_APPLICATION module type support for the capsule lib.
niruiyu [Thu, 25 Aug 2011 05:37:55 +0000 (05:37 +0000)]
Add UEFI_APPLICATION module type support for the capsule lib.

Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12205 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoError handling refinement at UsbIoResetPort() to avoid device state machine getting...
erictian [Thu, 25 Aug 2011 05:13:22 +0000 (05:13 +0000)]
Error handling refinement at UsbIoResetPort() to avoid device state machine getting corrupted when the device disconnect happens

Signed-off-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12204 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRaise TPL to prevent the BlockIo instance for USB device is removed during the locati...
niruiyu [Thu, 25 Aug 2011 03:55:39 +0000 (03:55 +0000)]
Raise TPL to prevent the BlockIo instance for USB device is removed during the locating the instance and using it.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12203 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix build crash while using MSFT to build OVMF, also fix some build warning report...
gikidy [Thu, 25 Aug 2011 03:19:57 +0000 (03:19 +0000)]
Fix build crash while using MSFT to build OVMF, also fix some build warning report for PCD type issues.

Signed-off-by: gikidy
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12202 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able...
tye1 [Wed, 24 Aug 2011 10:55:55 +0000 (10:55 +0000)]
Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able to function properly in UEFI2.1 platform.

Signed-off-by: tye1
Reviewed-by: lgao4
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12198 6f19259b-4bc3-4df7-8a09-765794883524