[BOOT:LIB] More initialization and cleanup
Started BlpMmDestroy(), MmMdDestroy(), MmPaDestroy(), EfiSetWatchdogTimer(), EfiOpenProtocol(), EfiConInExSetState(), and BlDestroyLibrary(). Completed BlpFwInitialize(). Improved InitializeLibrary().
This commit is contained in:
@@ -58,6 +58,40 @@ Return Value:
|
||||
Mdl->Type = MDL_TYPE_PHYSICAL;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
MmPaDestroy (
|
||||
IN ULONG Stage
|
||||
)
|
||||
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
Cleans up after any actions performed by the page allocator.
|
||||
After calling this, the page allocator can no longer be used.
|
||||
|
||||
Arguments:
|
||||
|
||||
Stage - Which stage of cleanup to perform.
|
||||
Stage 0: Unknown.
|
||||
Stage 1: Unknown.
|
||||
|
||||
Return Value:
|
||||
|
||||
STATUS_SUCCESS.
|
||||
|
||||
--*/
|
||||
|
||||
{
|
||||
(VOID)Stage;
|
||||
|
||||
//
|
||||
// TODO: Implement this routine.
|
||||
//
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
MmPaInitialize (
|
||||
IN PBOOT_MEMORY_INFO MemoryInfo,
|
||||
|
Reference in New Issue
Block a user