summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)Author
2008-09-18Rollback change done in 5919: "Remove the status code EFI_ALREADY_STARTED to ↵qwang12
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-18Remove the GrowBuffer function. Just use the simple way to get the buffer ↵qwang12
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-17Adjust the function layout to remove the prototype of internal functions to ↵qhuang8
reduce sync efforts. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5921 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Apply HighBitSet() in MDE baseLib to retire the internal function ↵qhuang8
CoreHighestSetBit(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5920 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Remove the status code EFI_ALREADY_STARTED to avoid confusion since it is ↵qhuang8
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-17Adjust the function layout of Timer.c to remove the prototype to reduce sync ↵qhuang8
efforts. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5918 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Refine code to remove the last entry of mArchProtocol.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5917 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Fix several code review minor comments:qhuang8
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-17Fix several code review minor comments:qhuang8
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-17Fixed one bug in consplitter console input Start/Stop functions for those ↵vanjeff
handlers only produce SimpleTextIn and not produce SimpleTextEx protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5914 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Update the comments.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5908 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Add VA_END to end the VA_START.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5907 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17Remove the unnecessary spin_lock protection around CoreUnloadImage. There is ↵qwang12
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-16MdePkg/Include/Uefi/UefiTcgPlatform.h:jljusten
MdePkg/Include/Protocol/TcgService.h: MdePkg/Include/IndustryStandard/Tpm12.h: * Remove usage of '#pragma push' unsupported usage which is not supported by GCC. MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c: * Fix a warning encountered with GCC/IPF when Index2 (as a INT8) is used as an index to an array on lines 2020 & 2028. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5905 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16CoreHandleProtocol function description should be corrected.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5903 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16Merge the global data in ExecData.c to Event.ceric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5901 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16Comments for CoreInitializeMemoryServices should be updatederic_tian
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-16The file name Exec.h contains UEFI Event support functions and structure. ↵eric_tian
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-16follow up the comments from code review.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5891 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12remove duplicated code.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5888 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12add param ImageHandle for MnpFlushServiceData().vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5887 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12move protocol close process from MnpDriverBindingStart() to ↵vanjeff
MnpFlushServiceData(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5885 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12Remove the internal CoreCreateProtocolNotifyEvent() in DxeCore, for UefiLib ↵qhuang8
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-10Update the usage of ALIGN_VARIABLE for the interface change.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5870 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10Fix a bug by adding CoreReleaseProtocolLock.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5866 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10Add EFIAPI modifier for all GCD services APIsqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5865 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09Remove the prototype of internal functions to avoid the sync efforts.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5861 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09Rename Hand.h to Handle.h.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5860 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09Adjust the field position of PROTOCOL_NOTIFY.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5858 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-091) Update some comment.qwang12
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-09Remove unused global variable.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5852 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09Remove two obsolete function prototypes.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5851 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08Change field Handle to type IHANDLE to remove the type casting.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5846 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08Remove NULL_HANDLE. NULL_HANDLE should be replaced with NULL as consistency. ↵qwang12
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-08Add more comment for EFI_DEP_REPLACE_TRUEqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5833 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08Remove a dead macro EFI_DXESERVICEqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5832 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04clean up the un-suitable ';' location when declaring the functions.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04Update prototype of DxeLoadCore().xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5819 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04Fix a typo in Pcd nameqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5814 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04remove EFI_EVENT_ alias, replace them with EVT_vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5813 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04Remove unnecessary CONST.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5809 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04Remove unnecessary CONST.vanjeff
. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5807 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03Use Numeric Opcode to host the backward compatibility as the VarEqVal in ↵qwang12
Framework is defined as UINT16 (Checkbox is only UIN8). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5803 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03Updated EFI_FVB_ATTRIBUTES to EFI_FVB_ATTRIBUTES_2.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5800 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03move ProcessFv() from dispatcher.c to FwVol.cklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5787 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03Clean up BottomOfCarHeap, TopOfCarHeap, SizeOfTemporaryMemory, ↵klu2
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-03When new FV is installed, VerifyFv() should be invoked to do security ↵klu2
checking for this FV. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5785 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02Remove unnecessary TPL operations in BDS module & library.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5781 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02Remove unnecessary TPL operations in BDS module & library.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5779 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-021. Use AllocateAlignedPages() to remove tricky logic in DebugImageInfo.cqhuang8
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