Commit Graph

96 Commits

Author SHA1 Message Date
vanjeff 8c8f3dcb17 changed %s to %a to print correct ascii string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8453 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 05:43:22 +00:00
mdkinney d94f1f35a1 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
2009-06-01 22:42:42 +00:00
mdkinney b088ba369e 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
2009-06-01 21:19:53 +00:00
mdkinney cdf360f8e4 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
2009-06-01 20:15:20 +00:00
mdkinney 9c98c8e106 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
2009-05-30 23:55:11 +00:00
rsun3 53fafef5c6 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
2009-05-25 09:57:27 +00:00
xli24 132f41f0a9 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:22:09 +00:00
vanjeff 7d28e82d92 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
2009-05-18 05:31:18 +00:00
mdkinney 6cb6f078ae Sync with PE/COFF Extra Action library class comments and add ASSERT() conditions if ImageContext is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8274 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09 00:51:14 +00:00
vanjeff b672348fea 1. Assign BDS timeout PCD value.
2. Sync SetupVariableInit in Unix Platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8265 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 07:51:03 +00:00
jljusten 72670d3e4c Add gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress
to MdeModulePkg.

Remove references to previously deprecated PCDs (Nt32Pkg, UnixPkg):
* PcdDxeIplSupportCustomDecompress
* PcdDxeIplSupportTianoDecompress
* PcdDxeIplBuildShareCodeHobs

Rename references from PcdDxeIplSupportEfiDecompress to
PcdDxeIplSupportUefiDecompress in Nt32Pkg & UnixPkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8189 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 18:26:12 +00:00
xli24 029940387f Update DSC&FDF files according to update of status code PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8188 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 09:16:55 +00:00
xli24 ecd8990a25 Update FDF files according to update of status code driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8182 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:46:57 +00:00
xli24 669341423e Update DSC files according to update of status code driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8181 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:40:41 +00:00
lgao4 d6a6483cad Remove unused IfrSupportLib and ExtendedIfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8119 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:45:32 +00:00
eric_tian f7bef78cc0 update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8112 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 04:49:07 +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
eric_tian 95e9472f84 change the output executable file postfix name from .exe to NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8079 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 05:41:33 +00:00
lgao4 3f07728f2a Add UefiHiiServicesLib library instance in every one DSC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8065 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 05:52:07 +00:00
eric_tian 1fd8c31a52 updated to use the term “temporary memory” but not CAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8036 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 08:15:33 +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
rsun3 a2f39d476f Retire FrameworkHiiLib library class. Remove FrameworkHiiLib library instance now and will be added later if necessary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7991 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 02:42:56 +00:00
qhuang8 f7796c71c5 Fix the wrong Revision number. According to PI spec 1.0, this field should be set to 2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7909 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-19 08:28:47 +00:00
eric_tian 70c92c7f31 modify the format of DynamicHii type pcd in DSC file. We directly use Unicode string to describe the stored variable string name rather than original hex code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7895 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 05:50:21 +00:00
eric_tian 933676058b retire gEfiAlternateFvBlockGuid. All platform FvbRuntimeDxe drivers will not produce such protocol to signify itself support writable FVB protocol.
FaultTolerantWrite driver and variable driver will register notification event to locate right protocol.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7865 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 05:10:53 +00:00
eric_tian 0a20571607 retire FvbServiceLib class in MdeModulePkg, and also remove the two instances in MdeModulePkg and ItaniumPlatformPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7838 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 09:22:39 +00:00
qhuang8 c84588fd8c Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7826 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:32:37 +00:00
qhuang8 f3a2b25d79 Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7825 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:32:19 +00:00
qhuang8 1664e0afed Add empty line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7815 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 13:57:03 +00:00
qhuang8 398b646f5b Remove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7812 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:20:08 +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
lgao4 7ee40c6e79 Remove the lite version FaultTolerantWrite Dxe Driver. Use new full version FaultTolerantWriteDxe driver in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7791 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 01:31:46 +00:00
qhuang8 e14130b344 Make Unix Sec use PeiReportStatusCodeLib instance of BaseReportStatusCodeLib in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7783 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:15:29 +00:00
qhuang8 fb0b55f61e remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7759 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:10:54 +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 12a738edad 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@7710 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 07:21:40 +00:00
lgao4 7aca74cabc Remove PCD setting same to default set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7677 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 08:47:51 +00:00
klu2 3f2053bb7c Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7659 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:55:22 +00:00
klu2 aad01a7947 Remove unused guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7649 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 11:59:11 +00:00
qhuang8 7f89e35e5b Remove reference to gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplEnableIdt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7647 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 09:19:48 +00:00
lgao4 af707fa21a Clean minor error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7634 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 07:04:47 +00:00
lgao4 e9cf53f2f9 Clean Unix FVB driver doesn't produce the undefined FVB extension protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7633 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 06:49:35 +00:00
lgao4 5e9d6caefd Replace NvDataFvHob with NvDataFvGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7629 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 03:25:08 +00:00
qhuang8 e89bb6692c Update to pass build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7590 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 04:01:59 +00:00
qhuang8 d1b04ae458 Fix typo in data structure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7589 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:56:07 +00:00
qhuang8 7d10090a28 Fix typo in include file name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7588 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:49:14 +00:00
qhuang8 9351da4fa5 Fix typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7587 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:42:41 +00:00
qhuang8 c71b65973b Update Unix platform to use dynamic HII pcd to save console output mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7580 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:20:54 +00:00
xli24 d73be1d1b1 Remove BaseMemoryTest PPI and related producers and consumers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7560 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:39:20 +00:00
jwang36 3c5a8c113e Use "==" to define build options for USER_DEFINED module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7547 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 02:09:56 +00:00