Commit Graph

8994 Commits

Author SHA1 Message Date
jcarsey 941b356972 updated Alias, Map, and Env functions per errata.
added parameter direction to doxygen comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9406 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 20:23:01 +00:00
AJFISH 3b533dab13 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9405 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 20:00:37 +00:00
AJFISH 532339b84a 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9404 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 17:54:08 +00:00
qhuang8 60f3d321ce Update Nt32 package to remove UID support .
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9403 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 13:58:41 +00:00
gdong1 aa11588194 Enable UID support in NT32 platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9402 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 10:03:05 +00:00
klu2 c896d68257 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9401 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 08:45:07 +00:00
klu2 9136fc3ce3 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9400 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 08:44:56 +00:00
jcarsey a4ee2a4f92 Adding new library instance for SortLib with built in function for sorting device paths.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9399 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 23:33:11 +00:00
jcarsey 2247dde4b6 Upgrade ShellLib and fix bug with param parsing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9398 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 18:08:58 +00:00
lgao4 b303ea726e Sync tool code to BuildTools project r1739.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9397 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 11:47:35 +00:00
qhuang8 4c913fe619 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9396 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:13:14 +00:00
qhuang8 abc0c38ac3 Add Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name to IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9395 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:12:25 +00:00
qhuang8 5bd462695a 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9394 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:10:55 +00:00
rsun3 7992c0b02d 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9393 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-05 08:53:47 +00:00
vanjeff 44770e5910 fixed typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9392 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 08:39:25 +00:00
tye f6b7393ceb [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
   b. Add NET_IP6_PSEUDO_HDR
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9391 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 08:18:34 +00:00
vanjeff 7be273b7f5 added comments for CAPSULE_HOB_INFO in CapsuleVendor.h (MdeModuleModulePkg).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9390 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 06:51:34 +00:00
vanjeff 61acaac87f 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9389 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 06:51:07 +00:00
xli24 25126a0530 Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9388 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-03 02:39:10 +00:00
xli24 f8dddfdecf Describe update of default status code PCD values in change log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9387 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 07:57:49 +00:00
xli24 312d9360ca Add description comments for status code PCDs with macros defined in PI 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9386 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 04:22:44 +00:00
xli24 86b9d38d0f 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9385 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 04:13:25 +00:00
xli24 fb662e7019 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9384 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 03:22:51 +00:00
lgao4 4e069e8b68 Correct the typo in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9383 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-30 07:08:22 +00:00
tye b45b45b2d2 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9382 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-30 05:11:38 +00:00
vanjeff 72f01d4b4a add back CAPSULE_HOB_INFO definition for back-compatible.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9381 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-29 01:49:20 +00:00
vanjeff 53c13ffba4 remove CAPSULE_HOB_INFO definition from MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9380 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-28 07:54:40 +00:00
vanjeff 019dfb9c28 updated BDS to get capsule information from UEFI capsule HOB instead of CAPSULE_HOB_INFO(one GUIDed HOB).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9379 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-28 07:54:17 +00:00
vanjeff b6b55af34c 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9378 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-28 07:53:32 +00:00
mdkinney 62ba2e4ade 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9377 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-27 22:58:55 +00:00
lgao4 ff28420b56 Correctly get the width of orderedlist question.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9376 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-27 07:55:00 +00:00
tye 3cf888f5f9 Fix the EBC build problem in DxeIpIoLib of r9374.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9375 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-27 02:45:43 +00:00
tye fb115c6150 NetLib:
1. Add new interface Ip6IsValidUnicast 
2. Add new enum IP6_EXTENSION_HEADER_TYPE
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


IpIoLib:
1. Update the IpIoLib to a combined library for both v4 and v6 network stack 
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.

TcpDxe/UdpDxe:
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9374 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 10:15:40 +00:00
vanjeff 326f0711dc Allocated one buffer to for option->description, since it may be released by BdsLibBootViaBootOption().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9373 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 09:38:17 +00:00
lgao4 6d9a0f280d Update comments on setting >= 8 bytes Fv Alignment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9372 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 09:14:47 +00:00
xdu2 a19ad64bf0 Correct the patch in r9367.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9371 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 08:35:38 +00:00
vanjeff 69533312bf set filename with device path for load file devices.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9370 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 07:47:31 +00:00
xdu2 f5006bd99e 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9369 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 07:44:10 +00:00
jchen20 c2a19e9235 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9368 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 06:54:55 +00:00
xdu2 9ecbc6547b 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9367 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 06:47:50 +00:00
xdu2 234dfbf857 Update to align with UEFI 2.3 spec: rename "UEFI_CONFIG_LANG2" to be "UEFI_CONFIG_LANG_2"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9366 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 06:05:35 +00:00
xdu2 a6973cff62 Add example usage of EFI_BROWSER_ACTION_FORM_OPEN and EFI_BROWSER_ACTION_FORM_CLOSE to DriverSample.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9365 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 05:27:28 +00:00
xdu2 ce6d12cce0 Support call of SendForm() from Callback(), i.e. nested call of SendForm().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9364 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 03:06:06 +00:00
xdu2 8b0fc5c1e1 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9363 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 03:05:16 +00:00
xdu2 f4a2af1f4d 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9362 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 03:04:31 +00:00
xdu2 3dde743f62 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9361 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 03:04:08 +00:00
xdu2 d02847d3c0 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9360 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 03:03:47 +00:00
xdu2 d66e6c1687 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9359 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 03:03:12 +00:00
vanjeff 0ce94f384e Set Handle to NULL when creating a new handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9358 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 02:28:49 +00:00
tye 3a15fd5268 Add a MACRO IP6_IS_MULTICAST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9357 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-22 06:32:44 +00:00