gikidy [Wed, 3 Jun 2009 03:11:36 +0000 (03:11 +0000)]
Fix <.><..> can not work correctly on NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8449
6f19259b-4bc3-4df7-8a09-
765794883524
gikidy [Wed, 3 Jun 2009 02:25:48 +0000 (02:25 +0000)]
The data length of a text request must not exceed the iSCSI target MaxRecvDataSegmentLength.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8448
6f19259b-4bc3-4df7-8a09-
765794883524
eric_tian [Wed, 3 Jun 2009 01:57:56 +0000 (01:57 +0000)]
modify the implementation of GetInterface and GetConfiguration to force the high byte of output type parameters zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8447
6f19259b-4bc3-4df7-8a09-
765794883524
eric_tian [Wed, 3 Jun 2009 01:43:47 +0000 (01:43 +0000)]
fix the HiiStrIdToImage sct failure, which is caused by wrong algorithm of finding right-most line break opportunity.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8446
6f19259b-4bc3-4df7-8a09-
765794883524
qhuang8 [Tue, 2 Jun 2009 23:51:18 +0000 (23:51 +0000)]
Use DiskIo->WriteDisk() API to avoid alignment issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8445
6f19259b-4bc3-4df7-8a09-
765794883524
qhuang8 [Tue, 2 Jun 2009 23:40:06 +0000 (23:40 +0000)]
Use rip relative addressing for x64 label for Thunk16.S to prevent GCC assembly from generating 32-bit value with HIGHLOW fixup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8444
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 2 Jun 2009 08:49:35 +0000 (08:49 +0000)]
Fix bug to fill Startup AP Vector address in FvImage
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8443
6f19259b-4bc3-4df7-8a09-
765794883524
klu2 [Tue, 2 Jun 2009 07:12:54 +0000 (07:12 +0000)]
The MULTIPLE_THREAD should be choice from "Disable", "Enable" but not "TRUE", "FALSE"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8442
6f19259b-4bc3-4df7-8a09-
765794883524
klu2 [Tue, 2 Jun 2009 07:10:41 +0000 (07:10 +0000)]
The MULTIPLE_THREAD should be choice from "Disable", "Enable" but not "TRUE", "FALSE"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8441
6f19259b-4bc3-4df7-8a09-
765794883524
klu2 [Tue, 2 Jun 2009 03:02:10 +0000 (03:02 +0000)]
Add MULTIPLE_THREAD option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8439
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 22:42:58 +0000 (22:42 +0000)]
Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8438
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 22:42:42 +0000 (22:42 +0000)]
Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8437
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 22:42:21 +0000 (22:42 +0000)]
Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8436
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 22:41:57 +0000 (22:41 +0000)]
Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8435
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 21:19:53 +0000 (21:19 +0000)]
1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8434
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 21:18:30 +0000 (21:18 +0000)]
1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8433
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 21:18:12 +0000 (21:18 +0000)]
1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8432
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 21:17:41 +0000 (21:17 +0000)]
1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8431
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 20:15:20 +0000 (20:15 +0000)]
Remove unnecessary use of gEfiStatusCodeSpecificDataGuid and sync algorithm with NT32 OEM Hook Status Code Lib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8430
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 20:14:18 +0000 (20:14 +0000)]
Remove unnecessary use of gEfiStatusCodeSpecificDataGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8429
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 19:59:53 +0000 (19:59 +0000)]
Remove the GUID declared as gEfiStatusCodeDataTypeErrorGuid and EFI_STATUS_CODE_DATA_TYPE_ERROR_GUID because it is not present in the Intel Framework Specifications.
Remove the GUID declared as gEfiStatusCodeDataTypeProgressCodeGuid and EFI_STATUS_CODE_DATA_TYPE_PROGRESS_CODE_GUID because it is not present in the Intel Framework Specifications.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8428
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 18:41:56 +0000 (18:41 +0000)]
Remove the GUID declared as gEfiStatusCodeDataTypeAssertGuid and EFI_STATUS_CODE_DATA_TYPE_ASSERT_GUID because it is not present in the Intel Framework Specifications.
Any usage of this GUID should be replaced with gEfiStatusCodeSpecificDataGuid or EFI_STATUS_CODE_SPECIFIC_DATA_GUID. The Intel Framework Specification Status Codes 0.92 defines the method for producing a status code for an ASSERT() condition by using an error code of EFI_SW_EC_ILLEGAL_SOFTWARE_STATE. Any consumer of produced status codes should evaluate the error code to determine if it is an ASSERT() type, and then know how to interpret the extended data as EFI_DEBUG_ASSERT_DATA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8427
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 18:41:05 +0000 (18:41 +0000)]
Remove the GUID declared as gEfiStatusCodeDataTypeAssertGuid and EFI_STATUS_CODE_DATA_TYPE_ASSERT_GUID because it is not present in the Intel Framework Specifications.
Any usage of this GUID should be replaced with gEfiStatusCodeSpecificDataGuid or EFI_STATUS_CODE_SPECIFIC_DATA_GUID. The Intel Framework Specification Status Codes 0.92 defines the method for producing a status code for an ASSERT() condition by using an error code of EFI_SW_EC_ILLEGAL_SOFTWARE_STATE. Any consumer of produced status codes should evaluate the error code to determine if it is an ASSERT() type, and then know how to interpret the extended data as EFI_DEBUG_ASSERT_DATA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8426
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 1 Jun 2009 18:18:52 +0000 (18:18 +0000)]
Remove the GUID declared as gEfiStatusCodeDataTypeExceptionHandlerGuid and EFI_STATUS_CODE_DATA_TYPE_EXCEPTION_HANDLER_GUID because it is not present in the Intel Framework Specifications.
Any usage of this GUID should be replaced with gEfiStatusCodeSpecificDataGuid or EFI_STATUS_CODE_SPECIFIC_DATA_GUID. The Intel Framework Specification Status Codes 0.92 defines the method for producing a status code with a CPU exception record. The subclass of the error code defines the type of processor exception. Any consumer of produced status codes should evaluate the error code to determine if it is a CPU exception type, and then know how to interpret the extended data as a CPU exception record.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8425
6f19259b-4bc3-4df7-8a09-
765794883524
klu2 [Mon, 1 Jun 2009 08:56:04 +0000 (08:56 +0000)]
1, Add checking for input parameter tool tag which is used to find external tools.
2, Make some minor fixing for TargetTool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8424
6f19259b-4bc3-4df7-8a09-
765794883524
qhuang8 [Mon, 1 Jun 2009 08:44:07 +0000 (08:44 +0000)]
Update shell binaries to use the newest EDK shell snapshot. This version has integrate the patch to use EDKII GetBestLanguage() to solve RFC 4646 language matching issue in drivers, dh, DevTree, etc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8423
6f19259b-4bc3-4df7-8a09-
765794883524
eric_tian [Mon, 1 Jun 2009 08:33:55 +0000 (08:33 +0000)]
a typo of ISCSI string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8422
6f19259b-4bc3-4df7-8a09-
765794883524
eric_tian [Mon, 1 Jun 2009 08:32:28 +0000 (08:32 +0000)]
fix the typo of ISCSI related string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8421
6f19259b-4bc3-4df7-8a09-
765794883524
qhuang8 [Mon, 1 Jun 2009 08:16:33 +0000 (08:16 +0000)]
Remove ShellHotFix.patch since the newest EDK shell snapshot has integrated the complete fix for RFC 4646 language match issue in drivers, dh, DevTree, etc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8420
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Mon, 1 Jun 2009 07:16:03 +0000 (07:16 +0000)]
1. removed an extra call to SetVectorBase() in the SetMode() function.
2. implemented GetInterruptLine() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8418
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 1 Jun 2009 06:46:03 +0000 (06:46 +0000)]
Add directory for the new added Language Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8417
6f19259b-4bc3-4df7-8a09-
765794883524
gikidy [Mon, 1 Jun 2009 03:25:36 +0000 (03:25 +0000)]
Replaced ASM_GLOBAL with .global, and add start label for some files to avoid link warnings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8416
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 31 May 2009 17:22:48 +0000 (17:22 +0000)]
Change (UINT8 *) to (CHAR *) to make types the same for comparison operations
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8415
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 31 May 2009 17:19:40 +0000 (17:19 +0000)]
Correct parameter names for ASSERT() checks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8414
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Sun, 31 May 2009 07:46:19 +0000 (07:46 +0000)]
Update build.exe after StrGather was updated. Add -s build flag in EdkShellPkg.dsc so that .UNI files with ISO 639-2 language codes of EDK Shell can be built.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8413
6f19259b-4bc3-4df7-8a09-
765794883524
klu2 [Sun, 31 May 2009 05:44:48 +0000 (05:44 +0000)]
Fix the bug that PCD driver treat StringTableIndex as UINT8 value but in fact it is UINT16 value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8412
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 31 May 2009 00:19:54 +0000 (00:19 +0000)]
Update SecMain for Nt32 to use WriteFile() for all status code related console output so the same mechanism is used for SEC, PEI, and DXE. Previously SEC and PEI were using printf() and DXE was using WriteFile() and the order of the messages was not correct in all cases. By using the same method for all status code output, the order of the messages is correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8411
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 31 May 2009 00:06:01 +0000 (00:06 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8410
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 30 May 2009 23:55:11 +0000 (23:55 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8409
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 30 May 2009 23:54:42 +0000 (23:54 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8408
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 30 May 2009 23:54:11 +0000 (23:54 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update all implementations of ReportStatusCodeExtractDebugInfo() to use an argument of type BASE_LIST instead of VA_LIST.
2) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8407
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 30 May 2009 23:53:35 +0000 (23:53 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update all implementations of ReportStatusCodeExtractDebugInfo() to use an argument of type BASE_LIST instead of VA_LIST.
2) Update the implementation of DebugPrint() in PeiDxeDebugLibReportStatusCode to convert a VA_LIST to a BASE_LIST before passing the data to report status code.
3) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8406
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 30 May 2009 23:49:35 +0000 (23:49 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update the Print2 Protocol to only use arguments of type BASE_LIST. Since this is a change to the protocol definition, the GUID has also been updated.
2) Update the implementation of DxePrintLibPrint2Protocol for the update definition of the Print2 Protocol. Since the PrintLib does contain APIs that use VA_LIST, this library must convert arguments of type VA_LIST to arguments of type BASE_LIST prior to calling the Print2 Protocol services.
3) Update the implementation of PrintDxe to match the updated Print2 Prootocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8405
6f19259b-4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 30 May 2009 23:45:50 +0000 (23:45 +0000)]
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
Add BASE_LIST type to Base.h
Add BAS_ARG() macro to Base.h
Add 4 functions to PrintLib.h that use BASE_LIST.
Change ReportStatsuCodeExtractDebugInfo() from ReportStatusCodeLib.h to take a BASE_LIST argument instead of a VA_LIST argument
Add the 4 new functions to BasePrintLib implementation that use BASE_LIST
Update BaseReportStatusCodeLib implementation of ReportStatsuCodeExtractDebugInfo() to use a BASE_LIST argument instead of a VA_LIST argument
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8404
6f19259b-4bc3-4df7-8a09-
765794883524
jljusten [Thu, 28 May 2009 18:02:25 +0000 (18:02 +0000)]
Add more details to OvmfPkg/README for building & running.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8402
6f19259b-4bc3-4df7-8a09-
765794883524
jljusten [Wed, 27 May 2009 21:10:18 +0000 (21:10 +0000)]
Add initial version of Open Virtual Machine Firmware (OVMF) platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8398
6f19259b-4bc3-4df7-8a09-
765794883524
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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