summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
Commit message (Collapse)AuthorAgeFilesLines
* 1.fixed some issue to pass HII sctvanjeff2009-05-192-4/+20
| | | | | | 2.supported more route table accessed by HII service. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8338 6f19259b-4bc3-4df7-8a09-765794883524
* Fix K8 and Sct failure.lgao42009-05-193-58/+109
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8337 6f19259b-4bc3-4df7-8a09-765794883524
* don't set all bytes in TargetID as zero. This change is made due to keep ↵eric_tian2009-05-191-1/+1
| | | | | | consistent with GetNextTargetLun and GetTargetLun git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8336 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in the SCSI Bus driver due to which some SCSI devices can not be ↵rsun32009-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | discovered. Per SCSI spec, the standard INQUIRY data shall contain at least 36 bytes and the length of the data is variable. The definition /// /// Standard INQUIRY data format /// typedef struct { UINT8 Peripheral_Type : 5; UINT8 Peripheral_Qualifier : 3; UINT8 DeviceType_Modifier : 7; UINT8 Rmb : 1; UINT8 Version; UINT8 Response_Data_Format; UINT8 Addnl_Length; UINT8 Reserved_5_95[95 - 5 + 1]; } EFI_SCSI_INQUIRY_DATA; is longer than 36 bytes and EFI_BAD_BUFFER_SIZE may be returned if the actual inquiry data is less than that of EFI_SCSI_INQUIRY_DATA. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8329 6f19259b-4bc3-4df7-8a09-765794883524
* update the check condition of PASS THRU interface to pass Uefi sct test.eric_tian2009-05-191-1/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8326 6f19259b-4bc3-4df7-8a09-765794883524
* Fix K8 issues in HiiDataBaselgao42009-05-183-113/+194
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8325 6f19259b-4bc3-4df7-8a09-765794883524
* Correct DriverSample to produce the ConfigAccess protocollgao42009-05-182-16/+35
| | | | | | And fix the bug in HiiDataBase to incorrectly free pool. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8321 6f19259b-4bc3-4df7-8a09-765794883524
* 1. remove duplicated set operation on UGA device.vanjeff2009-05-183-37/+46
| | | | | | 2. update some typo. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8320 6f19259b-4bc3-4df7-8a09-765794883524
* Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, ↵lgao42009-05-184-465/+28
| | | | | | which are replaced by HiiSetToDefaults API. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8319 6f19259b-4bc3-4df7-8a09-765794883524
* Add check for NULL pointer.gikidy2009-05-151-7/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8318 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have ↵lgao42009-05-144-26/+54
| | | | | | no varstore and question, they has no the built in default value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8314 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update the implementation of HII ConfigRouting Protocol in HiiDataBase ↵lgao42009-05-149-260/+3415
| | | | | | | | | | | module to follow new ECRs. 1) ConfigRouting Protocol ExtractConfig interface must return the default values built in IFR that were not returned by ConfigAccess.ExtractConfig. 2) The parameters of ConfigRouting Protocol interfaces are clarified to the specific configuration string syntax. 2. Implement the last two HiiLib interfaces: HiiSetToDefaults and HiiValidateSettings. 3. Update DriverSample driver to use these two APIs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8313 6f19259b-4bc3-4df7-8a09-765794883524
* fixed typo.vanjeff2009-05-132-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8310 6f19259b-4bc3-4df7-8a09-765794883524
* 1. retired NicIp4ConfigProtocolGuidvanjeff2009-05-1315-292/+1734
| | | | | | | 2. moved NicIp4ConfigVariableGuid to Include/Guid/NicIp4ConfigNvData.h 3. updated Ip4ConfigDxe module to publish one setup page to Get/Set network parameters. Also, Ip4ConfgiDxe installed EFI HII Config Access protocol for each network devices. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8309 6f19259b-4bc3-4df7-8a09-765794883524
* Add a check for CreateQuestion may be return NULL. gikidy2009-05-131-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8308 6f19259b-4bc3-4df7-8a09-765794883524
* fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.vanjeff2009-05-121-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
* Minor update the function interface for three re-allocate pool APIs to check ↵qhuang82009-05-121-12/+8
| | | | | | the conformance of OldBuffer only when the memory allocation succeeds. In this way the assert condition is covered by CopyMem () API in BaseMemoryLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8296 6f19259b-4bc3-4df7-8a09-765794883524
* Add conformance check for OldBuffer and size even if the memory allocation ↵qhuang82009-05-111-7/+11
| | | | | | fails. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
* fix the typo in DxeCoreeric_tian2009-05-112-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8292 6f19259b-4bc3-4df7-8a09-765794883524
* ConfigRouting should get driver handle by device path in all drivers ↵vanjeff2009-05-111-62/+21
| | | | | | database in system, not only in Hii Package list database. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8284 6f19259b-4bc3-4df7-8a09-765794883524
* Update comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to ↵mdkinney2009-05-091-3/+6
| | | | | | match updates to MemoryAllocationLib.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8276 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug in Reallocate Pool functions in DXE Core Memory Allocation Lib. The ↵mdkinney2009-05-081-10/+9
| | | | | | wrong memory type was being allocated. This syncs the DXE Core Memory Allocation Lib with the fix that was previously made to the UEFI Memory Allocation Lib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8270 6f19259b-4bc3-4df7-8a09-765794883524
* SetMode() should clear screen per UEFI spec.vanjeff2009-05-081-4/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8264 6f19259b-4bc3-4df7-8a09-765794883524
* Update SetupBrowserDxe and BdsDxe to use an internal string for prompting ↵rsun32009-05-081-1/+6
| | | | | | string missing instead of ASSERT if it fails to get a string for separate module's forms. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8263 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiDataBase driver to use GetBestLanguage() for matching RFC 4646 ↵rsun32009-05-083-61/+20
| | | | | | languages. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8262 6f19259b-4bc3-4df7-8a09-765794883524
* Fix DEC issue for MdeModulePkg:klu22009-05-071-5/+1
| | | | | | | 1, Remove unused library class NewHiiLib 2, Use relative path for library class UefiHiiServicesLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8254 6f19259b-4bc3-4df7-8a09-765794883524
* Synchronize PCD_Infrastructure 0.55 with source code.klu22009-05-064-50/+88
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8249 6f19259b-4bc3-4df7-8a09-765794883524
* correct the minor format.lgao42009-05-061-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8244 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in UefiHiiLib. The size for allocating a buffer is StrSize instead ↵rsun32009-05-041-1/+1
| | | | | | of StrLen. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8235 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug that L"PlatformLang" must be a null-terminated ASCII string ↵qhuang82009-05-042-2/+2
| | | | | | according to UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8232 6f19259b-4bc3-4df7-8a09-765794883524
* Correct HiiGetBrowserData API usage.lgao42009-04-301-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8224 6f19259b-4bc3-4df7-8a09-765794883524
* Replace references to RFC 3066 with RFC 4646. gikidy2009-04-303-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8219 6f19259b-4bc3-4df7-8a09-765794883524
* HiiLib exports HiiCreateRawOpCode APIlgao42009-04-302-2/+24
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8216 6f19259b-4bc3-4df7-8a09-765794883524
* Replace references to RFC 3066 with RFC 4646. gikidy2009-04-3045-126/+126
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8212 6f19259b-4bc3-4df7-8a09-765794883524
* update to pass GCC build as we replace VA_START with __builtin_va_starteric_tian2009-04-301-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8209 6f19259b-4bc3-4df7-8a09-765794883524
* Acquire & Release the lock from the high level variable servicejljusten2009-04-291-7/+7
| | | | | | | | | routines similar to MdeModulePkg/Universal/Variable/RuntimeDxe. When the Acquire was in the FindVariable routine, is was being called by both EmuSetVariable and again in AutoUpdateLangVariable, which caused an ASSERT to fail. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8205 6f19259b-4bc3-4df7-8a09-765794883524
* fixed 2 k8 issues.vanjeff2009-04-291-39/+44
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8204 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug in variable driver about the incorrect usage for GetBestLanguage(), ↵qhuang82009-04-282-4/+4
| | | | | | which expects the NULL to be the last var arg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8195 6f19259b-4bc3-4df7-8a09-765794883524
* updateeric_tian2009-04-281-2/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8194 6f19259b-4bc3-4df7-8a09-765794883524
* Add ASSERT when EFI decompress need to be parsed but it is not supported.lgao42009-04-281-0/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8191 6f19259b-4bc3-4df7-8a09-765794883524
* Add PcdDxeIplSupportUefiDecompress usage into DxeIpl to save spacejljusten2009-04-272-46/+53
| | | | | | if UEFI decompression is not needed to find the DXE Core. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8190 6f19259b-4bc3-4df7-8a09-765794883524
* Add gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompressjljusten2009-04-271-1/+6
| | | | | | | | | | | | | | to MdeModulePkg. Remove references to previously deprecated PCDs (Nt32Pkg, UnixPkg): * PcdDxeIplSupportCustomDecompress * PcdDxeIplSupportTianoDecompress * PcdDxeIplBuildShareCodeHobs Rename references from PcdDxeIplSupportEfiDecompress to PcdDxeIplSupportUefiDecompress in Nt32Pkg & UnixPkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8189 6f19259b-4bc3-4df7-8a09-765794883524
* update platformlangcodes and langcodes to adapt new language convert algorithm.eric_tian2009-04-277-496/+1239
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8184 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiGetBrowserData APIlgao42009-04-276-99/+52
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8176 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug that the "Offset" parameter for DiskIo protocol should be ↵qhuang82009-04-273-10/+10
| | | | | | byte-oriented. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8175 6f19259b-4bc3-4df7-8a09-765794883524
* update DriverSample driver unload function to remove the installed package list.lgao42009-04-241-13/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8171 6f19259b-4bc3-4df7-8a09-765794883524
* Merge application PlatOverMngr and library DxePlatDriOverLib into driver ↵lgao42009-04-2414-1250/+869
| | | | | | PlatDriOverrideDxe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8169 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build break.lgao42009-04-233-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8158 6f19259b-4bc3-4df7-8a09-765794883524
* Retire IfrSupportLib and ExtendedIfrSupportLib, which have been replaced by ↵lgao42009-04-232-1020/+0
| | | | | | HiiLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8152 6f19259b-4bc3-4df7-8a09-765794883524
* Retire IfrSupportLib and ExtendedIfrSupportLib, which have been replaced by ↵lgao42009-04-2310-3531/+1
| | | | | | HiiLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8151 6f19259b-4bc3-4df7-8a09-765794883524