Commit Graph

186 Commits

Author SHA1 Message Date
klu2 7edfacbff8 Fix build broken issue for ICC 9.0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8960 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 01:40:55 +00:00
klu2 5caec787e1 Fix bug that some boot option can *not* be displayed correct in boot manager and boot maintain manager.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8956 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-16 06:54:41 +00:00
darylm503 128efbbcc2 Clean up PERF macro usage. The macros were being used with 0 as the first parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8954 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 22:28:07 +00:00
eric_tian a798a78906 ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library.
It is not proper for a library implementation to assume the names of function in a parent module.
Instead, they must be designed as the pointers to these two BdsDxe functions and passed in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8929 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:04:24 +00:00
klu2 429cac9c17 Retire description string macro for boot device type which are not defined in UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8926 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 10:20:09 +00:00
mdkinney 79bc7a89f7 Remove extra #includes where possible to make build more efficient
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8900 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:27:49 +00:00
mdkinney 971d3ab18d Remove extra #Include
Remove platform specific capsule action from generic BdsDxe


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8891 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 23:55:52 +00:00
eric_tian 0995a97400 roll back the change on the naming of DataHubRecords.h for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8877 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:16:37 +00:00
lgao4 55e1864e6b Add the missing header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8869 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 08:37:27 +00:00
mdkinney 9a6b4de21d Update BdsDxe to fill int he FirmwareVendor and FirmwareRevision fields of the EFI System Table based on PCD settings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8849 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 23:52:16 +00:00
lgao4 e83c9064f5 Add comments for the return value of GenericBdsLib functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8822 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 12:06:28 +00:00
klu2 5b3ea840c4 Fix a building error due to check-in r8808
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8815 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 08:59:07 +00:00
jljusten 7a45e5aa69 Remove TempStringLen. It was assigned, but not used. (ICC warning)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8788 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 22:52:16 +00:00
klu2 b7b0dca207 Fix some issues reported by source static analysis tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8785 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 10:17:16 +00:00
mdkinney 78d6366d68 Add Null implementation of the Legacy Region Protocol
This module may be used on platforms that do not have the ability to manage the legacy regions or as a template module for implementing support for legacy regions




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8695 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 03:42:47 +00:00
lgao4 91c681977b Update code style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8669 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:39:21 +00:00
lgao4 182b1d1623 Clean up Library LzmaCustomDecompressLib, PeiRecoveryLib and driver SectionExtraction
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8658 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 08:40:49 +00:00
gikidy 8d3b5aff68 Use UNI file string to display Boot Option for language localization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8655 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 04:44:45 +00:00
klu2 7ec9caab92 Fix the potential issue that using integrate as BOOLEAN value in judgment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8648 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 08:41:14 +00:00
klu2 bd828c8e83 Explicit to judge whether Index is out of boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8646 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:42:19 +00:00
klu2 8b7a357816 1) Add blank before @file to follows doxygen style.
2) Adjust function order to avoid pre-declaration for function prototype.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8644 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 06:29:12 +00:00
klu2 0aa85c4a6b Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8642 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 06:13:43 +00:00
klu2 2ab239290d This patch includes:
1) Update and refine functions/header files comments
2) Try to use LinkedList library instance produced by BaseLib but not access linked list via pointer directly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8641 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 05:49:49 +00:00
jljusten 8bb37919e3 Fix a syntax error. There was an extra closing parenthesis: ')'
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8632 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 18:30:45 +00:00
klu2 582c23689f Fix some potential buffer overflow issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8629 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 09:36:17 +00:00
klu2 84fa6c177e Fix potential buffer overflow issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8627 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 08:57:31 +00:00
klu2 13078b3fad 1) Make naming of enumeration type follows coding style
2) Add missing parameter in function description.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8606 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 07:45:13 +00:00
lgao4 ef6a65626f Remove unused SerialIo protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8567 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 01:33:51 +00:00
lgao4 d2c315e686 Retire the duplicate StatusCode PCD:
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseEfiSerial, PcdStatusCodeUseHardSerial, PcdStatusCodeUseRuntimeMemory, PcdStatusCodeReplayInSerial, PcdStatusCodeReplayInRuntimeMemory, PcdStatusCodeReplayInDataHub, PcdStatusCodeReplayInOEM, PcdStatusCodeRuntimeMemorySize

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8566 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 01:16:27 +00:00
lgao4 1f095a0f38 Retire VariablePei and PcatSingleSegmentPciCfgPei in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8551 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-15 02:05:14 +00:00
lgao4 0f38dfbb21 Remove the duplicate NULL string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8497 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-08 06:42:46 +00:00
mdkinney f7cdf5cdd3 Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8491 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:43:19 +00:00
mdkinney 785e0c0743 Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and <FrameworkModulePei.h>
They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode.  That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8487 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:13:02 +00:00
mdkinney d7d5db9649 Remove #define for MAX_BBS_ENTRIES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8470 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 22:51:21 +00:00
gikidy 2ebbe08cb6 Fix an issue in DataHubGetNextRecord.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8458 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 09:18:55 +00:00
mdkinney 1ca88083d4 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
2009-06-01 22:41:57 +00:00
mdkinney 3a6064fa3b 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
2009-06-01 21:17:41 +00:00
mdkinney ca9938b842 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
2009-05-30 23:53:35 +00:00
lgao4 67d632277d 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
2009-05-21 01:50:05 +00:00
lgao4 dedfc3bbc9 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
2009-05-20 09:29:13 +00:00
lgao4 cdcc36ae92 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
2009-05-19 09:13:47 +00:00
rsun3 0e8e994db3 Update SetupBrowserDxe and BdsDxe to use an internal string for prompting string missing instead of ASSERT if it fails to get a string for separate module's forms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8263 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 05:55:25 +00:00
gikidy 5f08e28601 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8220 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 06:58:02 +00:00
gikidy 4bca47e175 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8215 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:39:18 +00:00
rsun3 ec333268dc Remove unused ConvertRfc3066LanguageToIso639Language() in BdsDxe after the lanuage codes variable auto-update mechanism was implemented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8193 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 02:23:11 +00:00
eric_tian b96c210633 update to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8192 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 01:46:32 +00:00
xli24 85eb579424 Update directory/file names for status code PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8187 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 09:09:45 +00:00
xli24 d5aea10cc3 Code Scrub for Status Code PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8186 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 08:47:07 +00:00
eric_tian d357145fca improve platformlangcodes/langcodes and platformlang/lang autoupdate mechanism.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8185 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 07:12:20 +00:00
xli24 20e7a77431 Update directory/file names for status code runtime dxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8180 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:35:40 +00:00