Commit Graph

225 Commits

Author SHA1 Message Date
qhuang8 509dfd2172 Use UEFI EFI_FILE_PROTOCOL to replace EFI_FILE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9301 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:49:20 +00:00
vanjeff 9be2900668 1. updated "the Bus Driver that creates all of its child handles on the first call to Start()" not to create any child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
a. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
b. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.

2. roll back serial drivers not to create child device, if the device speicifed by remainingdevicepath cannot find in the created devices list. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9267 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 03:05:46 +00:00
vanjeff af4a63857c updated the Bus Driver that is able to create all or one of its child handles on each call to Start() not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9262 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:55:03 +00:00
AJFISH b7f76514ec Minor bugs fixes from testing on Xcode 3.2 and with the iPhone SDK 3.0 compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9202 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 21:09:37 +00:00
qhuang8 6156fca14d Add Sec/Ia32/Gasket.S
Remove unreferenced Stack.S

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9195 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-25 07:39:51 +00:00
qhuang8 ccd55824e7 Integrate patch from Andrew Fish to make it run on OS X.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9194 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-25 07:29:13 +00:00
jchen20 06877ac957 deleted PCD PcdUefiVariableDefaultTimeout
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9158 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:14:33 +00:00
qhuang8 f66d9a18c0 Retire the usage of S3Lib and RecoveryLib since DxeIpl does not use them any more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9052 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 15:59:10 +00:00
klu2 6f74e80677 Remove include in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9012 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:39:45 +00:00
klu2 cf4afc913e Use Uefi.h instead of PiDxe.h, because B0 defined in Protocol/DebugSupport.h conflict with the B0 macro defined in usr/include/bits/termios.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9011 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:38:31 +00:00
eric_tian eb0f522c15 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@8932 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:08:24 +00:00
klu2 3980a850a6 Fix build broken, DxeUnixPeCoffExtracActionLib should not dependent on PeiServiceLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8917 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:21:49 +00:00
klu2 b67f2798d9 Fix build broken, EFI_TIME_IN_DAYLIGHT used in Sec/UnixThunk.c is defined in Uefi specification, so need include Uefi.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8916 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:14:09 +00:00
mdkinney bac49e7747 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 and FrameworkPei.h instead of PiPei.h



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8902 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:29:23 +00:00
eric_tian 03fb2d31d5 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@8875 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:15:24 +00:00
lgao4 24cdd14e81 Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:26:52 +00:00
mdkinney 031667a3ef Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System Table and depend on BdsDxe in the IntelFrameworkModulePkg to do this instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8852 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 00:05:26 +00:00
lgao4 d46f36324f Retire Logo and Shell guid header file, which are replaced by gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 05:48:35 +00:00
eric_tian 15aef294cf change the name of macro or data structure to follow DataHubSubclass/MemSubclass/CacheSubClass/ProcSubclass specs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8812 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 07:34:02 +00:00
jljusten 116c9e2ed9 Revert r8771. UnixPkg has a custom RTC driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8787 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 22:52:15 +00:00
vanjeff e900e19b28 Retired PciIncompatibleDeviceSupportLib from IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8774 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 04:01:14 +00:00
klu2 d22cb182d9 Use PcAtChipsetPkg\PcatRealTimeClockRuntimeDxe\PcatRealTimeClockRuntimeDxe.inf instead of original PcAtChipsetPkg\PcRtc\RealTimeClock.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8771 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 03:21:27 +00:00
klu2 020f7cf4fa add readme.txt for UnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8761 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 15:01:46 +00:00
mdkinney c68e18ef5c Remove extra GUID that is not used
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8742 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-03 20:15:15 +00:00
klu2 fda6722e38 Remove unused PCDs: PcdPciIsaEnable and PcdPciVgaEnable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8612 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 08:50:35 +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 c2bd20a514 Retire gEfiProcessorProducerGuid,gEfiMemoryProducerGuid,
gEfiMiscProducerGuid, which are not consumed by any module. 
They can be replaced by gEfiCallerIdGuid. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8540 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 09:09:51 +00:00
mdkinney 84478dedd0 Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8495 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:45:48 +00:00
mdkinney 2ddf837559 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@8490 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:15:21 +00:00
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
xli24 dcbb35eb6c Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7490 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:58:47 +00:00
xli24 693e49cad6 Add comments in platform DSC files to remind that binaries are only listed in FDF, not in DSC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7446 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 03:15:09 +00:00
mdkinney e54ce9047b Fix lib to use standard #defines for PE/COFF machine types
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7443 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:36:34 +00:00
mdkinney 6f4be513e7 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7370 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:28:32 +00:00
lgao4 7c9c12f09c Remove unused Hob Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7363 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 14:30:46 +00:00
klu2 5d1a5b35a5 Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7357 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:27:23 +00:00
qhuang8 7646204cdb Fix the prototype inconsitency issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7277 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 13:41:12 +00:00
qhuang8 eb1f74cc89 Add type cast to pass build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7276 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 12:58:28 +00:00
qhuang8 6c365805df Apply PeiServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7275 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 12:56:34 +00:00
qhuang8 2f17ffce3c Add type cast for PeiServices pointer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7274 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 12:50:12 +00:00
qhuang8 de13f2451d Apply PeiServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7273 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 12:45:51 +00:00
qhuang8 c89914c816 Add type case
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7272 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 12:33:35 +00:00
lgao4 a6be5d4541 Remove 'DEBUG_MYTOOLS_IA32' from GUIDed tool specification to allow other toolchains to match. The latest GenFds.exe supports matching the tool automatically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7216 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:50:18 +00:00
klu2 8a38e4510e Fix PCD typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7174 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 05:57:14 +00:00
qhuang8 70ec469973 Fix build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7150 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 04:26:53 +00:00
qhuang8 208301e9b0 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7053 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:32:09 +00:00
qhuang8 4058e906c1 Clean up to fix build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6815 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 07:28:34 +00:00
qhuang8 f053287da2 Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6813 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:20:14 +00:00
qhuang8 cef5294b12 Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6812 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:17:59 +00:00
qhuang8 baadbb8498 Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6811 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:16:22 +00:00
qhuang8 f49a99ed2d Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6810 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:15:10 +00:00
qhuang8 7a944d06b0 Fix constructor prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6809 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:13:05 +00:00
vanjeff b5a1d1d94a retried graphics library class from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6693 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:03:18 +00:00
qhuang8 62c3d661c8 Add package dependency of MdeModulePkg.dec since HiiLib has been moved to MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6536 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 10:59:57 +00:00
qhuang8 d50c10ab13 Add package dependency of MdeModulePkg.dec since HiiLib has been moved to MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6535 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 10:59:37 +00:00
qhuang8 53d794b2dd Update UNIX DSC file for library class/instances renaming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6532 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:44:29 +00:00
qhuang8 9f0b86b7f9 Add DevicePathLib reference, for these macros have been moved to DevicePathLib
Change the reference of EfiIsDevicePathEnd() to IsDevicePathEnd()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6493 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:04:46 +00:00
qhuang8 c5085e11b8 Add DevicePathLib reference, for these macros have been moved to DevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6491 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 07:59:35 +00:00
qhuang8 3c043881a9 Add DevicePathLib reference, for these macros have been moved to DevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6489 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 07:45:26 +00:00
jji4 7492c63d42 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6301 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:14:35 +00:00
xli24 cc26d6fee5 Modify DSC file of UnixPkg according to update of MDE package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6287 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 12:03:30 +00:00
qhuang8 82e718f80f Fix build break (verified to boot to shell).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6266 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 06:28:30 +00:00
eric_tian 0856e61e18 sync the PcdUnixFileSystem value with real path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6086 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-08 10:51:05 +00:00
qhuang8 1536925933 Fix a case error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6084 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-08 09:27:27 +00:00
eric_tian dfb8993c3c fix a issue caused by code review follow up
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5957 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 05:01:24 +00:00
eric_tian be5d189fd1 modify an issue about data off.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5922 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 01:49:46 +00:00
qhuang8 0002305b5f Fix the typos in path name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5830 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-06 01:03:26 +00:00
qhuang8 89963a827e Switch DxeCore to use DxeCoreMemoryAllocationLib for Unix platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5746 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 01:04:55 +00:00
eric_tian 4c0457516e remove all obsolete msa files from UnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5731 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-26 09:22:15 +00:00
eric_tian 2f4050c2e1 move unnecessary print statement. It may cause confused.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5609 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-07 02:41:36 +00:00
eric_tian f824f71e4b move the temporary build script.We could directly generate SecMain using normal build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5492 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 06:00:28 +00:00
eric_tian 73aa7f049b merge the generation of SecMain into the whole build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5491 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 05:28:50 +00:00
eric_tian 288a3c98c7 Fix the display issue when using UnixUga driver to support graphic display
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5408 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 03:17:52 +00:00
eric_tian ede2f5b299 provide a temporary method to generate SecMain executable file.
[Background]
The SecMain's generation is difference than other modules. It depends on some standard lib. At present, we only have extended build option mechanism in module build. It can not support this special case. Then provide this script to temporarily build SecMain

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5388 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 15:01:15 +00:00
eric_tian 865c7e1722 Provide source level debug ability in *unix environment.
[Background]
The UnixPkg provide an simulator in *unix. To support source level debug, we need force all modules be built as ELF shard objects and dynamically load all of modules using dlopen(). For peicore, peim and dxecore, we provide a wrapper to provide PeCoffLoader interface 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5382 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 06:25:43 +00:00
eric_tian 804405e7d1 Port EdkUnixPkg to UnixPkg. The changes are listed as follows:
1. change *.msa to *.inf, and create platform configuration files .dec&.dsc&.fdf to comply with Edk2 build process
2. using PCD mechanism to replace macro.
3. change Sec code to cowork with PI1.0 Pei Core and produce temparory memory ppi. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5380 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 05:08:49 +00:00