summaryrefslogtreecommitdiff
path: root/DuetPkg/Library
AgeCommit message (Collapse)Author
2014-08-13Fix VS2013 build failure.Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15794 6f19259b-4bc3-4df7-8a09-765794883524
2012-10-11Add missing braces around initializer.lzeng14
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Qian Ouyang <qian.ouyang@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13817 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-20Clean up the private GUID definition in module Level.lgao4
Signed-off-by: lgao4 Reviewed-by: rni2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12385 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to ↵xdu2
time in unit of nanoseconds. Signed-off-by: xdu2 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03Remove over-specified dependencies on IntelFrameworkPkg and ↵xli24
IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10159 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10078 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-241. Correct File header to ## @filelgao4
2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11DUET BDS clean up.niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9988 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25Use GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID ↵mdkinney
instance is required Remove extra references to gEfiHobListGuid in INF files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9797 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-28Add package dependency for gEfiStatusCodeDataTypeDebugGuid.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9618 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21Detab in DuetPkgqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24if module doesn't explicitly depend on specific Pci spec, it should include ↵eric_tian
IndustryStandard/Pci.h rather than Pcixxx.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8998 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, ↵eric_tian
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@8928 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10Move LockKeyboards API from GenericBdsLib to PlatformBdsLiblgao4
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-09Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI ↵mdkinney
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@8850 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09Retire Logo and Shell guid header file, which are replaced by ↵lgao4
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30Fix system memory map issue.gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8685 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24Fix build warning of implicitly pointer castingklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8651 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24remove the self-implementation on checksum() in this module by using BaseLib.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8638 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe modulemdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8492 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and ↵mdkinney
<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@8488 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-011) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the ↵mdkinney
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
2009-05-30This checkin addresses the compatibility issue of passing arguments of type ↵mdkinney
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
2009-03-02remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkgqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7760 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-261, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, ↵klu2
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@7709 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkgklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7658 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23DuetPkg/Library/DuetSerialIoLib => PcAtChipsetPkg/Library/SerialIoLibjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7618 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23Remove unused DuetDxeReportStatusCodeLibqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7581 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09Add DxeCoreReportStatusCodeLibFromHob library instance. For now, it is ↵qhuang8
dedicated to DxeCore for DuetPkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7483 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03Clean up DuetBdsLib:qhuang8
Refine to pass CYGWIN GCC tool chain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7410 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-201, Add logo.bmp to fv file for showing it in graphic modeklu2
2, Hard code timeout to 5 second. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7315 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13Use ACPI timer for Duet platform.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7264 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-071, Remove DxeReportStatus driver, because DxeIpl has published a instance ↵klu2
from hob. And new status code library will use this instance from hob. 2, Use gBS->Stall() for MicroSecondDelay() implementation in DuetTimerLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7202 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06Add DuetDxeReportStatusCodeLib which will get ReportStatusCode from hob if ↵klu2
fail to get protocol. This library could be used for DxeCore module to output early debug message via serial. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7186 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30Fix bug that Duet BDS fail to get PciExpressAddress from guid hob.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7155 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26Fix bundle of issue for ICC buildklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26Fix the build failure of DuetBdsLib.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6733 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-241.retried graphics library class from MdePkgvanjeff
2.retried graphics library instance from MdeModulePkg 3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13Rename PalCallLib to PalLib qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6520 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30Patch to remove STATIC modifier. This is on longer recommended by EFI ↵jji4
Framework coding style. All duplicated symbols has been renamed accordingly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6302 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30Implement Read() and Poll()mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6294 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27Changing source filename to match name changing.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6050 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27Renamed remotelyvanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6028 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04clean up the un-suitable ';' location when declaring the functions.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04remove EFI_EVENT_ alias, replace them with EVT_vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5813 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13Fix build issue in linux environment.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5636 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05Add DuetTimerLib and DuetSerialIo library instance.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5162 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05Fix many bugs in DUET package and now DUET package is enabled for floppy ↵klu2
successful. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5158 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-30Fix some bugs in FSVariable and BdsPlatform for duet platform.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5155 6f19259b-4bc3-4df7-8a09-765794883524