Commit Graph

149 Commits

Author SHA1 Message Date
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
xli24 9484bb628a Some minor refinements for function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8179 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:19:31 +00:00
xli24 a8cbf34506 Code Scrub for Status Code Runtime Dxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8178 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:14:50 +00:00
lgao4 1d451ff9cf Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8176 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 04:55:02 +00:00
gikidy 9f6531d14d Adjust the code so that global variable placed at beginning of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8172 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 07:30:54 +00:00
gikidy 59f1d89250 COMPONENT_NAME & COMPONENT_NAME2 & DRIVER_BINDING checked in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8168 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 05:42:17 +00:00
xli24 55a1bb43aa Code scrub for VgaClass Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8163 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 09:31:15 +00:00
gikidy 4ee6846f7b 1. EDK_RELEASE_VERSION removed;
2. INF file header description reviewed;
3. remove useless #include ;

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8162 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 09:09:56 +00:00
lgao4 e97e2b7738 Fix that the variable can't be stored. Next, I will update GetBrowserData API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8147 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 03:19:42 +00:00
lgao4 f0da9ffb76 Add FormSet Guid for the front page.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8140 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-21 13:37:14 +00:00
lgao4 6412128af3 Enhance HiiGetBrowserData API to support the case that storage element is 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8135 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:12:38 +00:00
lgao4 0b3f5a4dfd Use GetNextLanguage replace the original HiiLibGetNextLanguage API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8118 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:42:23 +00:00
lgao4 75bf9d0ecc Update BdsDxe to use new designed HiiLib, remove the referrence to the original IfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8115 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:31:38 +00:00
rsun3 0f2685219d Retire HiiLibGetNextLanguage() API from HII Library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8109 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 02:38:11 +00:00
rsun3 ad5a96ab2d Retire language conversion APIs from HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8104 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 08:46:28 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
jljusten 6ba0bc7c4e Fix some inconsistencies in EFIAPI usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8076 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 23:07:44 +00:00
gikidy a9e7937ab0 EFI_KEY_OPTION definition verified with UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8046 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:56:28 +00:00
rsun3 4376a6f273 Fix the bug that Boot Mainteinance Manager in the front page can not be entered twice or more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8040 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 09:20:51 +00:00
jji4 3cdcfa85a5 correct the input parameter FormId of IfrLibUpdateForm()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8032 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 08:56:27 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00
eric_tian 8d1d25edd8 update the FindVariable judgment condition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7970 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 05:08:17 +00:00
qhuang8 a3a795afdb Apply GetBestLanguage() API in UEFI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7963 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:21:37 +00:00
lgao4 e6a5cb9918 remove unused display option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7946 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 06:33:07 +00:00
xli24 33f201a09c Fix the issue that VariablePei hangs on Richford when variable region is wiped out.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7927 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-23 13:16:32 +00:00
vanjeff 5d7c160908 clean console control protocol in bds module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7915 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-20 09:25:28 +00:00
jji4 da96258f9e ISO_639_2_ENTRY_SIZE has been made local.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7898 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 07:20:25 +00:00
vanjeff dad608335f 1. retried PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid.
Consplitter will not install these protocols any more.

2. added logic in Bds to check console handles in System table, if no console handle assigned. Bds module will fill these handles in system table accordingly.

3. fixed one bug before call ConsoleControl->SetMode in FrontPage.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7841 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:10:15 +00:00
eric_tian 08c4ca5bca retire gEfiBootStateGuid and replace it with dynamic hii pcd. so the different boot times can know whether it needs to do full/minimal/no_changes configuration.
[Impact]
EDK still keep this guid. and if we ports such platforms to EDKII, it will do full configuration

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7793 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 02:43:10 +00:00
vanjeff ea2d90867a retired PcdNtEmulatorEnable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7792 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 02:10:20 +00:00
jljusten c9b1a9df15 Move IntelFrameworkModulePkg/Universal/Legacy8259Dxe to
PcAtChipsetPkg/8259InterruptControllerDxe.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7746 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 23:33:20 +00:00
eric_tian 3709c4cd5b 1. delete Include/Guid/VariableInfo.h
2. move VariableFormat.h into GUID directory and change the “Signature” field of the VARIABLE_STORE_HEADER to gEfiVariableGuid value.
3. merging VARIABLE_INFO_ENTRY structure into the new Include/Guid/VariableFormat.h
4. change gEfiVariableInfoGuid into gEfiVariableGuid.
5. modify FDF files to use new guid value instead of the original signature.
6. all code related to signature is changed to use guid value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7728 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 05:35:08 +00:00
klu2 a2b35995ca 1, Retired PCD PcdSupportHardwareErrorRecord, because as UEFI specification said, if PcdHardwareErrorRecordLevel is 0, platform does not provide feature of hardware error record.
2, Move PcdHardwareErrorRecordLevel to IntelFrameworkModulePkg
3, Change PCD type to dynamic, Platform integrator need set this PCD type as HII type PCD mapped to variable L"HwErrRecSupport".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7713 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 08:19:38 +00:00
klu2 8c81cb83b9 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7707 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 07:18:21 +00:00
klu2 92502d5537 PeiStatusCode PEIM does not dependent on BaseMemoryLib library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7702 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 04:37:58 +00:00
lgao4 50db9e551a Add some comments in BdsDxe INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7698 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 02:18:19 +00:00
klu2 ddac74d176 Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7657 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:53:05 +00:00
qhuang8 a2ded1d652 Fix build break: MdeModuleHii.h has been moved to MdeModulePkg/Include/Guid directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7625 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 01:29:30 +00:00