summaryrefslogtreecommitdiff
path: root/Nt32Pkg/Library
AgeCommit message (Collapse)Author
2015-08-25Nt32Pkg: Keep boot behavior using new BDS almost same as that using old BDSRuiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18306 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-06Nt32Pkg: Platform BDS should test the untested memoryRuiyu Ni
NT32 has two ranges of memory, each 64MB. The first range is tested but the second range is not tested. Platform BDS should have code to use MemoryTest protocol to test the memory so that the second range of untested memory can be added to the system memory pool. Without the code SCT MemoryAllocation test case may fail. Because it firstly use GetMemoryMap to find the biggest free memory descriptor and then requests to allocate one page more than that biggest free memory. It expects the allocation fails but actually the DXE core automatically converts the second range of untested memory to tested and allocate the memory from the second range. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18172 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-03Nt32Pkg: Remove old useless bds platform lib.Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18128 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-03Nt32Pkg: Do connect all and Refresh boot option action after console is ↵Eric Dong
connected. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18127 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-18Nt32Pkg: Use different FILE_GUID.Ruiyu Ni
Use different FILE_GUID other than the one used by PlatformBootManagerLibNull. 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@17465 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-11Nt32Pkg: Add PlatformBootManagerLib to Nt32 platform.Ruiyu Ni
This library will co-work with UefiBootManagerLib and BdsDxe driver in MdeModulePkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17391 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-06Nt32Pkg: Use the new PCDs defined in MdePkg and MdeModulePkg.Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Shumin Qiu <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17315 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-12We enabled X64 native version NT32, and made it works on Windows 7 X64 OS.Jiamin Ma
Signed-off-by: Jiamin Ma <mjmthy@gmail.com> Reviewed by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed by: Liming Gao <liming.gao@intel.com> Reviewed by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14766 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-11Nt32Pkg: Add Secure Boot build option including Custom Mode setupleegrosenbaum
If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup. This allows Secure Boot to be configured through setup allowing Nt32Pkg to be a fully functional Secure Boot reference platforms. Signed-off-by: lee.g.rosenbaum@intel.com Reviewed-by: jiewen.yao@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13186 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-06Change DxeNt32PeCoffExtraActionLib to not depend on the library constructor ↵niruiyu
to initialize mWinNt pointer because DxeCore calls the library API before it calls the constructor. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10776 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-05Make PeCoffExtraActionLib more robust, in case it is called before its ↵andrewfish
constructor gets called. This fixes a crash in TOT. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10775 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14Update NT32 BDS Library to call GenericBdsLib function to save ↵mdkinney
gEfiMemoryTypeInformation git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10581 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10436 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@10160 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@10073 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-231. Correct File header to ## @filelgao4
2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10051 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Update PeCoffExtraActionLib for NT32 to allow an app or driver to be loaded ↵mdkinney
more than once. Only the first instance will support source level debug. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9983 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01Fix the build warning of potential uninitialized variable of "SizeOfHeaders". qhuang8
Update the file to use \r\n as end of line git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9899 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. ↵AJFISH
This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25Remove status code modules' dependency on IntelFrameworkModulePkg.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9606 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10Update Nt32 package to remove UID support .qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9403 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10Enable UID support in NT32 platformgdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9402 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24Make end of line consistent caused by previous check in.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9187 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24Integrate the patch contributed by Andrew Fish to add ARM support.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9182 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@8930 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11Remove extra #includes where possible to make build more efficientmdkinney
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@8901 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10Remove unused PeiServiceLib header file.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8868 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-10Remove 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@8851 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-20Fix ICC compatibility issuesmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 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@8493 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@8489 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01Increase source portability by replace the use of ↵mdkinney
EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8436 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 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@8408 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09Sync with PE/COFF Extra Action library class comments and add ASSERT() ↵mdkinney
conditions if ImageContext is NULL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8273 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Add empty lineqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7814 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add ↵qhuang8
PeCoffExtraActionLib class and instances. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7807 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@7758 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@7708 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@7656 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23Fix the wrong fix in last check inqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7592 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23Update Nt32 platform to use dynamic HII pcd to save console output mode.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7579 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11Use apply PeiServicesLib to locate PPIqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7504 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05Update PE/COFF libs to use machine type macros from PeImage.hmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7442 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18Remove the undefined logic to process gEfiStatusCodeSpecificDataGuid status ↵lgao4
code data. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7076 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT ↵gikidy
issue about definition and implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6826 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27Update PEIM entry point to follow PEIM entry point.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6754 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-111, Add <Library/DevicePathLib.h> for all source that use device path utility ↵klu2
macros 2, Add DevicePathLib library class to module's INF that use device path utility macros git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6459 6f19259b-4bc3-4df7-8a09-765794883524