]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
14 years agoAdd IdeControllerDxe driver. This driver is very similar to
jljusten [Wed, 27 May 2009 21:09:58 +0000 (21:09 +0000)]
Add IdeControllerDxe driver.  This driver is very similar to
edk.tianocore.org (Edk) Edk/Sample/Bus/Pci/IdeController/Dxe.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8397 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd a simple PCI host bridge driver.
jljusten [Wed, 27 May 2009 21:09:52 +0000 (21:09 +0000)]
Add a simple PCI host bridge driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8396 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd CPU DXE driver for IA32 & X64 processor architectures.
jljusten [Wed, 27 May 2009 21:09:47 +0000 (21:09 +0000)]
Add CPU DXE driver for IA32 & X64 processor architectures.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8395 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd MTRR library for IA32 & X64 processor architectures.
jljusten [Wed, 27 May 2009 21:09:39 +0000 (21:09 +0000)]
Add MTRR library for IA32 & X64 processor architectures.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8394 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix the bug that build tool and PCD driver can not deal with byte array or ANSIC...
klu2 [Wed, 27 May 2009 11:34:11 +0000 (11:34 +0000)]
Fix the bug that build tool and PCD driver can not deal with byte array or ANSIC type value for dynamic PCD.
This patch including following change:
1) Build tools:
   a) StringTable in generated PCD database is changed to UINT8 array but not original UINT16, because it can also stored the ANSIC and byte array.
   b) The layout of string table in PCD database is changed. To make sure unicode string is in double byte aligned, the item in string table which hold unicode string value will be put ahead than other items. After unicode string item, the HII variable name item is immediate. The byte array item and ANSIC string array item will be put at tail of whole string table.
   c) Fix bug that build tools does not handle the size of unicode string, byte array and ANSIC string.
2) PCD PEI/DXE driver:
   The pointer of StringTable is changed to UINT8* but not original UINT16*.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8392 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoCorrect one minor instruction to clear the lower 4 bits of r11.
qhuang8 [Tue, 26 May 2009 12:04:46 +0000 (12:04 +0000)]
Correct one minor instruction to clear the lower 4 bits of r11.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8391 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in...
qhuang8 [Tue, 26 May 2009 11:41:12 +0000 (11:41 +0000)]
Fix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in above 4G table memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8390 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoupdate comments on implementation
eric_tian [Tue, 26 May 2009 10:04:43 +0000 (10:04 +0000)]
update comments on implementation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8389 6f19259b-4bc3-4df7-8a09-765794883524

14 years agosync the StrToImage flag of UGA to consistent with GOP
eric_tian [Tue, 26 May 2009 10:01:46 +0000 (10:01 +0000)]
sync the StrToImage flag of UGA to consistent with GOP

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8388 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoCorrect GenPage to get the input option value.
lgao4 [Tue, 26 May 2009 09:01:42 +0000 (09:01 +0000)]
Correct GenPage to get the input option value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8387 6f19259b-4bc3-4df7-8a09-765794883524

14 years agofix a bug of incorrectly judge the end of variable arguments.
eric_tian [Tue, 26 May 2009 07:27:13 +0000 (07:27 +0000)]
fix a bug of incorrectly judge the end of variable arguments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8386 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoCorrect the parameter parser of GenBootSector.
lgao4 [Tue, 26 May 2009 07:26:08 +0000 (07:26 +0000)]
Correct the parameter parser of GenBootSector.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8385 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRoll back changes to apply GetBestLanguage() in HiiDataBase. Exact language match...
rsun3 [Tue, 26 May 2009 03:48:50 +0000 (03:48 +0000)]
Roll back changes to apply GetBestLanguage() in HiiDataBase. Exact language match should be used in HiiDatabase.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8384 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate build.exe after StrGather python script was changed.
rsun3 [Tue, 26 May 2009 03:40:56 +0000 (03:40 +0000)]
Update build.exe after StrGather python script was changed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8383 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRemove the tool PcdSyntaxUpdate.exe. This tool is an obsolete tool. It is added to...
lgao4 [Tue, 26 May 2009 03:05:07 +0000 (03:05 +0000)]
Remove the tool PcdSyntaxUpdate.exe. This tool is an obsolete tool. It is added to be used to update PCD format according to INF 0.44, DEC 0.41, DSC 0.40. But, now EDKII code base conforms to the newest public 1.1 version INF, DEC and DSC spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8382 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoCorrect the check to the valid device path. The device path can't be less than the...
lgao4 [Tue, 26 May 2009 01:49:53 +0000 (01:49 +0000)]
Correct the check to the valid device path. The device path can't be less than the basic header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8381 6f19259b-4bc3-4df7-8a09-765794883524

14 years agochange ISO 639-2 language codes to RFC 4646 codes in .UNI files
rsun3 [Mon, 25 May 2009 09:57:27 +0000 (09:57 +0000)]
change ISO 639-2 language codes to RFC 4646 codes in .UNI files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8380 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix minor bug in tools.
lgao4 [Mon, 25 May 2009 08:24:08 +0000 (08:24 +0000)]
Fix minor bug in tools.
1. Incorrect usage help of TianoCompress tool
2. Wrong check for the input parameters of GenVtf tool.
3. The potential issues to get FFS files in GenFv tool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8379 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd the checking to the input parameter of tools.
lgao4 [Mon, 25 May 2009 05:53:00 +0000 (05:53 +0000)]
Add the checking to the input parameter of tools.
Support the tool parameter options according to tool user manual.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8378 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix linked list loops
mdkinney [Fri, 22 May 2009 23:31:56 +0000 (23:31 +0000)]
Fix linked list loops

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8377 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoTerminate the Capability List traversal if the Capability Pointer is less than 0x40...
mdkinney [Thu, 21 May 2009 22:26:19 +0000 (22:26 +0000)]
Terminate the Capability List traversal if the Capability Pointer is less than 0x40, or the Capability Pointer is not aligned on a 32-bit boundary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8376 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoTerminate the Capability List traversal if the Capability Pointer is less than 0x40...
mdkinney [Thu, 21 May 2009 22:25:38 +0000 (22:25 +0000)]
Terminate the Capability List traversal if the Capability Pointer is less than 0x40, or the Capability Pointer is not aligned on a 32-bit boundary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8375 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate module to show real dependencies on the MemoryAllocationLib
mdkinney [Thu, 21 May 2009 18:36:30 +0000 (18:36 +0000)]
Update module to show real dependencies on the MemoryAllocationLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8374 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoupdate the file description of PrintXY and AsciiPrintXY. and also refine the implemen...
eric_tian [Thu, 21 May 2009 10:04:21 +0000 (10:04 +0000)]
update the file description of PrintXY and AsciiPrintXY. and also refine the implementation to return the number of actual printed characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8373 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoupdate the file description of PrintXY and AsciiPrintXY. and also refine the implemen...
eric_tian [Thu, 21 May 2009 10:02:33 +0000 (10:02 +0000)]
update the file description of PrintXY and AsciiPrintXY. and also refine the implementation to return the number of actual printed characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8372 6f19259b-4bc3-4df7-8a09-765794883524

14 years agorefine the implementation of HiiStringToImage:
eric_tian [Thu, 21 May 2009 09:41:59 +0000 (09:41 +0000)]
refine the implementation of HiiStringToImage:
1. Remove the limitation of MAX_STRING_LENGTH and according to actual string length to store glyph info
2. fix a issue when print multi-lines, the next line will overlaps the above line. The original implementation doesn't recalculate the start point of X/Y axis.
3. refine the flow to avoid the meaningless recursive call.
4. modify the usage of "Index" to force them 1/1 mapping between glyphbuf and string. So the RowInfoArray and ColumnInfoArray can reflect the actual situation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8371 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoupdate the implementation of InternalPrintGraphic to reflect the number of actual...
eric_tian [Thu, 21 May 2009 09:27:29 +0000 (09:27 +0000)]
update the implementation of InternalPrintGraphic to reflect the number of actual printed character

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8370 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate revision reference tag.
gikidy [Thu, 21 May 2009 09:04:03 +0000 (09:04 +0000)]
Update revision reference tag.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8369 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoBuild tool need generate different value macro's name for PatchableInModule type...
klu2 [Thu, 21 May 2009 08:43:22 +0000 (08:43 +0000)]
Build tool need generate different value macro's name for PatchableInModule type PCD against FixedAtBuild PCD.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8368 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoSynchronize code with specs.
gikidy [Thu, 21 May 2009 06:11:39 +0000 (06:11 +0000)]
Synchronize code with specs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8367 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoSynchronize code with specs.
gikidy [Thu, 21 May 2009 06:08:25 +0000 (06:08 +0000)]
Synchronize code with specs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8366 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate DriverSample and PlatDriOverrideDxe driver to correct the return value for...
lgao4 [Thu, 21 May 2009 05:05:59 +0000 (05:05 +0000)]
Update DriverSample and PlatDriOverrideDxe driver to correct the return value for ConfigAccess ExtractConfig interface.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8365 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix the bug that TAB character in uni file make unicode string missing in autogen...
klu2 [Thu, 21 May 2009 04:39:36 +0000 (04:39 +0000)]
Fix the bug that TAB character in uni file make unicode string missing in autogen file. Corresponding version in build tool project is r1592.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8364 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix ScsiLib build break by << operator, which is replaced by LShiftU64 of BaseLib.
lgao4 [Thu, 21 May 2009 03:26:42 +0000 (03:26 +0000)]
Fix ScsiLib build break by << operator, which is replaced by LShiftU64 of BaseLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8363 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRemove __APPLE__ usage in ProcessorBind.h files.
xli24 [Thu, 21 May 2009 02:24:02 +0000 (02:24 +0000)]
Remove __APPLE__ usage in ProcessorBind.h files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8362 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoClean up GenericBdsLib.h to remove unnecessary include header files.
lgao4 [Thu, 21 May 2009 01:50:05 +0000 (01:50 +0000)]
Clean up GenericBdsLib.h to remove unnecessary include header files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8361 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate modules to show real dependencies on the BaseMemoryLib and MemoryAllocationLib
mdkinney [Wed, 20 May 2009 23:15:47 +0000 (23:15 +0000)]
Update modules to show real dependencies on the BaseMemoryLib and MemoryAllocationLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8360 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd includes for definitions used by the DxeIpIoLib and DxeNetLib
mdkinney [Wed, 20 May 2009 23:14:35 +0000 (23:14 +0000)]
Add includes for definitions used by the DxeIpIoLib and DxeNetLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8359 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRemove redundant #include statements
mdkinney [Wed, 20 May 2009 23:13:01 +0000 (23:13 +0000)]
Remove redundant #include statements

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8358 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRemove redundant #include statements
mdkinney [Wed, 20 May 2009 22:06:20 +0000 (22:06 +0000)]
Remove redundant #include statements

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8357 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRemove redundant #include
mdkinney [Wed, 20 May 2009 20:20:14 +0000 (20:20 +0000)]
Remove redundant #include

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8356 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate #ifndef to match the name of the include file.
mdkinney [Wed, 20 May 2009 20:07:36 +0000 (20:07 +0000)]
Update #ifndef to match the name of the include file.

Remove extra #include

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8355 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate MNP driver to declare its dependency on the BaseLib
mdkinney [Wed, 20 May 2009 20:05:06 +0000 (20:05 +0000)]
Update MNP driver to declare its dependency on the BaseLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8354 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate USB Mass Storage driver to declare its dependency on the BaseLib
mdkinney [Wed, 20 May 2009 20:04:23 +0000 (20:04 +0000)]
Update USB Mass Storage driver to declare its dependency on the BaseLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8353 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd #include Acpi.h so the ACPI 3.0 Table Revision define is available.
mdkinney [Wed, 20 May 2009 18:57:51 +0000 (18:57 +0000)]
Add #include Acpi.h so the ACPI 3.0 Table Revision define is available.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8352 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRemove extra #include that is not required for this include file.
mdkinney [Wed, 20 May 2009 18:55:01 +0000 (18:55 +0000)]
Remove extra #include that is not required for this include file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8351 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix several Unicode issues that fails VS2005.
qhuang8 [Wed, 20 May 2009 14:42:48 +0000 (14:42 +0000)]
Fix several Unicode issues that fails VS2005.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8350 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate HiiDataBase to fix the SCT hang issues by the invalid device path.
lgao4 [Wed, 20 May 2009 12:05:45 +0000 (12:05 +0000)]
Update HiiDataBase to fix the SCT hang issues by the invalid device path.
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

14 years agoDefine macro for .global/.globl in assembly.
xli24 [Wed, 20 May 2009 10:40:29 +0000 (10:40 +0000)]
Define macro for .global/.globl in assembly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8348 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoReplace .globl with ASM_GLOBAL
xli24 [Wed, 20 May 2009 10:26:52 +0000 (10:26 +0000)]
Replace .globl with ASM_GLOBAL

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8347 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoReplace .globl with ASM_GLOBAL
xli24 [Wed, 20 May 2009 10:22:09 +0000 (10:22 +0000)]
Replace .globl with ASM_GLOBAL

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524

14 years agotemporary roll back build.exe because the some string definition are missed by strgat...
klu2 [Wed, 20 May 2009 09:44:31 +0000 (09:44 +0000)]
temporary roll back build.exe because the some string definition are missed by strgather introduced latest check-in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8345 6f19259b-4bc3-4df7-8a09-765794883524

14 years ago1. Remove .extern from GCC assembly.
xli24 [Wed, 20 May 2009 09:42:59 +0000 (09:42 +0000)]
1. Remove .extern from GCC assembly.
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

14 years agoFix the issue that BootOrder can't be set
lgao4 [Wed, 20 May 2009 09:29:13 +0000 (09:29 +0000)]
Fix the issue that BootOrder can't be set

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8343 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoenhanced to support more routing table entry.
vanjeff [Wed, 20 May 2009 08:12:25 +0000 (08:12 +0000)]
enhanced to support more routing table entry.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8342 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFreeze for build tool check-in r1591: Fix bug in the processing of backslashes in...
klu2 [Wed, 20 May 2009 02:20:07 +0000 (02:20 +0000)]
Freeze for build tool check-in r1591: Fix bug in the processing of backslashes in UNI files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8341 6f19259b-4bc3-4df7-8a09-765794883524

14 years agorename array name to avoid naming collision.
vanjeff [Wed, 20 May 2009 02:12:26 +0000 (02:12 +0000)]
rename array name to avoid naming collision.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8340 6f19259b-4bc3-4df7-8a09-765794883524

14 years agofix a typo of missing a colon sign after a label symbol.
eric_tian [Wed, 20 May 2009 01:58:40 +0000 (01:58 +0000)]
fix a typo of missing a colon sign after a label symbol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8339 6f19259b-4bc3-4df7-8a09-765794883524

14 years ago1.fixed some issue to pass HII sct
vanjeff [Tue, 19 May 2009 09:36:44 +0000 (09:36 +0000)]
1.fixed some issue to pass HII sct
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

14 years agoFix K8 and Sct failure.
lgao4 [Tue, 19 May 2009 09:30:21 +0000 (09:30 +0000)]
Fix K8 and Sct failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8337 6f19259b-4bc3-4df7-8a09-765794883524

14 years agodon't set all bytes in TargetID as zero. This change is made due to keep consistent...
eric_tian [Tue, 19 May 2009 09:19:19 +0000 (09:19 +0000)]
don't set all bytes in TargetID as zero. This change is made due to keep consistent with GetNextTargetLun and GetTargetLun

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8336 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoCorrect the dummy ConfigAccess Extract and RouteConfig behavior according to UEFI...
lgao4 [Tue, 19 May 2009 09:13:47 +0000 (09:13 +0000)]
Correct the dummy ConfigAccess Extract and RouteConfig behavior according to UEFI specification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8335 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd back logic to encode LUN in CDB for compatibility with SCSI-2 spec, although...
rsun3 [Tue, 19 May 2009 09:07:38 +0000 (09:07 +0000)]
Add back logic to encode LUN in CDB for compatibility with SCSI-2 spec, 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

14 years agoFix the unaligned issue of PCI read/write buffer.
xli24 [Tue, 19 May 2009 07:09:45 +0000 (07:09 +0000)]
Fix the unaligned issue of PCI read/write buffer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8333 6f19259b-4bc3-4df7-8a09-765794883524

14 years agofix a typo of missing a colon sign after a label symbol.
eric_tian [Tue, 19 May 2009 05:50:53 +0000 (05:50 +0000)]
fix a typo of missing a colon sign after a label symbol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix bugs in the UEFI SCSI Library.
rsun3 [Tue, 19 May 2009 05:42:37 +0000 (05:42 +0000)]
Fix bugs in the UEFI SCSI Library.
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

14 years agoAs ECP package is EDKI style, the AutoGen.h will not include anything. So if we use...
eric_tian [Tue, 19 May 2009 05:39:32 +0000 (05:39 +0000)]
As ECP package is EDKI style, the AutoGen.h will not include anything. So if 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

14 years agoFix a bug in the SCSI Bus driver due to which some SCSI devices can not be discovered...
rsun3 [Tue, 19 May 2009 05:38:40 +0000 (05:38 +0000)]
Fix a bug in the SCSI Bus driver due to which some SCSI devices can not be 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

14 years agochange the error usage of "#if __GNUC__" Condition Macro to "#if defined(__GNUC__)"
eric_tian [Tue, 19 May 2009 04:25:42 +0000 (04:25 +0000)]
change the error usage of "#if __GNUC__" Condition Macro to "#if defined(__GNUC__)"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd BaseLib for BaseCpuLib.inf.
xli24 [Tue, 19 May 2009 02:15:40 +0000 (02:15 +0000)]
Add BaseLib for BaseCpuLib.inf.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8327 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoupdate the check condition of PASS THRU interface to pass Uefi sct test.
eric_tian [Tue, 19 May 2009 01:24:08 +0000 (01:24 +0000)]
update the check condition of PASS THRU interface to pass Uefi sct test.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8326 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix K8 issues in HiiDataBase
lgao4 [Mon, 18 May 2009 12:12:56 +0000 (12:12 +0000)]
Fix K8 issues in HiiDataBase

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8325 6f19259b-4bc3-4df7-8a09-765794883524

14 years ago1. Clean up MdePkg internal header files
lgao4 [Mon, 18 May 2009 09:13:49 +0000 (09:13 +0000)]
1. Clean up MdePkg internal header files
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

14 years agoOriginally, there are following implementation:
klu2 [Mon, 18 May 2009 07:09:48 +0000 (07:09 +0000)]
Originally, there are following implementation:
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

14 years agoadd one comment when destroy the buffer.
vanjeff [Mon, 18 May 2009 05:31:18 +0000 (05:31 +0000)]
add one comment when destroy the buffer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8322 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoCorrect DriverSample to produce the ConfigAccess protocol
lgao4 [Mon, 18 May 2009 05:03:45 +0000 (05:03 +0000)]
Correct DriverSample to produce the ConfigAccess protocol
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

14 years ago1. remove duplicated set operation on UGA device.
vanjeff [Mon, 18 May 2009 03:40:29 +0000 (03:40 +0000)]
1. remove duplicated set operation on UGA device.
2. update some typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8320 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRetire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, which...
lgao4 [Mon, 18 May 2009 03:26:54 +0000 (03:26 +0000)]
Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, which are replaced by HiiSetToDefaults API.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8319 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd check for NULL pointer.
gikidy [Fri, 15 May 2009 03:39:01 +0000 (03:39 +0000)]
Add check for NULL pointer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8318 6f19259b-4bc3-4df7-8a09-765794883524

14 years agocleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used...
eric_tian [Fri, 15 May 2009 03:25:20 +0000 (03:25 +0000)]
cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is 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

14 years agocleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used...
eric_tian [Fri, 15 May 2009 03:21:08 +0000 (03:21 +0000)]
cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is 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

14 years agoUpdate CpuSleep() for IPF.
xli24 [Fri, 15 May 2009 02:51:38 +0000 (02:51 +0000)]
Update CpuSleep() for IPF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8315 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate HiiDataBase to fix parsing Hii package error. Some HiiPackages have no varstor...
lgao4 [Thu, 14 May 2009 12:37:02 +0000 (12:37 +0000)]
Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have 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

14 years ago1. Update the implementation of HII ConfigRouting Protocol in HiiDataBase module...
lgao4 [Thu, 14 May 2009 07:06:06 +0000 (07:06 +0000)]
1. Update the implementation of HII ConfigRouting Protocol in HiiDataBase 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

14 years ago1. Add address check for "RegisterForRuntime" APIs of PciLib, PciCf8Lib, PciExpressLi...
xli24 [Thu, 14 May 2009 03:13:31 +0000 (03:13 +0000)]
1. Add address check for "RegisterForRuntime" APIs of PciLib, PciCf8Lib, 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

14 years agofixed typo.
vanjeff [Wed, 13 May 2009 09:34:23 +0000 (09:34 +0000)]
fixed typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8310 6f19259b-4bc3-4df7-8a09-765794883524

14 years ago1. retired NicIp4ConfigProtocolGuid
vanjeff [Wed, 13 May 2009 09:29:44 +0000 (09:29 +0000)]
1. retired NicIp4ConfigProtocolGuid
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

14 years agoAdd a check for CreateQuestion may be return NULL.
gikidy [Wed, 13 May 2009 09:24:25 +0000 (09:24 +0000)]
Add a check for CreateQuestion may be return NULL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8308 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoRefine code for PeiReportStatusCodeLib.
xli24 [Wed, 13 May 2009 07:43:45 +0000 (07:43 +0000)]
Refine code for PeiReportStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8306 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix bug for -b option
klu2 [Wed, 13 May 2009 05:29:20 +0000 (05:29 +0000)]
Fix bug for -b option

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8305 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd checking for configuration template file.
klu2 [Wed, 13 May 2009 02:04:01 +0000 (02:04 +0000)]
Add checking for configuration template file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8304 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd valid range checking for count of multi-thread
klu2 [Tue, 12 May 2009 07:40:59 +0000 (07:40 +0000)]
Add valid range checking for count of multi-thread

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8303 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd checking for options number to avoid user's confusion. The corresponding patch...
klu2 [Tue, 12 May 2009 07:30:04 +0000 (07:30 +0000)]
Add checking for options number to avoid user's confusion. The corresponding 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

14 years agoMake improvement that if target directory does not exist, create it. This patch is...
klu2 [Tue, 12 May 2009 06:40:10 +0000 (06:40 +0000)]
Make improvement that if target directory does not exist, create it. This 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

14 years agoMake tool more intelligence for missing configuration item. The corresponding version...
klu2 [Tue, 12 May 2009 06:10:59 +0000 (06:10 +0000)]
Make tool more intelligence for missing configuration item. The 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

14 years agofixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.
vanjeff [Tue, 12 May 2009 05:39:31 +0000 (05:39 +0000)]
fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate GenFw help usage information to clarify -z option.
lgao4 [Tue, 12 May 2009 04:51:00 +0000 (04:51 +0000)]
Update GenFw help usage information to clarify -z option.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8298 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the length of...
rsun3 [Tue, 12 May 2009 03:33:34 +0000 (03:33 +0000)]
Fix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the 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

14 years agoMinor update the function interface for three re-allocate pool APIs to check the...
qhuang8 [Tue, 12 May 2009 02:29:22 +0000 (02:29 +0000)]
Minor update the function interface for three re-allocate pool APIs to check 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

14 years agofixed to build under IPF.
jcarsey [Mon, 11 May 2009 18:02:16 +0000 (18:02 +0000)]
fixed to build under IPF.
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