summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-20fix a typo of missing a colon sign after a label symbol.eric_tian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8339 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-19Correct the dummy ConfigAccess Extract and RouteConfig behavior according to ↵lgao41-1/+10
UEFI specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8335 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19Add back logic to encode LUN in CDB for compatibility with SCSI-2 spec, ↵rsun31-2/+56
although LUN encoding in CDB is changed to be reserved in SCSI-3 spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8334 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19Fix the unaligned issue of PCI read/write buffer.xli244-24/+24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8333 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19fix a typo of missing a colon sign after a label symbol.eric_tian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19Fix bugs in the UEFI SCSI Library.rsun31-56/+2
1. LUN number should not be encoded in CDB. 2. Left shift the PageControl field by 6 bits in ScsiModeSense10Command(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8331 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19As ECP package is EDKI style, the AutoGen.h will not include anything. So if ↵eric_tian104-101/+105
we use some basic data structures, we should manually include EdkIIGlueBase.h file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8330 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-19change the error usage of "#if __GNUC__" Condition Macro to "#if ↵eric_tian2-2/+2
defined(__GNUC__)" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19Add BaseLib for BaseCpuLib.inf.xli241-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8327 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-181. Clean up MdePkg internal header fileslgao420-141/+130
The header files in MdePkg/Include/Ia32, X64, Ipf, Ebc, Pi, Uefi directories are the internal header files, which should not be directly included by the modules. This patch cleans these internal header files to remove the uncessary ProcessorBind.h file. 2. Clean up MdePkg public header files to remove the uncessary internal header files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8324 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18Originally, there are following implementation:klu21-0/+0
1) The collect action of platform's dynamic PCD database is trigged by module's autogen action. 2) If platform is used for more than one architecture, two platform object will be created Above two rules will cause an issue for single module building that if 1) platform support IA32 and X64 2) do single module for X64 module then, the dynamic PCD for IA32 modules will missed in PCD database, because no IA32 module need autogen so collection action for IA32 module is not trigged. Now, I think the collection action for platform dynamic PCD should be explicitly called after PlatformAutoGen is created. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8323 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18add one comment when destroy the buffer.vanjeff1-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8322 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-15cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is ↵eric_tian104-254/+254
used to generate underscore prior to public symbol or not within various GCC distribution versions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8317 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is ↵eric_tian33-66/+66
used to generate underscore prior to public symbol or not within various GCC distribution versions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8316 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15Update CpuSleep() for IPF.xli241-2/+36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8315 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-141. Add address check for "RegisterForRuntime" APIs of PciLib, PciCf8Lib, ↵xli249-25/+33
PciExpressLib, and PciSegmentLib. 2. Update ASSERT condition for PciCf8Lib, and PciSegmentLib class. 3. According to MDE Lib Spec, add check for reserved bit field 63..48 for PCI segment address. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8311 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-13Refine code for PeiReportStatusCodeLib.xli242-24/+33
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8306 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13Fix bug for -b optionklu21-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8305 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13Add checking for configuration template file.klu21-0/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8304 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Add valid range checking for count of multi-threadklu21-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8303 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Add checking for options number to avoid user's confusion. The corresponding ↵klu23-0/+0
patch in source is r1583 in build tools project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8302 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Make improvement that if target directory does not exist, create it. This ↵klu21-0/+0
patch is corresponding to r1582 in build tool project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8301 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Make tool more intelligence for missing configuration item. The ↵klu21-0/+0
corresponding version number is r1581 in build tools project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8300 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.vanjeff3-8/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Update GenFw help usage information to clarify -z option.lgao41-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8298 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Fix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the ↵rsun31-2/+2
length of SearchString is zero, then String is returned. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8297 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Minor update the function interface for three re-allocate pool APIs to check ↵qhuang84-42/+30
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-11fixed to build under IPF.jcarsey14-459/+1406
Refactored some commands into FileHandleLib since they are used in many binaries. Added .h for GUID that was missing. Added PCD for initialization of shell apps and shell itself in shell library interaction. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8295 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add conformance check for OldBuffer and size even if the memory allocation ↵qhuang84-24/+36
fails. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add more validation for input parameters.klu21-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8293 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-11Fix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib qhuang82-18/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8291 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add warning message that tool chain tag will be ignored if user provide ↵klu21-0/+0
output directory from command line explicitly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8290 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11In PrintXY() and AsciiPrintXY(), the number of chartacter returned is at ↵eric_tian1-2/+1
most PcdUefiLibMaxPrintBufferSize, and will return the number of characters actually displayed on the screen not includng partial characters that may be clipped by the right edge of the display. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8289 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add Fv name checking for build.exe if user gives FV name from command line. ↵klu21-0/+0
originally, this checking is only done by GenFds tool, that is too later. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8288 6f19259b-4bc3-4df7-8a09-765794883524