summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)AuthorFilesLines
2009-05-20Update HiiDataBase to fix the SCT hang issues by the invalid device path.lgao45-57/+219
Update the driver config access protocol extractconfig and routeconfig interface to check the input parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8349 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20Replace .globl with ASM_GLOBALxli245-37/+37
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-201. Remove .extern from GCC assembly.xli241-5/+5
2. Define macro for .global/.globl in GCC assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20enhanced to support more routing table entry.vanjeff1-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8342 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20rename array name to avoid naming collision.vanjeff2-9/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8340 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-191.fixed some issue to pass HII sctvanjeff2-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
2009-05-19Fix K8 and Sct failure.lgao43-58/+109
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8337 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19don't set all bytes in TargetID as zero. This change is made due to keep ↵eric_tian1-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
2009-05-19Fix a bug in the SCSI Bus driver due to which some SCSI devices can not be ↵rsun31-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
2009-05-19update the check condition of PASS THRU interface to pass Uefi sct test.eric_tian1-1/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8326 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18Fix K8 issues in HiiDataBaselgao43-113/+194
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8325 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18Correct DriverSample to produce the ConfigAccess protocollgao42-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
2009-05-181. remove duplicated set operation on UGA device.vanjeff3-37/+46
2. update some typo. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8320 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, ↵lgao44-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
2009-05-15Add check for NULL pointer.gikidy1-7/+12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8318 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-14Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have ↵lgao44-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
2009-05-141. Update the implementation of HII ConfigRouting Protocol in HiiDataBase ↵lgao49-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
2009-05-13fixed typo.vanjeff2-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8310 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-131. retired NicIp4ConfigProtocolGuidvanjeff15-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
2009-05-13Add a check for CreateQuestion may be return NULL. gikidy1-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8308 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.vanjeff1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Minor update the function interface for three re-allocate pool APIs to check ↵qhuang81-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
2009-05-11Add conformance check for OldBuffer and size even if the memory allocation ↵qhuang81-7/+11
fails. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11fix the typo in DxeCoreeric_tian2-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8292 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11ConfigRouting should get driver handle by device path in all drivers ↵vanjeff1-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
2009-05-09Update comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to ↵mdkinney1-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
2009-05-08Fix bug in Reallocate Pool functions in DXE Core Memory Allocation Lib. The ↵mdkinney1-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
2009-05-08SetMode() should clear screen per UEFI spec.vanjeff1-4/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8264 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08Update SetupBrowserDxe and BdsDxe to use an internal string for prompting ↵rsun31-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
2009-05-08Update HiiDataBase driver to use GetBestLanguage() for matching RFC 4646 ↵rsun33-61/+20
languages. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8262 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-07Fix DEC issue for MdeModulePkg:klu21-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
2009-05-06Synchronize PCD_Infrastructure 0.55 with source code.klu24-50/+88
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8249 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06correct the minor format.lgao41-2/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8244 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04Fix a bug in UefiHiiLib. The size for allocating a buffer is StrSize instead ↵rsun31-1/+1
of StrLen. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8235 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04Fix a bug that L"PlatformLang" must be a null-terminated ASCII string ↵qhuang82-2/+2
according to UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8232 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Correct HiiGetBrowserData API usage.lgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8224 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Replace references to RFC 3066 with RFC 4646. gikidy3-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8219 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30HiiLib exports HiiCreateRawOpCode APIlgao42-2/+24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8216 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Replace references to RFC 3066 with RFC 4646. gikidy45-126/+126
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8212 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30update to pass GCC build as we replace VA_START with __builtin_va_starteric_tian1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8209 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29Acquire & Release the lock from the high level variable servicejljusten1-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
2009-04-29fixed 2 k8 issues.vanjeff1-39/+44
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8204 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28Fix bug in variable driver about the incorrect usage for GetBestLanguage(), ↵qhuang82-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
2009-04-28updateeric_tian1-2/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8194 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28Add ASSERT when EFI decompress need to be parsed but it is not supported.lgao41-0/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8191 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27Add PcdDxeIplSupportUefiDecompress usage into DxeIpl to save spacejljusten2-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
2009-04-27Add gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompressjljusten1-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
2009-04-27update platformlangcodes and langcodes to adapt new language convert algorithm.eric_tian7-496/+1239
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8184 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27Update HiiGetBrowserData APIlgao46-99/+52
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8176 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27Fix the bug that the "Offset" parameter for DiskIo protocol should be ↵qhuang83-10/+10
byte-oriented. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8175 6f19259b-4bc3-4df7-8a09-765794883524