Commit Graph

56 Commits

Author SHA1 Message Date
Gary Lin 8aa9d68032 Nt32Pkg: Fix typos in comments and variables
- discontiguous -> discontinuous
- reloaced -> relocated
- supresses -> suppresses
- debuging -> debugging
- suported -> supported
- availble -> available
- environmemt -> environment
- Seperator -> Separator
- remmeber -> remember
- interperted -> interpreted
- the a new -> the new
- initailized -> initialized
- attribue -> attribute
- boundry -> boundary
- nto -> not
- permenent -> permanent
- immediatly -> immediately
- excuted -> executed

Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
2016-11-15 11:05:33 +08:00
Cinnamon Shia 4e50241273 Nt32Pkg: Fix asserts from running Nt32 64-bit on Win8
On Windows 8, 64-bit NT32 images are loaded above 4GB.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19736 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-25 04:45:55 +00:00
Liming Gao 370e695d38 Nt32Pkg: Fix VS2015 Build Failure
VS2015 separates vcruntime.lib and ucrt.lib from msvcrt.lib. Per MSDN notes,
If you link with the /nodefaultlib option, you will need to link several
extra libraries when you link. For example, whereas you previously might have
just linked msvcrt.lib in order to use the CRT DLL, you will now also
need to link vcruntime.lib and ucrt.lib. More detail is in
http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19430 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-22 01:01:31 +00:00
Qiu Shumin 16b6347b30 NT32Pkg: Bind NT32 process to a single core to avoid NT32 crash issue in some multi-core processors.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Ni Ruiyu <ni.ruiyu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16951 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-28 02:36:06 +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
rsun3 3bbe68a362 Add Missing invocations to VA_END() for VA_START().
Signed-off-by: rsun3
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-01 06:06:08 +00:00
niruiyu 24e12917a4 Enable the SE_TIME_ZONE_NAME privilege for NT32 to fix SetTime function test running in Win7
Fix the GetTime implementation to return the correct Daylight value.

Signed-off-by: niruiyu
Reviewed-by: erictian

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12559 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-24 06:57:57 +00:00
mdkinney 1b65880229 Fix ICC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11773 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 00:11:28 +00:00
mdkinney 75e55c54be Set EXECUTE flags in so RELEASE builds can tun correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11516 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-11 00:13:56 +00:00
mdkinney 831ff057d7 Add support for the GetTimerValue() to the CPU AP for NT32. This also requires some performance counter APIs to be added to the WinNtThunk Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11403 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-16 00:38:17 +00:00
vanjeff d0a3ead235 Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 02:03:35 +00:00
ydong10 f515069c19 Fixed update file time error problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10913 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-09 02:46:37 +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
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 f7c58a94cf Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9865 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:30:55 +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
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 1f53f7bb99 Update SecMain for Nt32 to use WriteFile() for all status code related console output so the same mechanism is used for SEC, PEI, and DXE. Previously SEC and PEI were using printf() and DXE was using WriteFile() and the order of the messages was not correct in all cases. By using the same method for all status code output, the order of the messages is correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8411 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-31 00:19:54 +00:00
mdkinney a776476a83 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@8410 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-31 00:06:01 +00:00
eric_tian 0d10bfc88a update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8111 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 04:48:48 +00:00
eric_tian 84a7fd1e66 updated to use the term “temporary memory” but not CAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8037 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 08:15:50 +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
lgao4 842b46a4b6 Update SecMain code to remove unused logic.
Add VariableInfo application into Nt32Pkg.dsc

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7604 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 14:36:37 +00:00
jwang36 d5469f43e3 Corrected the case of file name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7469 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 08:54:41 +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
lgao4 f829715058 remove the unused msa files in FatBinPkg, IntelFrameworkPkg, IntelFrameworkModulePkg, Nt32Pkg, OptionRomPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5727 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:08:13 +00:00
klu2 6ae8142848 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4906 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:23:16 +00:00
klu2 ff33b87dd8 Correct the value of StackBase, the stack base address is not stack's top address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4794 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:37:29 +00:00
klu2 58dcdada56 Merge Temporary Ram support patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 18:24:43 +00:00
lgao4 706e753467 Modify minor error in Nt32Pkg.dsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4349 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:18:29 +00:00
klu2 85e43be15e The default value of SecMain should be set as INIT_CAR_VALUE = 0x5aa55aa5, then PeiMain could computer how many stack ever used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4261 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 07:10:43 +00:00
lhauch c43a6c7ee3 Added flag to permit building with VS2005. (strcpy has been depricated, so MSFT introduced a flag to turn off the warning.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4217 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 17:52:45 +00:00
jwang36 9489f8bd76 Added "/D_CRT_SECURE_NO_WARNINGS" to disable warning for using not secure CRT function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4124 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 06:20:31 +00:00
lgao4 1ce69023d6 Add release compiler option support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4072 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 03:59:37 +00:00
lgao4 952261d5ef Use VirtualAlloc() to allocate enough memory space for Nt32 emulator in place of original mapped file to memory space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4068 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:13:43 +00:00
klu2 5b682ea67c Remove duplicate section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3978 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 04:43:54 +00:00
klu2 5aae0aa7d8 PI Enable:
1) The entry point of PeiCore has been changed to EFI_PEI_CORE_ENTRY_POINT defined in PI. 
2) Nt32, Tiger and lakeport platform's SecCore has been updated.
3) Autogen tools also has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3804 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:52:37 +00:00
qwang12 e1001af1d4 Merge the PI enabling works from the branch
First round of PI enabling work:
1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc)
2) Make use of FirmwareVolume 2 protocol.
3) Verified for Nt32Pkg and real platform for S3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3771 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:10:44 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
qhuang8 1cf79a5e65 Update INF files to remove/update non-exist files listed in [sources] sections.
New build tool performs stricter check.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3733 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 12:38:21 +00:00
AJFISH d0dc913e41 Removed IntelFrameworkPkg references from SEC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3489 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 16:55:19 +00:00
klu2 246f0e3e9d Remove [Include] from INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3469 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 03:20:06 +00:00
jwang36 85d48d91eb Removed non-existing file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3465 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 01:52:34 +00:00
jwang36 a695d1356f No longer needed. Use USER_DEFINED module type instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3464 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 01:51:31 +00:00
jwang36 4a561bc16b Changed customized build to USER_DEFINED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3435 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 06:13:30 +00:00
vanjeff dd0687a4b1 remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 04:33:45 +00:00
klu2 afc4d4e0f4 Add cleanall target
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3089 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 02:24:51 +00:00
klu2 910f969c93 Fix the issue that Sec lost library build dependency
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3083 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 02:07:57 +00:00