summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add back logic to encode LUN in CDB for compatibility with SCSI-2 spec, ↵rsun32009-05-191-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
* Fix the unaligned issue of PCI read/write buffer.xli242009-05-194-24/+24
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8333 6f19259b-4bc3-4df7-8a09-765794883524
* fix a typo of missing a colon sign after a label symbol.eric_tian2009-05-191-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bugs in the UEFI SCSI Library.rsun32009-05-191-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
* As ECP package is EDKI style, the AutoGen.h will not include anything. So if ↵eric_tian2009-05-19104-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
* 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
* change the error usage of "#if __GNUC__" Condition Macro to "#if ↵eric_tian2009-05-192-2/+2
| | | | | | defined(__GNUC__)" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524
* Add BaseLib for BaseCpuLib.inf.xli242009-05-191-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8327 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
* 1. Clean up MdePkg internal header fileslgao42009-05-1820-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
* Originally, there are following implementation:klu22009-05-181-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
* add one comment when destroy the buffer.vanjeff2009-05-181-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8322 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
* cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is ↵eric_tian2009-05-15104-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
* cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is ↵eric_tian2009-05-1533-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
* Update CpuSleep() for IPF.xli242009-05-151-2/+36
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8315 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
* 1. Add address check for "RegisterForRuntime" APIs of PciLib, PciCf8Lib, ↵xli242009-05-149-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
* 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
* Refine code for PeiReportStatusCodeLib.xli242009-05-132-24/+33
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8306 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug for -b optionklu22009-05-131-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8305 6f19259b-4bc3-4df7-8a09-765794883524
* Add checking for configuration template file.klu22009-05-131-0/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8304 6f19259b-4bc3-4df7-8a09-765794883524
* Add valid range checking for count of multi-threadklu22009-05-121-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8303 6f19259b-4bc3-4df7-8a09-765794883524
* Add checking for options number to avoid user's confusion. The corresponding ↵klu22009-05-123-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
* Make improvement that if target directory does not exist, create it. This ↵klu22009-05-121-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
* Make tool more intelligence for missing configuration item. The ↵klu22009-05-121-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
* fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.vanjeff2009-05-123-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
* Update GenFw help usage information to clarify -z option.lgao42009-05-121-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8298 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the ↵rsun32009-05-121-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
* Minor update the function interface for three re-allocate pool APIs to check ↵qhuang82009-05-124-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
* fixed to build under IPF.jcarsey2009-05-1114-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
* Add conformance check for OldBuffer and size even if the memory allocation ↵qhuang82009-05-114-24/+36
| | | | | | fails. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
* Add more validation for input parameters.klu22009-05-111-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8293 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
* Fix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib qhuang82009-05-112-18/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8291 6f19259b-4bc3-4df7-8a09-765794883524
* Add warning message that tool chain tag will be ignored if user provide ↵klu22009-05-111-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
* In PrintXY() and AsciiPrintXY(), the number of chartacter returned is at ↵eric_tian2009-05-111-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
* Add Fv name checking for build.exe if user gives FV name from command line. ↵klu22009-05-111-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
* Fix bug that trim crash when no parameter is input.klu22009-05-111-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8287 6f19259b-4bc3-4df7-8a09-765794883524
* Remove -c option for GenFds tool because it does not defined in build ↵klu22009-05-111-0/+0
| | | | | | specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8286 6f19259b-4bc3-4df7-8a09-765794883524
* Update TargetTools for add set/get/clean BUILD_RULE_CONF option for ↵klu22009-05-111-0/+0
| | | | | | target.txt file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8285 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
* add the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and ↵eric_tian2009-05-112-0/+24
| | | | | | | | BasePeCoffRelocateImageForRuntime to help user to know the usage model of these APIs. The comments mainly used to clarify it's caller's responsibility to to perform cache maintenance operations git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8283 6f19259b-4bc3-4df7-8a09-765794883524