lgao4
223c22d8ea
1. Add three sample PCD in HelloWorld application for user reference of PCD usage.
...
2. PeiCore will always build FvHob for the extracted FvImage once it decompresses the new FvImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5930 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 05:05:40 +00:00
qwang12
4792a1a65b
Rollback change done in 5919: "Remove the status code EFI_ALREADY_STARTED to avoid confusion since it is not a possible return status from LoadFile() interface." It is accidentally overwritten in last check-in.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5925 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 09:03:36 +00:00
qwang12
61ad8a41e7
Remove the GrowBuffer function. Just use the simple way to get the buffer size and then read the buffer. This change improve the readability and save 0x60 byte of data for release build according to MAP file generated for X64 arch.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5924 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 08:42:11 +00:00
qhuang8
d9177625f6
Adjust the function layout to remove the prototype of internal functions to reduce sync efforts.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5921 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 14:20:29 +00:00
qhuang8
e676c4d0c6
Apply HighBitSet() in MDE baseLib to retire the internal function CoreHighestSetBit().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5920 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 13:35:14 +00:00
qhuang8
2ce854f515
Remove the status code EFI_ALREADY_STARTED to avoid confusion since it is not a possible return status from LoadFile() interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5919 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 13:34:18 +00:00
qhuang8
f94b9be34f
Adjust the function layout of Timer.c to remove the prototype to reduce sync efforts.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5918 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 13:32:52 +00:00
qhuang8
3f1435782f
Refine code to remove the last entry of mArchProtocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5917 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 13:31:43 +00:00
qhuang8
57b4ecb94b
Fix several code review minor comments:
...
1. Line 79:Use the pre-initialized global variable mPoolHeadList = INITIALIZE_LIST_HEAD_VARIABLE (mPoolHeadList) to remove the statement in line 102
2. Line 337: The debug print statement: “Addr = %x” should change to “Addr = %p” since the expected Buffer is VOID *; How about “(len %x) %,d” ? The Size & Pool->Used belong to type UINTN? Cast it to UINT64 and use %lx
3.Line 413, 418, 425, 477: Use “Buffer != NULL” instead of “NULL != Buffer”
4. Line 451: The debug print statement: “FreePool = %x” should change to FreePool = %p” since Head->Data is pointer; How about “(len %x) %,d” ? The Head->Size& Pool->Used belong to type UINTN? Cast it to UINT64 and use %lx
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5916 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 13:29:44 +00:00
qhuang8
d45fd26026
Fix several code review minor comments:
...
1.Line 1520, 1525, 1530:Use goto to save Release Lock
2.Line 224: Do not use DEBUG_ERROR, since it is not an error case
3.Scrub the DEBUG () print statement to add DEBUG_PAGE
4.Line 20: Typo of "help cooalese"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5915 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 13:28:05 +00:00
qwang12
a70c0fd846
Add VA_END to end the VA_START.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5907 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 02:30:24 +00:00
qwang12
46fee0d7b6
Remove the unnecessary spin_lock protection around CoreUnloadImage. There is almost zero possibility for this reentrancy issue here. With this change, we also keep EDK 2 and EDK core's CoreUnloadImage consistent with each other.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5906 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 02:20:24 +00:00
eric_tian
11074aabe1
CoreHandleProtocol function description should be corrected.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5903 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 08:02:57 +00:00
eric_tian
1947c70c3e
Merge the global data in ExecData.c to Event.c
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5901 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:53:15 +00:00
eric_tian
c18f12d375
Comments for CoreInitializeMemoryServices should be updated
...
Comments for CoreInitializeGcdServices should be updated.
Comments for CoreInitializeEventServices should be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5899 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:35:17 +00:00
eric_tian
5f3232d7e8
The file name Exec.h contains UEFI Event support functions and structure. But its file name is not very meaningful and we can consider renaming it.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5898 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:22:44 +00:00
eric_tian
1349236994
follow up the comments from code review.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5891 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 05:19:25 +00:00
qhuang8
7899b79715
Remove the internal CoreCreateProtocolNotifyEvent() in DxeCore, for UefiLib provide the similar function EfiCreateProtocolNotifyEvent(). DxeCore can use that library function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5883 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12 01:12:31 +00:00
qhuang8
f0d5cbb66a
Update the usage of ALIGN_VARIABLE for the interface change.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5870 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 16:05:24 +00:00
qwang12
fa3c419fec
Fix a bug by adding CoreReleaseProtocolLock.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5866 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 06:30:40 +00:00
qhuang8
3b6ffb6a13
Add EFIAPI modifier for all GCD services APIs
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5865 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 03:25:49 +00:00
qhuang8
c0a23f8c37
Remove the prototype of internal functions to avoid the sync efforts.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5861 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:36:40 +00:00
qwang12
130f16022c
Rename Hand.h to Handle.h.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5860 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:29:23 +00:00
qwang12
c79be85e9d
Adjust the field position of PROTOCOL_NOTIFY.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5858 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:19:46 +00:00
qwang12
6c857d668c
1) Update some comment.
...
2) Add in handle for the out_of_resource cases
3) Add in Done label to clean up the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5853 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 02:39:44 +00:00
qhuang8
599979d4ce
Remove unused global variable.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5852 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 01:50:38 +00:00
qhuang8
dbfb4b229c
Remove two obsolete function prototypes.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5851 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 01:47:33 +00:00
qwang12
b9066aae25
Change field Handle to type IHANDLE to remove the type casting.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5846 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 12:50:40 +00:00
qwang12
4008328a99
Remove NULL_HANDLE. NULL_HANDLE should be replaced with NULL as consistency. For now, only DXE core is using this macro.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5836 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:02:38 +00:00
qwang12
7f932291b5
Add more comment for EFI_DEP_REPLACE_TRUE
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5833 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 02:00:38 +00:00
qwang12
7ffbd6182d
Remove a dead macro EFI_DXESERVICE
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5832 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 01:55:51 +00:00
vanjeff
ed66e1bc0d
clean up the un-suitable ';' location when declaring the functions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +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
vanjeff
8ee3a19908
Updated EFI_FVB_ATTRIBUTES to EFI_FVB_ATTRIBUTES_2.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5800 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:55:55 +00:00
klu2
4c6486b90e
move ProcessFv() from dispatcher.c to FwVol.c
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5787 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:26:40 +00:00
klu2
63b623312d
Clean up BottomOfCarHeap, TopOfCarHeap, SizeOfTemporaryMemory, SizeOfCacheAsRam, MaxTopOfCarHeap from PeiCore's private data structure. Because after PI enabling, these data value can be got from SecCore's handoff data structure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5786 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 06:51:30 +00:00
klu2
6a1ae84a26
When new FV is installed, VerifyFv() should be invoked to do security checking for this FV.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5785 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 06:25:35 +00:00
qhuang8
19e14fc9d9
1. Use AllocateAlignedPages() to remove tricky logic in DebugImageInfo.c
...
2. Add ReportStatusCodeLib instance in MdeModulePkg.dsc for DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5774 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 05:51:05 +00:00
qhuang8
ceb9059cda
clean up DxeCore to remove some dead code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5764 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-01 11:32:49 +00:00
qhuang8
2680a30801
Clean up DxeCore to use report status code macros in ReportStatusCode to retire CoreReportProgressCode() & CoreReportProgressCodeSpecific() in Library.c in DxeCore.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5761 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-01 08:27:31 +00:00
lgao4
60c93673b3
The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-30 14:09:38 +00:00
qhuang8
de4e6bf963
Fix several approved code review comments:
...
1. Remove internal function prototypes to avoid sync efforts. The layout of them have been adjusted
2. Apply macro ALIGN_POINTER to get next section stream
3. Fix a potential memory leak issue.
4. Make the comparison between type UINTN and 0 consistent between one function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5747 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 02:53:16 +00:00
qhuang8
9c4ac31cca
Clean up DxeCore to remove duplicate memory allocation & device path utility services in Library.c.DxeCore should use MemoryAllocationLib & DevicePathLib for these API.
...
Minor cleanup the coding style: #include <DxeMain.h> should be changed to #include "DxeMain.h" since "DxeMain.h" is not pubic header fie.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5742 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 14:29:23 +00:00
qhuang8
070f0cf7f2
Add dependency of DevicePathLib to DxeCore so that the internal device path related APIs can be retired to avoid code duplication.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5738 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 13:48:11 +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
lgao4
d571173e31
Fix ICC build error for the inconsistent PeiService pointer date type.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5708 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 14:23:20 +00:00
lgao4
2a00326e8e
Add compatibility logic to handle framework fvhob and install FvInfo ppi. And remove the unused Pcd from MdeModulePkg.dec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5704 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 07:51:03 +00:00
qhuang8
0e9b156ddc
Remove the global variable of gDxeCoreBS and uses the gBS in UefiBootServicesTableLib for DXE Core.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5697 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 09:41:53 +00:00
qhuang8
4fdc91291e
Add GLOBAL_REMOVE_IF_UNREFERENCED modifier in the array and change the protocol UI strings to ASCII string since they are only for debug purpose.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5672 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 08:40:52 +00:00
qhuang8
4e498a0f27
Remove an unreferenced field in PROTOCOL_INTERFACE data structure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5670 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 08:39:05 +00:00
qhuang8
82b8c8df07
Re-integrate patch in r5626~r5628:Enhance PeiCore dispatcher and fix a bug in the patch.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5669 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 08:38:00 +00:00
qhuang8
6d2e8727b7
Re-integrate patch in r5625: "Only build FvHob for the extracted FvImage those parent Fv image has FvHob"
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5631 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 05:38:58 +00:00
qhuang8
14941e689f
Temporarily rollback the change from 5625 though 5628 for more investigation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5629 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 05:04:35 +00:00
klu2
1bd90a4c47
Add PeimDispatcherReenter to fix bug of PeiDispatch can not be quit correctly.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5628 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 03:27:57 +00:00
klu2
d949491623
Correct more comments for PeiCore.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5627 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-11 09:28:27 +00:00
klu2
1762b989dc
Enhance PeiCore's dispatcher, move PeimDispatchOnThisPass and PeimNeedingDispatch to private data to hold status for PeiCore's second reenter.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5626 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-11 08:13:21 +00:00
lgao4
b2821d6b64
Only build FvHob for the extracted FvImage those parent Fv image has FvHob.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5625 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-11 07:36:24 +00:00
lgao4
a9bfd8029d
Roll back PeiImageRead to original implementation, this function will be shadowed, so it can't be replaced by CopyMem Api.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5622 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 06:11:33 +00:00
qwang12
1439777e96
1) Change DEBUG_ERROR TO DEBUG_LOAD as InstallProtocolInterface information is not an error.
...
2) Revert binary comparison for consistency.
3) Minor updates for comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5621 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 03:49:09 +00:00
lgao4
ed299e3c41
Correct some comments to add the detailed information.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5620 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 03:33:16 +00:00
klu2
d73d93c31e
Synchronize the comments for PeiService.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5619 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 03:22:23 +00:00
klu2
731bd38eac
Add more comments for PeiCore.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5618 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 03:05:03 +00:00
klu2
1527399381
Correct comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5617 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 02:17:45 +00:00
klu2
dc857d5641
correct comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5616 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 01:37:44 +00:00
klu2
0f65cdaa41
correct comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5615 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 01:36:13 +00:00
klu2
1cc76977d8
Correct comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5614 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-08 01:35:46 +00:00
mdkinney
51b02d81f0
Fix UEFI Boot Service CreateEvent() to follow UEFI Specification with respect to the use of TPL_APPLICATION
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5606 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-01 23:54:52 +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
vanjeff
75b046c3d4
Using Spin lock instead of using RaiseTpl() to prevent UnloadImage() re-entrance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5600 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-01 08:10:49 +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
eric_tian
9920ae74af
modify coding style to pass ecc tool
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5575 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 02:43:46 +00:00
qhuang8
443109389d
Minor clean up.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5572 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-26 07:46:04 +00:00
qhuang8
022c6d45ef
Code Scrub for Dxe Core.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5560 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-24 02:54:45 +00:00
klu2
40f26b8f44
Code scrub for PeiCore module.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5558 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 09:15:14 +00:00
eric_tian
95770ed8af
change lower case to upper case to pass Unix build
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5531 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 02:55:15 +00:00
qhuang8
5c5a0601e8
Fix a bug that PeiCore might fail to fix up Ppi pointer in CAR.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5527 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-19 15:56:49 +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
e94a9ff727
Code scrub for DxeCore
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5520 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-18 09:50:09 +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
klu2
ba57315e64
Change first char in filename to uppercase
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5509 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17 01:29:38 +00:00
klu2
e723404cc8
Change first char in filename to uppercase
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5508 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17 01:25:52 +00:00
klu2
bf72d5fc65
Change first char in filename to uppercase
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5507 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17 01:24:20 +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
klu2
b1f6a7c636
Fix function comment to follows doxygen format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5499 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 09:40:06 +00:00
klu2
b414ea4b21
TempRamSupportPpi is architectural required for IA32/x64/IPF.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5462 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 07:25:08 +00:00
qwang12
9fc787529c
Clean up Runtime for Doxygen comments requirement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5460 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 05:43:37 +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
klu2
d74eeda8a7
Remove window EOL
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5425 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 09:06:41 +00:00
klu2
66c69dea0d
PeiCore should fixup heap/stack pointer according to heap's/stack's base address separately.
...
After this check-in, PeiCore will do not make any assumption of heap/stack layout in CAR.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5421 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:49:10 +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
7bc3788c5b
If the last PEIM dispatched in Pre-Memory PEI is the last PEIM in the BFV, then no PEIMs will be dispatched in Post Memory PEI.
...
Reset CurrentPeimCount on the transition from Pre-Memory PEI to Post-Memory PEI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5313 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 23:10:44 +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
6960e9ae7a
Remove minor defects in Doxygen header
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5270 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 09:00:12 +00:00
vanjeff
57d6f36db6
add debug information.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5266 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 08:32:06 +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
23c98c9417
Update to fix minor coding style issues.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5256 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:40:12 +00:00
qhuang8
3b1d9fd579
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5255 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:10:16 +00:00
qhuang8
b21f513659
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5254 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:06:28 +00:00
qhuang8
1424518bd2
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5253 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:05:39 +00:00
qhuang8
ae91108427
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5252 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:05:17 +00:00
qhuang8
cc907d1264
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5251 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:04:53 +00:00
qhuang8
ecc7f77e91
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5250 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:04:28 +00:00
qhuang8
924c766d6f
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5249 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:03:34 +00:00
qhuang8
d614b00ae0
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5248 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:02:35 +00:00
qhuang8
7ad23c3cea
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5247 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:02:02 +00:00
qhuang8
6cea0db87c
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5246 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:00:57 +00:00
qhuang8
3a610a1877
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5245 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:00:25 +00:00
qhuang8
91ee5ef167
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5244 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 00:59:13 +00:00
qhuang8
d4a9eca19a
Change the file name case to follow coding style: The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5243 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 00:58:42 +00:00
qhuang8
4f1faae809
Change file name case to follow coding style:The first character should be capital.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5242 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 00:56:56 +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
db405d1b89
Minor coding style adjustment for DxeCore.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5196 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 09:09:11 +00:00
qhuang8
71f68914fa
Fix the prediction warnings in DxeMain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5190 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 07:52:58 +00:00
qhuang8
162ed59443
Add doxygen style comments for functions in DxeMain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5189 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 07:08:30 +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
eric_tian
152af594cc
[Description]
...
modify the value pointed by NumberOfPages to accordance with IN&OUT modifier's syntax.
[Impaction]
add comments for NumberOfPages parameter and assign a correct value to it.
[Reference Info]
NumberOfPages is only updated inside the if statement on line 725. If buffer is big enough the actual number of pages occupied by the image is not returned
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5112 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 08:38:30 +00:00
lgao4
eaf539d00f
Change MAX_PPI_DESCRIPTORS to FixedPcd PcdPeiCoreMaxPpiSupported, the default value is 64. Maybe other platform requires more than 64 Ppi and set this Pcd value.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5061 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 05:39:13 +00:00
vanjeff
fb0b259e4e
apply for doxgen format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5038 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 08:49:28 +00:00
lgao4
504214c487
Add comments and DoxyGen format for these files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5028 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 07:07:50 +00:00
jljusten
1be0dda62d
Fix warnings generated by gcc for ia32 builds:
...
'cast from pointer to integer of different size'
when casting from a pointer directly to a
64 bit number. Added an intermediate cast to
UINTN.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5009 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 20:59:38 +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
eca7dbcb9e
PrivateInMem->CurrentPeimCount should not be incremented when memory is discovered, line 376 judgment has guarantee that the PEIM who discovery the memory would not be dispatched twice.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4988 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 06:25:37 +00:00
qhuang8
5fed8e341a
Update DxeCore to load image wit supported machine types:
...
DXE Core Supported Machine Types
======= ===================
IA32 IA32, EBC, X64
X64 X64, EBC, IA32
IPF IPF, EBC
EBC EBC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4977 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 06:56:35 +00:00
eric_tian
88c8f7fbfd
[Description]
...
spelling mistake
[Impaction]
modify the mistake
[Reference Info]
Found the spelling mistake in pool.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4949 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-24 07:11:37 +00:00
klu2
615c6dd0d4
Modify all file header to follow doxygen format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4917 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:01:03 +00:00
eric_tian
1564e9ac2c
[Description]
...
Duplicate the device path prior to the access to it
[Impaction]
directly access the device path may cause an exception when the device path includes some unaligned device path nodes
[Reference Info]
In the case of ISCSI, there is a situation that the device path may consists of some unaligned device path node. it causes the unaligned exception when we access the node.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4905 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 02:05:57 +00:00
lgao4
e10293550f
A leaf section type may contains an array of zero or more bytes. Support the section with the zero data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4852 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 10:12:17 +00:00
klu2
173b35e469
Fix GCC building issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4808 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 03:32:08 +00:00
klu2
b67be02118
Add comment for initialization value of CAR
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4806 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:57:02 +00:00
klu2
94578ce61a
For Itanium platform, the switch CAR action has been moved to SecCore according to PI specification, so I clean up the PeiCore to remove stack related code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4803 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:42:04 +00:00
klu2
9631746839
Correct the visit point's type, it should be UINT32 but not UINTN
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4801 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:29:26 +00:00
klu2
ca784f9737
Remove commented out code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:53:18 +00:00
klu2
a7715e7327
The calculating action for CAR usage should be put before calling temporary ram support PPI, because the CAR is unvaiable after switch stack from temporary memory to permenent memory.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4795 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:41:22 +00:00
qhuang8
383c303c49
Fix two minor defects:
...
1. CoreGetMemoryMap() returns unclean data
2. Zero length memory descriptor might be added to the memory map
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4790 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 11:33:13 +00:00
lgao4
6cd7b51e48
Correct the PeImage Source file to be measured by TCG.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4787 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 09:32:41 +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
vanjeff
ba39e316c9
1. Add EFI LOADED IMAGE DEVICE PATH Protocol in LoadImage() service, per UEFI 2.1b.
...
2. Update comments for DHCP.transmitreceive().
2. Update UefiPxeBcDxe.inf and PxeBcDxe.inf to assign correct protocol usages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4758 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 08:38:29 +00:00
qhuang8
bb8ffffd1c
Fix a conformance issue in gBS->CreateEvent() & gBS->CreateEventEx():
...
1. gBS->CreateEventEx() with EventGroup = NULL should behavior like gBS->CreateEvent()
2. EVT_SIGNAL_EXIT_BOOT_SERVICES & EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE are invalid parameters for gBS->CreateEventEx() if the EventGroup is not NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4692 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 02:47:49 +00:00
jljusten
d1f076304d
MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c:
...
Surrounded unreferenced STATIC functions by '#if 0', '#endif' to
prevent a compiler warning:
NotifyGuidedExtraction, CreateGuidedExtractionRpnEvent
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4688 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 00:22:19 +00:00
klu2
39d262c4ce
Fix bug in latest check-in of "Make sure the base address of stack base and base address of hob start is in page alignment in InstallPeiMemory() interface."
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4666 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-03 07:41:10 +00:00
qwang12
9226efe5eb
1) Cleanup HiiLib, IfrSupportLib.
...
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4662 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:15:44 +00:00
zliu3
3e3c809fc1
Roll back the updating of 4646 as it will cause the Richford SoftSDV boot failure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4648 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 11:38:47 +00:00
klu2
1eabd8e747
Make sure the base address of stack base and base address of hob start is in page alignment in InstallPeiMemory() interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4646 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 08:41:14 +00:00
qwang12
93e3992d1e
UEFI HII: Merge UEFI HII support changes from branch.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4599 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:39:56 +00:00
lgao4
822360ee34
Measure PEimage and ActionString data according to TPM requirement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4494 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:11:51 +00:00
vanjeff
50cb16d9ee
Fixed the bug that the PPI descriptor number defined in PeiCore.h is not enough to hold all the PPI and PPI notifies.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4435 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 02:43:28 +00:00
lgao4
b2c5e194a8
Use AllocatePage for FvImage.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4385 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 05:14:16 +00:00
lgao4
38837959db
Move sure FvImage buffer at its alignment when install FVB protocol on it.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4380 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 08:50:24 +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
mdkinney
70279390ba
Remove logic to repair image handles
...
Fix bug when new image handles are generated by Platform Driver Override or Bus Specific Driver Override
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4374 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 00:43:22 +00:00
mdkinney
f58f873c3b
roll back change
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4373 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 00:18:28 +00:00
lgao4
c4869732ec
Cache FvImage at buffer with its required alignment.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4372 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 10:25: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
klu2
1547078bec
Roll back wrong check in, peimain and dxe main still dependent on intelframeworkpkg yet.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4354 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-04 03:52:59 +00:00
klu2
2678061975
Remove useful dependency package's relationship
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4353 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-04 02:57:38 +00:00
mdkinney
adc8840a25
Update ConnectController() to convert an ImageHandle retrieved from the Platform Driver Override Protocol or the Bus Specific Driver Override Protocol into a set of Driver Binding Handles. This is required if the ImageHandle produces more than one Driver Binding Handle or produces a Driver Binding Protocol on a handle other than the ImageHandle for the driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4346 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 02:35:26 +00:00
qwang12
9a6b83a4ad
remove building of EFI_SEC_PLATFORM_INFORMATION_PPI GUIDed HOB from PEI core. Platform module is a better place for size and performance consideration.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4344 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-29 11:01:47 +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
8a7d75b062
Clean up: update "EFI" to "UEFI" if applicable.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:00:39 +00:00
lgao4
b010fb77c7
Revert R4300 change, Runtime driver doesn't need to covert the physical address stored in the configure tables after SetVirtualAddressMap().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4305 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 01:58:41 +00:00
qwang12
ef8169977a
Use MACRO EFI_FV_FILETYPE_ALL instead of a constant.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4303 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-19 08:03:35 +00:00
qwang12
7e181f2f37
1) Make PEI PI File system service to skip PAD file
...
2) Remove some unused code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4302 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-19 08:02:39 +00:00
lgao4
10e2e070c9
Convert the capsule image address installed in Configuration table to virtual address.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4300 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-16 10:26:51 +00:00
qwang12
3076397e4b
Add a feature flag to allow platform developer to decide if TE or PE32 section should be searched in PEI dispatcher.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4298 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-15 09:00:14 +00:00
vanjeff
cfe9de5244
1. CoreOpenImageFile(): FilePath should be IN OUT.
...
2. Use offset address to build device path instead of absolute address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4294 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-09 07:26:24 +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
qhuang8
f942f10760
Merge EDK899: fixed bug to support EFI_HOB_TYPE_MEMORY_ALLOCATION to allocate resource in PEI
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4289 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:52:35 +00:00
qwang12
a3a15d2108
1) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be ready, we flag that more Peims need to be dispatched.
...
2) Set the stack to be cacheable before the stack switch occurs so that IPF recovery path will be run from cacheble memory for code, data and stack.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4288 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:50:37 +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
klu2
61f21f400d
Should use MaxCarTop but *not* CarTop to computer the usage of stack
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4259 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 06:19:38 +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
lgao4
e98cd821eb
Print real entry point for IPF image.
...
Print DxeCore Entry point and image address.
Set FileHandle = NULL when not found FFS file in PeiService PeiFfsFindNextFile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4254 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 11:46:42 +00:00
klu2
6797657e9a
Fix the issue that CAR size is shown as negative number.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4249 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:59:18 +00:00
yshang1
34ec75fc96
1) Change GUID of emuvariable module.
...
2) Support print 64bit's HobList.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4245 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 08:58:40 +00:00
lgao4
9626a87e43
Add one judge whether TeImage or PeImage has reloc section when relocate TeImage or PeImage into memory.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4224 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 09:28:29 +00:00
qwang12
096cdcaa4e
ASSERT_EFI_ERROR (FALSE) should be ASSERT (FALSE)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4208 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 11:27:02 +00:00
qwang12
fb8749d0af
ASSERT_EFI_ERROR (FALSE) should be ASSERT (FALSE)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4207 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 11:22:34 +00:00
lgao4
4e844595f2
Fix alignment requirement when Load IPF TeImage into memory.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4197 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 10:41:03 +00:00
qwang12
e83327a80c
Fix a bug which does not run PeiCore from memory after shadowing it.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4186 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 11:56:20 +00:00
qwang12
02422d17f7
Fix a bug:
...
PI spec Vol 1, 7.3.1 specifies that this same information reported by EFI_SEC_PLATFORM_INFORMATION_PPI
will be placed in a GUIDed HOB with the PPI GUID as the HOB GUID for HOB consumer phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4166 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 10:01:06 +00:00
klu2
0a7d0741b6
The BaseAddress and Length should be align PAGE according to PI specification for EFI_MEMORY_ALLOCATION_HOB
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4162 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 06:09:03 +00:00
qwang12
26fa3b4968
Update the return status to comply to PI spec.
...
According to PI SPEC (Volume3 2.4), GetNextFile() should be return "EFI_NOT_FOUND" instead of "EFI_INVAILD_PARAMETER" when doesn't find the file with related File Type.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4159 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 01:00:01 +00:00
vanjeff
62409219a1
Merger trackers #7807 and #8372 .
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4153 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 06:55:15 +00:00
klu2
1d9cf613bc
Remove comments for removed parameter.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4123 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 06:03:42 +00:00
qwang12
177aabe660
1) add gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported and gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv to replace the MACRO definitions.
...
2) Fix a bug in Pei dispatcher to suppoprt PEI Apriori file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4116 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 11:15:39 +00:00
eric_tian
6979fd9382
fixed the following problems:
...
1) DMA interrupt don't been cleaning up after one UDMA operation
2) Global variable mHobStart is not updated after invoking CoreInitializeGcdServices() func in the dxemain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4107 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 05:41:48 +00:00
mdkinney
f36d8a69a5
Increase max FVs from 4 to 6.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4083 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 23:41:37 +00:00
qwang12
10dde96f95
0) Change the PEI core behavior to not install FV HOB for each FV INFO PPI installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core.
...
1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase.
2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4066 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:07:47 +00:00
yshang1
67a58d0ffd
Clean up Network Components to support GCC build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4062 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 09:30:52 +00:00
klu2
81c7803cf4
PI Enabling: the address of PeiServices Pointer should be
...
1) Set to preceding of IDT table in PeiCore's entry
2) Migrate to preceding of new memory IDT table when memory is discovery
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4059 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 08:16:53 +00:00
vprabhal
dd98e32c6b
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4014 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-02 22:31:01 +00:00
vprabhal
5b12328120
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4013 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-02 22:27:46 +00:00
vprabhal
33647e23ad
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4012 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-02 22:25:16 +00:00
vprabhal
974a1fd139
The functions in these deleted files are not being used and also are there in the BaseLib
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4011 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-02 20:14:07 +00:00
qhuang8
f0a505a34c
Use RShiftU64() from base lib to handle 64-bit right shift to avoid build break when optimization is disabled.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3982 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:43:01 +00:00
lgao4
18fd8d651d
1. Add ExtractGuidedSectionLib library to replace customdecompress library.
...
2. Add PeiDxeExtractGuidedSectionLib library instance and one PCD PcdMaximumGuidedExtractHandler in MdePkg.
3. Update DxeIpl and DxeMain to consume new library.
4. Update BaseUefiTianoCustomDecompressLib to register TianoDecomress extractguidedsection handler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3980 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:04:29 +00:00
lgao4
a0ae8996bc
Update DxeCore to set efi memory type for the different image to be loaded.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3977 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 03:16:49 +00:00
qwang12
1053e0c513
Merge in bug fix from EDK1's PiPei Dispatcher.c
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3973 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 14:27:53 +00:00
klu2
19ea58a1fd
Fix the cast issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3972 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 10:11:36 +00:00
lgao4
c58cf83da2
Remove PeCoffLoader library class and its instances.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3967 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:48:41 +00:00
yshang1
5d582956c2
Enable the 0-31 temporary IDT entries prior to activate the LongMode. If not enable the temporary IDT table, DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED may not work correctly till CPU DXE programs the IDT table.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3966 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:22:33 +00:00
lgao4
3d7b0992fc
1. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain.
...
2. Add three PeCoff library instances for NT32 PeImage load.
3. Update PeCoffGetEntryPointLib to support TeImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:14:30 +00:00
klu2
64253026df
Use PeiPiLib's PeiPiLibBuildPiFvInfoPpi interface instead of installing EFI_PEI_FIRMWARE_VOLUME_INFO_PPI by self.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3964 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:08:32 +00:00
klu2
5516d05a59
Fix wrong judgement for gInMemory
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3946 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 07:23:42 +00:00
klu2
eb27b6b207
Remove unnecesssary PPI from DxeIpl.inf
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3934 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 03:48:06 +00:00
klu2
e8da1266b9
Change the function name.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3933 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 03:20:28 +00:00
klu2
4fb31c2c58
1) Add library classes of S3Lib and RecoveryLib in MdeModulePkg
...
2) Add NULL instance for above library classes in MdeModulePkg
3) Add Framework implement library instance for above two library classes in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3930 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 09:35:36 +00:00
klu2
5088e385e0
Fix a typo.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3922 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 03:12:37 +00:00
klu2
b0d803fe3e
Merge branch of PI tree to main trunk
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3918 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 11:38:43 +00:00
yshang1
d074a8e1a2
Update Mde/MdeModulePkg to support ICC build for IA32/X64.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 06:15:43 +00:00
mdkinney
8565806618
1) Remove buffer overflow when the number of Driver Binding Protocols increases in the middle of ConnectController()
...
2) Remove possibility of getting a CR() macro ASSERT() when DisconnectController() is called during a recursive ConnectController()
3) Make sure the DeviceHandle field of the Loaded Image Protocol is always correct
4) Update Loaded Image Protocol logic to guarantee that the DeviceHandle and FilePath fields are correct the image is loaded from a buffer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3853 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 21:35:03 +00:00
klu2
b98c2ab738
Add InvokePeiCore function to invoke the PeiCore in new stack.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3844 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 07:01:26 +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
0c2b5da80e
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@3773 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:12:48 +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
klu2
14e8823a34
[PI compatible enabling] Add PeiRegisterForShadow interface for PEI_SERVICE
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3743 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 08:20:57 +00:00
klu2
3a63377f2b
Add some definitions which will be used for future PI enabling.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3742 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 07:35:09 +00:00
jwang36
dc59293a36
Removed the duplicated dependent package
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3740 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 06:14:32 +00:00
jwang36
e75fe0ebba
Added missing dependent package
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3738 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 06:12:06 +00:00
yshang1
623ad724e1
Add dependent packages in INF of modules.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3731 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 08:52:49 +00:00
xli24
c97da01907
Update for ICC build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3701 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 02:47:35 +00:00
qwang12
bbc0f1bb24
Allow DXE dispatcher to ignore EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE type FFS file found in EFI_HOB_FIRMWARE_VOLUME2 HOB.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3694 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 06:26:50 +00:00
yshang1
702887db45
Update PciCfg2.c to follow strict ANSI C spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3687 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 08:42:13 +00:00
mdkinney
eba54e17cc
Update DXE Core to use gEfiCallerIdGuid instead of the gDxeServicesTableGuid for status codes
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3646 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 01:21:02 +00:00
yshang1
9833aeafa3
Change the PAL address from k7 to k1, since the k7 should save PeiServicesPoint following PI.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3642 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 05:44:40 +00:00
klu2
1c9d209fc4
Add missing definition EFI_PEIM_ENTRY_POINT to IntelFrameworkPkg and rename original to EFI_PEIM_ENTRY_POINT2 to follow PI definition.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3629 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 17:47:57 +00:00
qwang12
d156c2a8a2
Change the behavior of DxeIplLoadFile to load EFI_SECTION_TE first. If failed, LOAD EFI_SECTION_PE32. For our implementation, some PEIM who require to shadow itself is in TE format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3618 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:10:28 +00:00
klu2
28dc3c6787
1) Move the structure definitions related GUID EFI_STATUS_CODE_SPECIFIC_DATA_GUID and EFI_STATUS_CODE_DATA_TYPE_STRING_GUID from IntelFrameworkPkg\Framework/StatusCodeDataTypeId.h to IntelFrameworkPkg\Guid/StatusCodeDataTypeId.h
...
2) Remove IntelFrameworkPkg/Framework/StatusCodeDataTypeId.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3611 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 09:49:49 +00:00
klu2
2a7e6bb29d
EFI_FILE_TAIL_ATTRIBUTE does not support in PI specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3606 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 07:02:47 +00:00
lgao4
1b0d0cc5f1
Correct parameter UINTN to UINT32. Fix UINTN conver to UINT32
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3580 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:43:06 +00:00
lgao4
f651bd33bf
Correct parameter UINTN to UINT32. Fix UINTN conver to UINT32
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3579 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:25:33 +00:00
lgao4
88ce0209fc
Correct parameter UINTN to UINT32. Fix UINTN conver to UINT32
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3577 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:21:50 +00:00
qhuang8
7a31af6a12
Fix the type-cast between UINT32 & UINTN
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3575 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:00:43 +00:00
lgao4
d8c79a815f
Update CustomDecompress library to support algorithm guid and Update DxeIpl and DxeCore to support custom decompress guid section parse.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3573 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 10:17:57 +00:00
zliu3
31528f0c9c
Using CopyMem service to replace the "while" loop for the memory copy
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3567 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 11:10:24 +00:00
yshang1
d8b61daacc
Fix bug in PciCfg to support PCI express address.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3549 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 03:52:01 +00:00
xli24
05339bd79c
Update gHobList in DXE core when GCD relocates hob list.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3539 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 05:39:46 +00:00
yshang1
141a0202ad
Clean the unused include section.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3473 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 03:49:41 +00:00
yshang1
7720f6aea2
Remove the unused reference of CommonHeader.h in DxeIpl.inf
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3429 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 03:21:20 +00:00
yshang1
3cfb790c94
Retire the "Include/Common" of MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3425 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 10:52:02 +00:00
qwang12
d19862fe4f
remove dxs files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3422 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 09:52:29 +00:00
yshang1
1df7a0236b
Remove Ppi/LoadFile.h and Ppi/FindFv.h from MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3394 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 14:05:54 +00:00
vanjeff
ed7748fe4a
remove some comments introduced by tools.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3387 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 06:10:09 +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
yshang1
f2abdc918b
Move RuntimeDxe to /Core of MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3363 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 08:36:30 +00:00
yshang1
c21fc3e8ae
Clean up the Isa related DXE in IntelFrameworkMoudlePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3359 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 07:57:59 +00:00
klu2
4a4f92fc5f
Fixing the IPF building issue for PeiCore
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3199 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 16:05:47 +00:00
AJFISH
859b72fa7e
Removed CommonHeader.h from MdePkg & MdeModulePkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3180 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 16:13:56 +00:00
klu2
be29ac91de
1) PcdDxeIplSupportCustomDecompress, PcdDxeIplSupportTianoDecompress, PcdDxeIplSupportEfiDecompress, PcdDxeIplBuildShareCodeHobs should in gEfiMdeModulePkgTokenSpaceGuid token space
...
2) Add DxePeCoffLoaderFromHobLib library instance for DxeCore
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3098 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 05:19:36 +00:00
klu2
9767823fc9
Should use gEfiFirmwareFileSystem2Guid but not gEfiFirmwareFileSystemGuid in DxeCore.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3096 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 04:29:38 +00:00
klu2
56a71b557e
Porting WinNtFwhPei and WinNtFlashMapPei to produce FvHob.
...
Help to build DxeCore in Nt32Pkg platform.
Fix the wrong DebugLib used in Nt32Pkg platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3076 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 15:27:43 +00:00
klu2
2e7a663de4
Enable Nt32 platform boot to DXE phase.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3073 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 09:41:22 +00:00
xgu3
95276127e3
Check in following modules,
...
DxeIpl
ConPlatform
ConSplitter
GraphicsConsole
Terminal
DevicePath
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3069 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 07:05:28 +00:00
yshang1
21c6d913aa
Include "Guid/FirmwareFileSystem.h " provided by IntelFrameworkPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3049 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 11:16:37 +00:00
yshang1
28a0029718
Check in DxeCore for Nt32 platform. Currently, it does not follow PI/UEFI2.1.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3045 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 10:51:54 +00:00
klu2
192f6d4c29
Add PeiCore module for enabling NT32Pkg, please attention this PeiCore does follows PI specification except some FV definitions.
...
Also the old definition of MdeModulePkg/Include/Ppi/LoadFile.h and EFI_PEI_STARTUP_DESCRIPTOR in MdePkg/Include/PiPei.h will be removed when enabling PI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3029 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 07:51:48 +00:00