summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal
Commit message (Collapse)AuthorAgeFilesLines
* Update HiiConfigAccess.ExtractConfig interface to support NULL request ↵lgao42010-03-045-109/+379
| | | | | | string and ConfigHdr request string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
* Add FormMap form example. lgao42010-02-283-4/+68
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10125 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing check for NULL pointer before use it.lgao42010-02-275-3/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10116 6f19259b-4bc3-4df7-8a09-765794883524
* Refine parameter description according to PI 1.2 errata A.xli242010-02-261-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10109 6f19259b-4bc3-4df7-8a09-765794883524
* Add more code robustness check for modules under MdeModulePkg.rsun32010-02-261-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10108 6f19259b-4bc3-4df7-8a09-765794883524
* Cleanup: Remove PcdDxePcdDatabaseTraverseEnabledjljusten2010-02-251-4/+0
| | | | | | | | gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled does not exist. Remove references to it in .dsc files and within the comments of the DXE PCD driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10092 6f19259b-4bc3-4df7-8a09-765794883524
* Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*jljusten2010-02-256-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10087 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-252-5/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10072 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance SetupBrowser to support new UEFI HiiFormMap featurelgao42010-02-258-96/+1014
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10069 6f19259b-4bc3-4df7-8a09-765794883524
* fixed the bug in .S file to make the EBC driver work for UNIXGCC build.jchen202010-02-241-7/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10055 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-2453-208/+208
| | | | | | 2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance UpdateCapsule () to support calling multiple times.li-elvin2010-02-232-12/+40
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10044 6f19259b-4bc3-4df7-8a09-765794883524
* enhanced Dhcp4Dxe module to clean active configure data when Dhcp4->Stop() ↵vanjeff2010-02-232-4/+22
| | | | | | and Dhcp4->Release() called. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10043 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update GetStringWorker() of HiiDataBaseDxe to only search in other ↵lgao42010-02-223-4/+27
| | | | | | | | language and not update the StringSize to avoid GetString() buffer overflow. 2. Update SetupBrowser to correctly handle ordered list option. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10041 6f19259b-4bc3-4df7-8a09-765794883524
* TPL of Pcd Dxe driver was changed to TPL_CALLBACK from TPL_NOTIFY to follow ↵niruiyu2010-02-221-1/+1
| | | | | | | | UEFI spec that caller of variable interface should run at TPL <= TPL_CALLBACK. The change is to enable PcdsDynamicHii in Duet platform. Duet's variable driver should run at TPL <= TPL_CALLBACK so Pcd Dxe driver should run at TPL <= TPL_CALLBACK. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10040 6f19259b-4bc3-4df7-8a09-765794883524
* Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney2010-02-166-34/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10014 6f19259b-4bc3-4df7-8a09-765794883524
* Update SnpDxe to support dynamic media detect.xdu22010-02-123-212/+241
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9994 6f19259b-4bc3-4df7-8a09-765794883524
* Support HII VOID* dynamic/dynamicEx type PCD.klu22010-02-112-29/+66
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9990 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiDataBase to make sure that the installed StringPackages contains ↵lgao42010-02-111-1/+87
| | | | | | the same number string ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9989 6f19259b-4bc3-4df7-8a09-765794883524
* The fix is for EFI Linux capsule test case can not run.li-elvin2010-02-111-9/+9
| | | | | | It should use runtime library EfiSetVariable, gRT is not converted to virtual address which cause SetVariable failure in EFI Linux. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9986 6f19259b-4bc3-4df7-8a09-765794883524
* GraphicsOutputBlt() need judge parameter klu22010-02-111-1/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9985 6f19259b-4bc3-4df7-8a09-765794883524
* Pass the correct TokenNumber into a CallbackOnSet notification function. ↵mdkinney2010-02-111-28/+22
| | | | | | | | | | | | | The value being passed in was off by 1. This would not normally cause an issue because the correct notification function was being called. There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called. Update the logic so the CallbackOnSet notification functions are not called with the internal PCD database lock in the acquired state. This allows other PCD Get/Set operations to be performed from within a CallbackOnSet notification. Update logic so the PCD database lock is not left in the acquired state when SetWorker() returns EFI_INVALID_PARAMETER. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9981 6f19259b-4bc3-4df7-8a09-765794883524
* Pass the correct TokenNumber into a CallbackOnSet notification function. ↵mdkinney2010-02-111-1/+1
| | | | | | | | | The value being passed in was off by 1. This would not normally cause an issue because the correct notification function was being called. There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9980 6f19259b-4bc3-4df7-8a09-765794883524
* 1. free those inserted NsKeyNode resource when releasing SetKeyBoardLayout ↵erictian2010-02-112-3/+7
| | | | | | | | event. 2. cleanup HiiDataBaseDxe to directly use gEfiHiiKeyBoardLayoutGuid which is used as the guid of event group. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9978 6f19259b-4bc3-4df7-8a09-765794883524
* Coding style fix and minor improvements.rsun32010-02-116-14/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9977 6f19259b-4bc3-4df7-8a09-765794883524
* Add example of Name/Value pair var store to DriverSamplelgao42010-02-115-9/+327
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9975 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build break by do data conversion.lgao42010-02-101-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9963 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiString Protocol and HiiSetString Api in HiiLiblgao42010-02-093-84/+189
| | | | | | | 1. Reserve the unique string identifier for all languages in the package list. 2. Track MaxStringId to do the simple check for the requested StringId > MaxStringId, which can improve performance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9954 6f19259b-4bc3-4df7-8a09-765794883524
* Update MdeModulePkg to not use EFI_SPECIFICATION_VERSION and ↵qhuang82010-02-084-15/+11
| | | | | | PI_SPECIFICATION_VERSION in source code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9951 6f19259b-4bc3-4df7-8a09-765794883524
* Add some security check.xdu22010-02-054-4/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9934 6f19259b-4bc3-4df7-8a09-765794883524
* For network dynamic media support:xdu22010-02-0314-38/+184
| | | | | | | | | | 1. add library function NetLibDetectMedia to NetLib for media detection 2. update MnpDxe to periodically poll for media status update and check for media status before packet transmit 3. update Ip4Dxe to return ModeData using Mnp->GetModeData() 4. update IScsiDxe to check for media status before try to do DHCP and session login 5. update UefiPxeBcDxe to check for media status before PXE start git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9919 6f19259b-4bc3-4df7-8a09-765794883524
* 1. add error handling in case DHCP success but boot request failxdu22010-02-022-0/+8
| | | | | | 2. add UnloadImage to ease debug git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9910 6f19259b-4bc3-4df7-8a09-765794883524
* Add support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it ↵lgao42010-02-022-16/+23
| | | | | | has been updated to new one in UEFI2.1D. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9906 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update the maximum length to 224 in ISCSI_CONFIG_IFR_NVDATA() to store ↵tye12010-02-013-8/+9
| | | | | | | | | | 223 byte name plus one NULL-terminator. 2. Update the minimum length to 4 in VFR file for target/initiator name for requiring prefix “iqn.” 3. Fix the 64bit unalignment exception at IPF due to Rsdt is 32 bit alignment but OemTableId field of Rsdt is UINT64 type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9896 6f19259b-4bc3-4df7-8a09-765794883524
* Get MaxPacketSize from IP4 mode data and reduce the head size of UDP and ↵ljin62010-02-014-11/+29
| | | | | | MTFTP, and take it as BlockSize to download. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9894 6f19259b-4bc3-4df7-8a09-765794883524
* Remove micro definition for smbios version, instead we use a PCD value to ↵li-elvin2010-02-013-13/+15
| | | | | | let user customize smbios version better. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9893 6f19259b-4bc3-4df7-8a09-765794883524
* Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF ↵mdkinney2010-01-299-69/+65
| | | | | | | | | | sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays. Do some minor clean ups to INF files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9868 6f19259b-4bc3-4df7-8a09-765794883524
* Enhanced TerminalDxe module not to install Simple Text(ex) input protocol ↵vanjeff2010-01-282-460/+687
| | | | | | and Simple Text output protocol, if the device path to the handle is not present in the ConIn and ConOut/ConErr environment variables. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9852 6f19259b-4bc3-4df7-8a09-765794883524
* Remove redundant arch definition in UefiPxeBcDxe.ljin62010-01-286-163/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9851 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add comments in INF file to describe limitation.xli242010-01-282-15/+11
| | | | | | 2. Return EFI_UNSUPPORTED where reasonable. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9850 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the issue of duplicated SYS_ARCH in MdeModulePkg\UefiPxeBcDxe.ljin62010-01-283-24/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9848 6f19259b-4bc3-4df7-8a09-765794883524
* Remove reference to PCDs of status code value. Use macros introduced in ↵xli242010-01-277-23/+14
| | | | | | PI1.2 instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9833 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue that the protocol field in IPv4 and IPv6 is does not reflect ↵qhuang82010-01-253-10/+79
| | | | | | the RFC1700 real value: In RFC1700, UDP value is 17 while TCP value is 6. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9804 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in Udp4IcmpHandler, it should not add special checking for Icmp ↵tye12010-01-251-11/+2
| | | | | | message. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9801 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed a bug in Ip4HandleIcmpError, it should pass over the whole ICMP error ↵tye12010-01-251-3/+3
| | | | | | message if user wants. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9800 6f19259b-4bc3-4df7-8a09-765794883524
* SMM driver should link UefiRuntimeLib.hhtian2010-01-231-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9795 6f19259b-4bc3-4df7-8a09-765794883524
* Improve coding style in MdeModulePkg.rsun32010-01-1918-296/+321
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9793 6f19259b-4bc3-4df7-8a09-765794883524
* Fix some coding style issues in MdeModulePkg.rsun32010-01-159-14/+36
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9774 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI 1.2 spec Vol 3 chapter 8 PCD, if the PCD service determined ↵klu22010-01-144-8/+12
| | | | | | | | that the size of the data being set was incompatible with a call to this function, PCD_PPI/PROTOCOL's SetXEx interfaces should be return EFI_INVALID_PARAEMTER instead of ASSERT(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9753 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib ↵rsun32010-01-141-1/+1
| | | | | | API to get the PCD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9751 6f19259b-4bc3-4df7-8a09-765794883524