12 years agoRemove the old unused ValueToString code, which has been replaced by UnicodeValueToSt...
lgao4 [Fri, 13 Nov 2009 05:58:29 +0000 (05:58 +0000)]
Remove the old unused ValueToString code, which has been replaced by UnicodeValueToString API from PrintLib.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9423 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix a bug to handle case that SendForm() is called with an invalid FormSetGuid.
xdu2 [Fri, 13 Nov 2009 05:40:21 +0000 (05:40 +0000)]
Fix a bug to handle case that SendForm() is called with an invalid FormSetGuid.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9422 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Add UEFI 2.2 VLAN device path definition to MdePkg
xdu2 [Thu, 12 Nov 2009 10:40:58 +0000 (10:40 +0000)]
1. Add UEFI 2.2 VLAN device path definition to MdePkg
2. Update DevicePathDxe to support VLAN device path node
3. Update GenericBdsLib function DevicePathToStr() to support VLAN device path node

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9421 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixed the wrong format.
vanjeff [Thu, 12 Nov 2009 08:03:10 +0000 (08:03 +0000)]
fixed the wrong format.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9420 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixed the wrong format.
vanjeff [Thu, 12 Nov 2009 08:02:14 +0000 (08:02 +0000)]
fixed the wrong format.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9419 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update SetupBrowser to pass correct buffer value for OrderedList Callback
xdu2 [Thu, 12 Nov 2009 04:58:19 +0000 (04:58 +0000)]
1. Update SetupBrowser to pass correct buffer value for OrderedList Callback
2. Fix UI hang issue in SuppressIf Form support checkin
3. Update DriverSample to demo storage width of OrderedList could be defined to types other than UINT8. (Note: this requires BaseTools >= r9397 for updated VfrCompiler.exe)

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9418 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd SuppressIf form support in SetupBrowser driver.
lgao4 [Thu, 12 Nov 2009 01:16:12 +0000 (01:16 +0000)]
Add SuppressIf form support in SetupBrowser driver.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9417 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agomore errata
jcarsey [Wed, 11 Nov 2009 22:05:04 +0000 (22:05 +0000)]
more errata

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9416 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdated for new errata
jcarsey [Wed, 11 Nov 2009 18:23:31 +0000 (18:23 +0000)]
updated for new errata

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9415 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI...
tye [Wed, 11 Nov 2009 07:06:57 +0000 (07:06 +0000)]
1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI 2.3 specification.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9414 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Add Link MTU support to IP4 and TCP4 driver.
tye [Wed, 11 Nov 2009 07:06:27 +0000 (07:06 +0000)]
1. Add Link MTU support to IP4 and TCP4 driver.
2. Integrate IPsec functionality to IP4 driver.
3. Move IP_VERSION_4/IP_VERSION_6 definition from IpIoLib to NetLib.
4. Move the Ip6/Udp6 protocol declaration from driver INF to Library INF (DxeIpIoLib and DxeUdpIoLib) for better readability.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9413 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI...
tye [Wed, 11 Nov 2009 07:05:49 +0000 (07:05 +0000)]
1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI 2.3 specification.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9412 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd HiiResourcesSampleDxe into MdeModulePkg.dsc
lgao4 [Wed, 11 Nov 2009 06:17:18 +0000 (06:17 +0000)]
Add HiiResourcesSampleDxe into MdeModulePkg.dsc

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9411 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoadd EFI IPSEC protocol and EFI IPSEC Config protocol definition.
vanjeff [Wed, 11 Nov 2009 06:14:57 +0000 (06:14 +0000)]
add EFI IPSEC protocol and EFI IPSEC Config protocol definition.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9410 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoTo make backward compatiblity, if can not find corresponding the handle of FV then...
klu2 [Wed, 11 Nov 2009 05:51:45 +0000 (05:51 +0000)]
To make backward compatiblity, if can not find corresponding the handle of FV then treat FV as build-in FFS2 format and memory mapped FV that FV handle is pointed to the address of first byte of FV.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9409 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnhance HiiThunkGetString to handle the case that PlatformLanguage is not set.
lgao4 [Wed, 11 Nov 2009 05:19:30 +0000 (05:19 +0000)]
Enhance HiiThunkGetString to handle the case that PlatformLanguage is not set.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9408 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2.
klu2 [Wed, 11 Nov 2009 03:27:39 +0000 (03:27 +0000)]
Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2.
1, Implement EFI_PEI_FIRMWARE_VOLUME_PPI for FFS2 format as build-in supporting FV format in PeiCore.
2, Reduce the assumption of memory-mapped FV in PeiCore. PeiCore should access FV via EFI_PEI_FIRMWARE_VOLUME_PPI interface but not cast FvHandle/FileHandle to EFI_FIRMWARE_VOLUME_HEADER/EFI_FV_FILE_HEADER directly.
3, Reduce AllFv[] and AllFvCount in PEI_CORE_INSTANCE structure. Original PEI_CORE_INSTANCE use AllFv[] and Fv[] array to manage discovered FV and dispatched FV. But not need to make thing too complex. Now PEI_CORE_FV_HANDLE array of Fv[] will take responsibility to manage all FV instance and status.
4, Fix the bug use PeiDispatcher use wrong index for PeiFfsFindNextVolume(),
5, Fix the bug in PeiFfsFindNextVolume(), if instance is not found, *VolumeHandle should be set to NULL but not VolumeHandle was set to NULL.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9407 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdated Alias, Map, and Env functions per errata.
jcarsey [Tue, 10 Nov 2009 20:23:01 +0000 (20:23 +0000)]
updated Alias, Map, and Env functions per errata.

added parameter direction to doxygen comments.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9406 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdded a patch for Shell svn rev 33 that makes it build under GCC and ARM RVCT. Update...
AJFISH [Tue, 10 Nov 2009 20:00:37 +0000 (20:00 +0000)]
Added a patch for Shell svn rev 33 that makes it build under GCC and ARM RVCT. Update ReadMe.txt to include optinal instructions to add the patch. This patch does not fix all the case issues in the Shell, but it does name all files in a consistent way so fixing the file name in the file system should fix any build issues on a case sensative file system. Fixing case bugs was breaking the patch and I could not figure out how to make it work.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9405 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdding GCC and RVCT support. Since edk uses [nmake] section we add to add <BuildOpito...
AJFISH [Tue, 10 Nov 2009 17:54:08 +0000 (17:54 +0000)]
Adding GCC and RVCT support. Since edk uses [nmake] section we add to add <BuildOpitons> to pass the correct flags to the shell. I had to make lots of changes to the Shell svn r33 to make it compile for GCC and to compile with RVCT. I will post a diff to the discusion list and see how we should handle the Shell source code changes.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9404 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate Nt32 package to remove UID support .
qhuang8 [Tue, 10 Nov 2009 13:58:41 +0000 (13:58 +0000)]
Update Nt32 package to remove UID support .

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9403 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnable UID support in NT32 platform
gdong1 [Tue, 10 Nov 2009 10:03:05 +0000 (10:03 +0000)]
Enable UID support in NT32 platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9402 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMake PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI...
klu2 [Tue, 10 Nov 2009 08:45:07 +0000 (08:45 +0000)]
Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9401 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMake PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI...
klu2 [Tue, 10 Nov 2009 08:44:56 +0000 (08:44 +0000)]
Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9400 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdding new library instance for SortLib with built in function for sorting device...
jcarsey [Mon, 9 Nov 2009 23:33:11 +0000 (23:33 +0000)]
Adding new library instance for SortLib with built in function for sorting device paths.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9399 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpgrade ShellLib and fix bug with param parsing
jcarsey [Mon, 9 Nov 2009 18:08:58 +0000 (18:08 +0000)]
Upgrade ShellLib and fix bug with param parsing

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9398 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoSync tool code to BuildTools project r1739.
lgao4 [Mon, 9 Nov 2009 11:47:35 +0000 (11:47 +0000)]
Sync tool code to BuildTools project r1739.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9397 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoChange the GUID value of FVB to be that of FVB2 in PI 1.2 spec. this will force FVB...
qhuang8 [Mon, 9 Nov 2009 05:13:14 +0000 (05:13 +0000)]
Change the GUID value of FVB to be that of FVB2 in PI 1.2 spec. this will force FVB drivers built through the ECP to produce the PI 1.2 FVB2 Protocol GUID

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9396 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name...
qhuang8 [Mon, 9 Nov 2009 05:12:25 +0000 (05:12 +0000)]
Add Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name to IntelFrameworkPkg.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9395 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd new protocol definition of FVB2 defined in PI1.2 and change GUID value of FVB...
qhuang8 [Mon, 9 Nov 2009 05:10:55 +0000 (05:10 +0000)]
Add new protocol definition of FVB2 defined in PI1.2 and change GUID value of FVB to be that of FVB2.

This is a source level compatible change, but not binary level. We might need to rebuild some old binary modules to work with newer version of MdePkg.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9394 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoChange the behavior of the HII Library function HiiGetHiiHandles() when the PackageLi...
rsun3 [Thu, 5 Nov 2009 08:53:47 +0000 (08:53 +0000)]
Change the behavior of the HII Library function HiiGetHiiHandles() when the PackageListGuid parameter is not NULL. The original behavior is that if this parameter is not NULL at most 1 HII Handle is returned. Behavior after change is if this parameter is not NULL zero or more HII Handles associated with PackageListGuid are returned, because it is possible that there are multiple package lists with same package list GUID in the HII Database.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9393 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixed typo
vanjeff [Wed, 4 Nov 2009 08:39:25 +0000 (08:39 +0000)]
fixed typo

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9392 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago[Change summary]:
tye [Wed, 4 Nov 2009 08:18:34 +0000 (08:18 +0000)]
[Change summary]:
1. Update NetLib to a combined NetLib support dual network stack:
1) Add Network Debug facility for IPv4 stack.
2) Extend the library APIs to support IPv6 stack:
   a. NetIp6IsUnspecifiedAddr
   b. NetIp6IsLinkLocalAddr
   c. NetIp6IsNetEqual
   d. NetLibCreateIPv6DPathNode.
   e. NetIp6PseudoHeadChecksum
   f. NetIp6IsValidUnicast
3) Update the structure definitions:
   a. Update NET_BUF to add EFI_IP6_HEADER and EFI_UDP_HEADER
4) Update Ip4IsUnicast to NetIp4IsUnicast

2. Update the impacted modules to adopt the combined NetLib.

3. Clean up coding style errors in all network drivers and libraries.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9391 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoadded comments for CAPSULE_HOB_INFO in CapsuleVendor.h (MdeModuleModulePkg).
vanjeff [Wed, 4 Nov 2009 06:51:34 +0000 (06:51 +0000)]
added comments for CAPSULE_HOB_INFO in CapsuleVendor.h (MdeModuleModulePkg).

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9390 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. rolled back Hob library to remove new API - BuildCapsuleHob() and related implemen...
vanjeff [Wed, 4 Nov 2009 06:51:07 +0000 (06:51 +0000)]
1. rolled back Hob library to remove new API - BuildCapsuleHob() and related implementation in MdePkg.
2. implemented BuildCvHob() in PeiHobLib/HobLib.c.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9389 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
xli24 [Tue, 3 Nov 2009 02:39:10 +0000 (02:39 +0000)]
Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9388 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoDescribe update of default status code PCD values in change log.
xli24 [Mon, 2 Nov 2009 07:57:49 +0000 (07:57 +0000)]
Describe update of default status code PCD values in change log.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9387 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd description comments for status code PCDs with macros defined in PI 1.2.
xli24 [Mon, 2 Nov 2009 04:22:44 +0000 (04:22 +0000)]
Add description comments for status code PCDs with macros defined in PI 1.2.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9386 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoThe value of PcdStatusCodeValueSetVirtualAddressMap is changed from 0x03101004 to...
xli24 [Mon, 2 Nov 2009 04:13:25 +0000 (04:13 +0000)]
The value of PcdStatusCodeValueSetVirtualAddressMap is changed from 0x03101004 to 0x03111004, which equals EFI_SOFTWARE_EFI_RUNTIME_SERVICE | EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9385 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago2 PCD values of status code are updated:
xli24 [Mon, 2 Nov 2009 03:22:51 +0000 (03:22 +0000)]
2 PCD values of status code are updated:

1. PcdStatusCodeValueBootServiceExit. Its value is changed from 0x3100019 to 0x3101019, which equals EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_BS_PC_EXIT_BOOT_SERVICES.
2. PcdStatusCodeValuePeiHandoffToDxe. Its value is changed from 0x3031001 to 0x3021001, which equals EFI_SOFTWARE_PEI_CORE | EFI_SW_PEI_CORE_PC_HANDOFF_TO_NEXT.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9384 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoCorrect the typo in comments.
lgao4 [Fri, 30 Oct 2009 07:08:22 +0000 (07:08 +0000)]
Correct the typo in comments.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9383 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update the UdpIo to a combined UdpIo to support both v4 and v6 stack.
tye [Fri, 30 Oct 2009 05:11:38 +0000 (05:11 +0000)]
1. Update the UdpIo to a combined UdpIo to support both v4 and v6 stack.
2. Update Dhcp4 and Mtftp4 driver to adopt the combined UdpIo.
3. Clean up coding style problems in combined IpIoLib/NetLib. Update Tcp4 and Udp4 to adopt the changes.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9382 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoadd back CAPSULE_HOB_INFO definition for back-compatible.
vanjeff [Thu, 29 Oct 2009 01:49:20 +0000 (01:49 +0000)]
add back CAPSULE_HOB_INFO definition for back-compatible.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9381 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoremove CAPSULE_HOB_INFO definition from MdeModulePkg.
vanjeff [Wed, 28 Oct 2009 07:54:40 +0000 (07:54 +0000)]
remove CAPSULE_HOB_INFO definition from MdeModulePkg.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9380 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdated BDS to get capsule information from UEFI capsule HOB instead of CAPSULE_HOB_I...
vanjeff [Wed, 28 Oct 2009 07:54:17 +0000 (07:54 +0000)]
updated BDS to get capsule information from UEFI capsule HOB instead of CAPSULE_HOB_INFO(one GUIDed HOB).

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9379 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUEFI Capsule HOB updating includes:
vanjeff [Wed, 28 Oct 2009 07:53:32 +0000 (07:53 +0000)]
UEFI Capsule HOB updating includes:
1. add BuildCapsuleHob() in HobLib.h
2. add related APIs implementation in hob library instances.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9378 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate transition from EBC function to native IPF function to guarantee that at least...
mdkinney [Tue, 27 Oct 2009 22:58:55 +0000 (22:58 +0000)]
Update transition from EBC function to native IPF function to guarantee that at least 0x40 bytes of stack frame are reserved to prevent stack corruption.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9377 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoCorrectly get the width of orderedlist question.
lgao4 [Tue, 27 Oct 2009 07:55:00 +0000 (07:55 +0000)]
Correctly get the width of orderedlist question.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9376 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix the EBC build problem in DxeIpIoLib of r9374.
tye [Tue, 27 Oct 2009 02:45:43 +0000 (02:45 +0000)]
Fix the EBC build problem in DxeIpIoLib of r9374.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9375 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoNetLib:
tye [Mon, 26 Oct 2009 10:15:40 +0000 (10:15 +0000)]
1. Add new interface Ip6IsValidUnicast
3. Add new structure IP6_ICMP_* definitions
4. Update structure from EFI_UDP4_HEADER to EFI_UDP_HEADER
5. Add new macro EFI_IP6_EQUAL

1. Porting the IpIoLib (combined library for both v4 and v6 network stack) from win8 repository.
2. Fix a bug in IpIoIcmpHandler() - for IPv6 packet, the header length is variable (basic header + extension) rathar than fixed length.
   The fix removes the IPv6 header fields and notify the user with the ICMPv6 packet only containing payload.

1. Update to adapt the new combined IpIoLib
2. Add gEfiIp6ProtocolGuid/gEfiIp6ServiceBindingProtocolGuid to [Protocols] in INF file since the Ip6.h is included in IpIoLib and NetLib.
3. Pass the TCP4/UDP4 UEFI SCT test on NT32 platform.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9374 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAllocated one buffer to for option->description, since it may be released by BdsLibBo...
vanjeff [Mon, 26 Oct 2009 09:38:17 +0000 (09:38 +0000)]
Allocated one buffer to for option->description, since it may be released by BdsLibBootViaBootOption().

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9373 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate comments on setting >= 8 bytes Fv Alignment.
lgao4 [Mon, 26 Oct 2009 09:14:47 +0000 (09:14 +0000)]
Update comments on setting >= 8 bytes Fv Alignment.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9372 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoCorrect the patch in r9367.
xdu2 [Mon, 26 Oct 2009 08:35:38 +0000 (08:35 +0000)]
Correct the patch in r9367.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9371 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoset filename with device path for load file devices.
vanjeff [Mon, 26 Oct 2009 07:47:31 +0000 (07:47 +0000)]
set filename with device path for load file devices.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9370 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate SetupBrowser to support call to SendForm() by specify a formset class GUID...
xdu2 [Mon, 26 Oct 2009 07:44:10 +0000 (07:44 +0000)]
Update SetupBrowser to support call to SendForm() by specify a formset class GUID with input parameter FormsetGuid.
With this update, SendForm() could support formset class GUID other than EFI_HII_PLATFORM_SETUP_FORMSET_GUID, for example, the EFI_HII_DRIVER_HEALTH_FORMSET_GUID.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9369 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFor now PEI Core LoadImage() service to always call LoadAndRelocatePeCoffImage()...
jchen20 [Mon, 26 Oct 2009 06:54:55 +0000 (06:54 +0000)]
For now PEI Core LoadImage() service to always call LoadAndRelocatePeCoffImage() even for XIP PEIMs.However the AllocatePage invoked in S3 path will make system assert. The patch is to fix it.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9368 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix a UI hang bug when adding Boot Option or Driver Option.
xdu2 [Mon, 26 Oct 2009 06:47:50 +0000 (06:47 +0000)]
Fix a UI hang bug when adding Boot Option or Driver Option.
Reproduce steps:
1. plug a NIC card to system
2. boot and select "Boot Maintenance Manager"->"Driver Options"->"Add Driver Option", a "MAC" device path will show up
3. select "MAC" device path and press Enter, and then press ESC
4. select "MAC" device path again, then the UI will hang.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9367 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate to align with UEFI 2.3 spec: rename "UEFI_CONFIG_LANG2" to be "UEFI_CONFIG_LANG_2"
xdu2 [Mon, 26 Oct 2009 06:05:35 +0000 (06:05 +0000)]
Update to align with UEFI 2.3 spec: rename "UEFI_CONFIG_LANG2" to be "UEFI_CONFIG_LANG_2"

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9366 de2fecce-e211-0410-80a6-f3fac2684e05

xdu2 [Mon, 26 Oct 2009 05:27:28 +0000 (05:27 +0000)]

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9365 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoSupport call of SendForm() from Callback(), i.e. nested call of SendForm().
xdu2 [Mon, 26 Oct 2009 03:06:06 +0000 (03:06 +0000)]
Support call of SendForm() from Callback(), i.e. nested call of SendForm().

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9364 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Code clean up: add IN/OUT modifier for parameters.
xdu2 [Mon, 26 Oct 2009 03:05:16 +0000 (03:05 +0000)]
1. Code clean up: add IN/OUT modifier for parameters.
2. UI enchancement: if there is no editable item in a Form, the F9/F10 will not be displayed in the footer.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9363 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd support for newly defined Browser action type EFI_BROWSER_ACTION_FORM_OPEN and...
xdu2 [Mon, 26 Oct 2009 03:04:31 +0000 (03:04 +0000)]
Add support for newly defined Browser action type EFI_BROWSER_ACTION_FORM_OPEN and EFI_BROWSER_ACTION_FORM_CLOSE in UEFI spec.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9362 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate FormBrowser to conform to UEFI spec Table 197. Callback Behavior for Cross...
xdu2 [Mon, 26 Oct 2009 03:04:08 +0000 (03:04 +0000)]
Update FormBrowser to conform to UEFI spec Table 197. Callback Behavior for Cross-Reference:
  "CHANGING: If EFI_UNSUPPORTED or EFI_SUCCESS, cross-reference is taken. Any other error the cross-reference will not be taken."

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9361 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd support for newly defined VarStore type EFI_IFR_TYPE_UNDEFINED, EFI_IFR_TYPE_ACTI...
xdu2 [Mon, 26 Oct 2009 03:03:47 +0000 (03:03 +0000)]
Add support for newly defined VarStore type EFI_IFR_TYPE_UNDEFINED, EFI_IFR_TYPE_ACTION and EFI_IFR_TYPE_BUFFER in UEFI spec.
Note: with this update, the limitation for "OrderedList should use array of data type UINT8 as its storage" is removed; now OrderedList could use any data type (UINT8/UINT16/UINT32/UINT64) as its storage array.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9360 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoChange the FormBrowser behavior of "Pressing ESC":
xdu2 [Mon, 26 Oct 2009 03:03:12 +0000 (03:03 +0000)]
Change the FormBrowser behavior of "Pressing ESC":
The old behavior is: if press ESC, it will exit the whole Formset.
The new behavior is: if press ESC, it will return to the parent Form; if current Form is the root Form of a FormSet, it will exit the whole FormSet.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9359 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoSet Handle to NULL when creating a new handle.
vanjeff [Mon, 26 Oct 2009 02:28:49 +0000 (02:28 +0000)]
Set Handle to NULL when creating a new handle.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9358 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd a MACRO IP6_IS_MULTICAST.
tye [Thu, 22 Oct 2009 06:32:44 +0000 (06:32 +0000)]

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9357 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRemove redundant blank character in DSC file.
klu2 [Thu, 22 Oct 2009 06:30:20 +0000 (06:30 +0000)]
Remove redundant blank character in DSC file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9356 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Fix timer unit bug in MNP: default rx/tx timeout value should be 10,000,000 (10s...
tye [Thu, 22 Oct 2009 06:29:51 +0000 (06:29 +0000)]
1. Fix timer unit bug in MNP: default rx/tx timeout value should be 10,000,000 (10s) according to UEFI spec.
2. Enable the mapping from IPv6 multicast address to MAC address in MnpMcastIpToMac().
3. Remove 2 tabs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9355 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Fix a bug in Dhcp4 to prevent unexpected broadcast DHCP packets be queued up in...
tye [Wed, 21 Oct 2009 09:37:10 +0000 (09:37 +0000)]
1. Fix a bug in Dhcp4 to prevent unexpected broadcast DHCP packets be queued up in the system: these packets will never be freed and will cumulate as time goes on, and then it will cause the system becomes very slow. This issue is reported by HP.
2. Sync HSD #210249 patch: Fix bug in handling certain network errors in EfiDhcp4TransmitReceive() for DHCP4 driver
3. Enhance DhcpCleanLease to clear Netmask as well, so that Dhcp4->GetModeData() could return clean data in Dhcp4Stopped state.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9354 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1, Correct the name of PCD_PPI_CALLBACK to EFI_PCD_PPI_CALLBACK
klu2 [Wed, 21 Oct 2009 08:52:53 +0000 (08:52 +0000)]
2, Fix some minor typo.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9353 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRename one field in "EFI_ATA_STATUS_BLOCK" to make it a legal C structure.
qhuang8 [Wed, 21 Oct 2009 01:58:17 +0000 (01:58 +0000)]
Rename one field in "EFI_ATA_STATUS_BLOCK" to make it a legal C structure.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9352 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Impl PI 1.2 PCI part. Major changes include:
davidhuang [Tue, 20 Oct 2009 03:44:43 +0000 (03:44 +0000)]
1. Impl PI 1.2 PCI part. Major changes include:
  a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9351 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Impl PI 1.2 PCI part. Major changes include:
davidhuang [Tue, 20 Oct 2009 03:44:25 +0000 (03:44 +0000)]
1. Impl PI 1.2 PCI part. Major changes include:
  a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9350 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Impl PI 1.2 PCI part. Major changes include:
davidhuang [Tue, 20 Oct 2009 03:44:03 +0000 (03:44 +0000)]
1. Impl PI 1.2 PCI part. Major changes include:
  a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9349 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Impl PI 1.2 PCI part. Major changes include:
davidhuang [Tue, 20 Oct 2009 03:43:42 +0000 (03:43 +0000)]
1. Impl PI 1.2 PCI part. Major changes include:
  a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9348 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Impl PI 1.2 PCI part. Major changes include:
davidhuang [Tue, 20 Oct 2009 03:43:40 +0000 (03:43 +0000)]
1. Impl PI 1.2 PCI part. Major changes include:
  a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9347 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Impl PI 1.2 PCI part. Major changes include:
davidhuang [Tue, 20 Oct 2009 03:43:09 +0000 (03:43 +0000)]
1. Impl PI 1.2 PCI part. Major changes include:
  a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9346 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Move ASSERT to proper place.
xdu2 [Tue, 20 Oct 2009 03:01:10 +0000 (03:01 +0000)]
1. Move ASSERT to proper place.
2. Move EFI_IFR_BUTTON_OP to Statemens block since now IfrButton is updated from Question to be Statement.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9345 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd an example HII driver to show how to generate HII resource section
lgao4 [Mon, 19 Oct 2009 10:07:34 +0000 (10:07 +0000)]
Add an example HII driver to show how to generate HII resource section

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9344 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd the example for default opcode usage.
lgao4 [Mon, 19 Oct 2009 01:30:24 +0000 (01:30 +0000)]
Add the example for default opcode usage.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9343 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoGLOBAL_REMOVE_IF_UNREFERENCED must be defined to nothing for EBC
mdkinney [Fri, 16 Oct 2009 00:29:28 +0000 (00:29 +0000)]
GLOBAL_REMOVE_IF_UNREFERENCED must be defined to nothing for EBC

This corrects a bug introduced on August 18, 2009 when ARM support was added

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9342 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoDo not update the ImageBase in the PE/COFF header if Adjust is 0.
mdkinney [Thu, 15 Oct 2009 17:21:22 +0000 (17:21 +0000)]
Do not update the ImageBase in the PE/COFF header if Adjust is 0.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9341 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMdeModule EhciDxe: Fix compiler warning for IA32 architecture.
jljusten [Wed, 14 Oct 2009 20:47:57 +0000 (20:47 +0000)]
MdeModule EhciDxe: Fix compiler warning for IA32 architecture.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9340 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdate code to eliminate the wrong assumption that pci address is equal to host addre...
eric_tian [Wed, 14 Oct 2009 06:22:49 +0000 (06:22 +0000)]
update code to eliminate the wrong assumption that pci address is equal to host address in all archs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9339 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix the incorrect check for IFR OnfOf opcode.
lgao4 [Tue, 13 Oct 2009 00:46:36 +0000 (00:46 +0000)]
Fix the incorrect check for IFR OnfOf opcode.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9338 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdate comments with the right words.
vanjeff [Sat, 10 Oct 2009 08:32:06 +0000 (08:32 +0000)]
update comments with the right words.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9337 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoclean up non-English characters.
vanjeff [Sat, 10 Oct 2009 08:25:50 +0000 (08:25 +0000)]
clean up non-English characters.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9336 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoclean up non-English characters.
vanjeff [Sat, 10 Oct 2009 03:32:25 +0000 (03:32 +0000)]
clean up non-English characters.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9335 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoPEI Core: Remove unused variable in PeiLoadImageLoadImage function.
jljusten [Thu, 8 Oct 2009 21:35:03 +0000 (21:35 +0000)]
PEI Core: Remove unused variable in PeiLoadImageLoadImage function.

The ICC compiler generated a warning due to this unused variable.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9334 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoDo not apply relocation fixups if the Adjust value is zero, which means the image...
mdkinney [Thu, 8 Oct 2009 16:45:40 +0000 (16:45 +0000)]
Do not apply relocation fixups if the Adjust value is zero, which means the image is XIP.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9333 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoOVMF: Align PE images in ROM, and strip relocations were possible.
jljusten [Wed, 7 Oct 2009 16:01:09 +0000 (16:01 +0000)]
OVMF: Align PE images in ROM, and strip relocations were possible.

Align the PE32/32+ images in the ROM for XIP (execute in place) images
to function properly following the change in r9327.  Also, convert
pre-memory PEIM's to use the TE image format and strip-relocation
data from image.  This saves a little space, and provides a sample
usage of TE images.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9332 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoOVMF SEC: Modify to search sections of FFS file for PE32 image.
jljusten [Wed, 7 Oct 2009 16:01:06 +0000 (16:01 +0000)]
OVMF SEC: Modify to search sections of FFS file for PE32 image.

Previously the code would expect that the PE32 image was in the
first section of the FFS file.  This might not be the case if the
PE32 section is forced to be aligned.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9331 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMdeModulePkg-UsbBusDxe: Add work around for slower USB hubs/devices
jljusten [Mon, 5 Oct 2009 17:59:53 +0000 (17:59 +0000)]
MdeModulePkg-UsbBusDxe: Add work around for slower USB hubs/devices

50 milliseconds to 100 milliseconds.  This provides a work around
for slower USB hubs and devices.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9330 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix warnings generated by GCC.
jljusten [Fri, 2 Oct 2009 06:40:58 +0000 (06:40 +0000)]
Fix warnings generated by GCC.

These warnings seem to have been triggered by the recent change of

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9329 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix comment describing the library in PlatformFvbLibNull.inf.
jljusten [Fri, 2 Oct 2009 06:40:55 +0000 (06:40 +0000)]
Fix comment describing the library in PlatformFvbLibNull.inf.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9328 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate PEI Core LoadImage() service to always call LoadAndRelocatePeCoffImage() even...
mdkinney [Thu, 1 Oct 2009 23:49:36 +0000 (23:49 +0000)]
Update PEI Core LoadImage() service to always call LoadAndRelocatePeCoffImage() even for XIP PEIMs.  This will guarantee that the PE/COFF Extra Action Lib will be called for all PE/COFF images, even XIP PEIMs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9327 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoCheck to see if the section size of non-zero before failing a load operation due...
mdkinney [Thu, 1 Oct 2009 23:48:00 +0000 (23:48 +0000)]
Check to see if the section size of non-zero before failing a load operation due to a NULL base or end address

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9326 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1) Update PE/COFF file alignment to 4KB to match 4KB section alignment.
mdkinney [Thu, 1 Oct 2009 23:44:00 +0000 (23:44 +0000)]
1) Update PE/COFF file alignment to 4KB to match 4KB section alignment.
2) Align uncompressed PEIMs and PEI Core on a 4K boundary to match the section alignment and file alignment of the PE/COFF images

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9325 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoChange RETURN_STATUS type to UINTN, thus EFI_STATUS is defined as UINTN to align...
qhuang8 [Wed, 30 Sep 2009 06:12:54 +0000 (06:12 +0000)]
Change RETURN_STATUS type to UINTN, thus EFI_STATUS is defined as UINTN to align with recent UEFI 2.3 spec update.

There should be no impact unless code has been written that tests a constant or variable of type EFI_STATUS to be less than 0, or tested it against a negative value. This most likely have not been done.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9324 de2fecce-e211-0410-80a6-f3fac2684e05