Commit Graph

41 Commits

Author SHA1 Message Date
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
klu2 14a71bf34c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3070 6f19259b-4bc3-4df7-8a09-765794883524 2007-07-05 07:10:59 +00:00
klu2 af05f8b667 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3065 6f19259b-4bc3-4df7-8a09-765794883524 2007-07-05 06:37:16 +00:00
yshang1 a6f8e804a5 Fixed the "{" in makefile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3064 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:31:49 +00:00
klu2 9c0f45b21b fix path error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3063 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:28:23 +00:00
klu2 033655ddb4 Close all compiler's options for debug Sec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3058 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 05:57:19 +00:00
klu2 2e19fd0ff6 Porting SecMain module for Nt32Pkg, but not enable PI, so it currently dependent on IntelFrameworkPkg temporary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2998 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:18:19 +00:00