Commit Graph

94 Commits

Author SHA1 Message Date
Ruiyu Ni 44cff56257 Nt32Pkg: Use different FILE_GUID.
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-18 05:30:01 +00:00
Ruiyu Ni 123e9f62ef Nt32Pkg: Add PlatformBootManagerLib to Nt32 platform.
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-11 03:06:24 +00:00
Ruiyu Ni dd94583b48 Nt32Pkg: Use the new PCDs defined in MdePkg and MdeModulePkg.
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
2015-05-06 03:23:58 +00:00
Jiamin Ma f66a43b26e We enabled X64 native version NT32, and made it works on Windows 7 X64 OS.
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
2013-10-12 06:31:55 +00:00
leegrosenbaum 0ff38cbfa3 Nt32Pkg: Add Secure Boot build option including Custom Mode setup
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
2012-04-11 16:23:41 +00:00
niruiyu 1a2ae0f71f Change DxeNt32PeCoffExtraActionLib to not depend on the library constructor 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-06 01:20:17 +00:00
andrewfish 21ff163c8c Make PeCoffExtraActionLib more robust, in case it is called before its 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-08-05 20:03:44 +00:00
mdkinney ea3cfce6a5 Update NT32 BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10581 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:28:21 +00:00
hhtian 8f2a5f8012 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10436 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:24:39 +00:00
xli24 8cc7e3e396 Remove over-specified dependencies on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10160 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 03:27:21 +00:00
klu2 0b757975ef Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10073 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:36:36 +00:00
lgao4 7b202cb0f9 1. Correct File header to ## @file
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-23 23:58:38 +00:00
mdkinney 6635217350 Update PeCoffExtraActionLib for NT32 to allow an app or driver to be loaded 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-11 04:32:34 +00:00
qhuang8 a3deae0da3 Fix the build warning of potential uninitialized variable of "SizeOfHeaders".
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-02-01 12:58:52 +00:00
AJFISH 225290eba7 Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. 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
2010-01-14 23:39:29 +00:00
xli24 bef09f336e Remove status code modules' dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9606 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 06:36:47 +00:00
qhuang8 60f3d321ce Update Nt32 package to remove UID support .
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9403 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 13:58:41 +00:00
gdong1 aa11588194 Enable UID support in NT32 platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9402 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 10:03:05 +00:00
qhuang8 b06f85ae30 Make end of line consistent caused by previous check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9187 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:57:23 +00:00
qhuang8 31dd4e2711 Integrate the patch contributed by Andrew Fish to add ARM support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9182 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:33:43 +00:00
eric_tian f51c8a9de3 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@8930 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:06:51 +00:00
mdkinney 7075f41227 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@8901 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:28:37 +00:00
lgao4 989003bfde Remove unused PeiServiceLib header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8868 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 08:25:51 +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 83c4704cf9 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@8851 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 00:03:30 +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
mdkinney a00ec39b52 Fix ICC compatibility issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-20 17:05:16 +00:00
mdkinney d5275ee678 Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8493 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:44:35 +00:00
mdkinney 5e335a5280 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@8489 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:14:53 +00:00
mdkinney be71cc9f73 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@8436 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 22:42:21 +00:00
mdkinney 53d74081d0 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@8408 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30 23:54:42 +00:00
mdkinney 51f1a2b5b8 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@8273 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09 00:50:40 +00:00
qhuang8 ee31b443e2 Add empty line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7814 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 13:56:34 +00:00
qhuang8 ffdd18bb45 Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7807 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:15:30 +00:00
qhuang8 9bc2425a6f remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7758 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:09:34 +00:00
klu2 21e97c72eb 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@7708 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 07:19:01 +00:00
klu2 9b4efc6c0c Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7656 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:52:40 +00:00
qhuang8 1a9a125313 Fix the wrong fix in last check in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7592 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:26:04 +00:00
qhuang8 fcf24bad4a Update Nt32 platform to use dynamic HII pcd to save console output mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7579 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:20:29 +00:00
qhuang8 d84dbca50e Use apply PeiServicesLib to locate PPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7504 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 07:41:02 +00:00
mdkinney 820886d2d1 Update PE/COFF libs to use machine type macros from PeImage.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7442 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:35:38 +00:00
lgao4 165aba19f5 Remove the undefined logic to process gEfiStatusCodeSpecificDataGuid status code data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7076 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 07:10:27 +00:00
gikidy 1f13f1c49a Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6826 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:03:39 +00:00
lgao4 f0ba8fda36 Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6754 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:18:34 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
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-24 05:49:59 +00:00
klu2 008698ab3d 1, Add <Library/DevicePathLib.h> for all source that use device path utility 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
2008-11-11 15:45:34 +00:00
jji4 78e570b6f9 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@6299 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:11:42 +00:00
qwang12 d251b34d2a Make use of correct format String:
1) UINT64 should use %lx
2) POINTER type should use %p
3) EFI_STATUS should use %r


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6254 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 10:13:49 +00:00
klu2 03c19e066d Use CONST instead of const
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6112 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-14 17:32:18 +00:00
klu2 0b94e31981 Fix ICC building issue for Nt32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6110 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-14 08:59:32 +00:00