Commit Graph

89 Commits

Author SHA1 Message Date
qhuang8 31f228cfc0 Make end of line consistent caused by previous check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9183 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:35:55 +00:00
qhuang8 248515801a Integrate the patch contributed by Andrew Fish to port MdeModulePkg to support ARM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9174 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:22:14 +00:00
qhuang8 9d37f82f3e Use .p2align directive instead of ambiguous .align directive.
(Judging from the context, the original .align should means the power of two.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9153 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 07:38:26 +00:00
qhuang8 28efc722c4 1. Update DxeIpl PEIM to not use PeCoffLoaderLib to load DXE core. Instead, we choose to use EFI_PEI_LOAD_FILE_PPI to load DxeCore. This implementation can help to save ~3KB size for PEI phase.
2. Update DxeIpl PEIM to not use S3Lib and RecoveryLib since the dependent PPIs have been moved from IntelFrameworkPkg to MdePkg. This will help to reduce the library instance selection in platform DSC files. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9046 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 15:49:15 +00:00
xli24 132f41f0a9 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:22:09 +00:00
lgao4 12b3e61ee8 Add ASSERT when EFI decompress need to be parsed but it is not supported.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8191 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 01:37:19 +00:00
jljusten 873b7997ef Add PcdDxeIplSupportUefiDecompress usage into DxeIpl to save space
if UEFI decompression is not needed to find the DXE Core.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8190 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 18:26:15 +00:00
jljusten 6d3ea23f11 Fix various 'EFIAPI' inconsistencies found while building MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8062 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:18 +00:00
qhuang8 4bfa7dc45f 1. Remove feature flag PcdDxeIplEnableIdt entries
2. Add Patchable type for PcdConOutColumn & PcdConOutRow

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7645 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 09:17:58 +00:00
lgao4 96827f1756 Correct FeatureFlagExpress PCD format based on INF spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7327 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 07:25:23 +00:00
gikidy f50cf5032a Meta-data review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7312 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:01:44 +00:00
qhuang8 48557c6550 Code scrub DxeIpl, Runtime, DevicePath, FvbServicesLib, DiskIo, Partition, English, EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7105 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 16:20:43 +00:00
jji4 6f3156155b INF head modified
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7002 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 01:27:36 +00:00
mdkinney 4e2dd553a6 Simplify call to FUNCTION_ENTRY_POINT() based on updates to that macro
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6884 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 23:26:01 +00:00
xli24 84828cd260 Fix the build break caused by update of FUNCTION_ENTRY_POINT macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6869 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 08:35:38 +00:00
gikidy cfc8865f17 Remove some useless EDK_RELEASE_VERSION, EFI_SPECIFICATION_VERSION ,and review VALID_ARCHITECTURES in inf files with DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6818 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 09:08:05 +00:00
lgao4 a55caa5335 Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6755 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:24:29 +00:00
xli24 310bc7635c Add necessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6751 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:01:58 +00:00
qhuang8 c2efc4b060 Split Ebc from x64 implementation since x64 version supports to create x64 mode page tables in memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6618 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:06:02 +00:00
mdkinney f3b33289f0 Create X64 mode page tables in memory even when PEI is already X64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6550 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-15 23:59:07 +00:00
klu2 0a97e5ccf6 Remove over specific library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6386 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 04:42:19 +00:00
klu2 7d7d5739ed Remove over specific library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6385 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 02:28:20 +00:00
mdkinney 4bf952d181 Images loaded by the DXE IPL should allocate memory of type EfiBootServicesCode, not EfiBootServicesData
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6283 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 03:28:03 +00:00
vanjeff 078bee4ebf clean up EBC in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6267 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 07:17:17 +00:00
xli24 1f3a753ee6 Update prototype of DxeLoadCore().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5819 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:17:17 +00:00
lgao4 e872988180 remove the unused msa files in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5726 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:03:29 +00:00
mdkinney 911361242b Increase size of function addresses printed in DEBUG messages from 10 to 11 characters
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5602 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-01 22:41:20 +00:00
lgao4 f02d0c0fe9 Add comments to MdeModulePkg.dec, Correct minor comments for other files and Add new guided IFR opcode to framework option key value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5581 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 05:51:09 +00:00
qhuang8 b39ece655b Fix the ICC waring for unreachable code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5526 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-19 02:07:48 +00:00
qhuang8 b6b98e9133 Simplify the code to use the EFI_FV_FILE_INFO structure of DxeCore to save the extra GUID copy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5525 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-19 01:38:40 +00:00
qhuang8 9b937a73b0 Code scrub DxeIpl to add back the CONST modifier and solve a typecast warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5516 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-18 02:47:57 +00:00
qhuang8 9c8eefab05 Temporarily remove the immature "CONST" modifier.
Use FUNCTION_ENTRY_POINT macro to print the entry point of DXE core.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5505 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 13:43:26 +00:00
qhuang8 b98da1b1f9 Code Scrub DxeIpl module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5502 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 13:17:50 +00:00
lgao4 5f597758e2 Code scrube for MdeModule Definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5428 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 13:29:42 +00:00
eric_tian ed0b86b183 make change to support UnixPkg build. The changes are listed as follows:
1. change ASM_PFX() macro, the underscore preceding to function symbol don't be added in Linux.
2. move some illegal characters in .S file.
3. change ELFGCC flag in tools_def.template to support Linux&ELFGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5381 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 05:50:49 +00:00
mdkinney 1ad76c3466 Remove ASSERT() if ReadOnlyVariable2 PPI is not present. Instead, skip variable read if the PPI is not present.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5312 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 23:09:04 +00:00
qhuang8 f45af90b01 Update to fix minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5257 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 04:03:40 +00:00
qhuang8 708919bef7 Minor coding style adjustment for DxeIpl.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5197 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 09:09:41 +00:00
qhuang8 91d92e2564 Add doxygen style comments for functions in DxeIpl.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5174 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 06:58:06 +00:00
qhuang8 fbc81c1e93 Update the file description to be more descriptive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5001 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 03:49:36 +00:00
qhuang8 96226baa28 Update all files in DxeIpl Peim to follow doxygen style header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4998 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 03:01:25 +00:00
lgao4 15762b535c Remove unused gEfiPeiSecurityPpiGuid for PeiMain and DxeIpl
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4990 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 09:40:36 +00:00
jwang36 b761638929 Added necessary dependent packages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4989 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 09:20:11 +00:00
klu2 797a9d6791 MdeModule cleanup for PI:
1) PeiMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
2) DxeMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
   - Do not produce SectionExtraction protocol which is belong to IntelFramework specification.
   - Update many macro for PI specifications.
3) DxeIpl
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
4) Add SectionExtractionDxe module (IntelFrameworkModulePkg)
   - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:47:56 +00:00
lgao4 288f9b3824 Enable PeiCore to dispatch the encapsulated fv images with depex expression. This feature can process the different fv images in the different boot path, which is useful for boot performance and image size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4366 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-06 09:52:27 +00:00
mdkinney b74350e956 1) Improve the EFI Memory Map stability to improve ACPI S4 support
2) Update DXE IPL to always publish the MemoryTypeInformation HOB



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4327 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 02:47:37 +00:00
qhuang8 189575e88b Fix build break for X64 cpu architecture.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4293 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 07:33:43 +00:00
qhuang8 30c8f8616d PI spec will be updated to make it clear that this HOB should describe the stack range before going to DXE.
Therefore, we should update stack Hob in DxeLoad to reflect real stack

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4290 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:57:04 +00:00
lgao4 6b978d166b To find DxeCore by PE32 section is enough, DxeCore can't be wrapped TE section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4274 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 10:08:57 +00:00
lgao4 a85e7bfcd8 Print entry point address by using 0x%10p for the above 4G address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4256 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 02:29:44 +00:00