ReactOS 0.4.16-dev-297-gc569aee
fwutil.c File Reference
#include "bl.h"
Include dependency graph for fwutil.c:

Go to the source code of this file.

Functions

VOID BlFwReboot (VOID)
 
NTSTATUS MmFwFreePages (_In_ ULONG BasePage, _In_ ULONG PageCount)
 

Function Documentation

◆ BlFwReboot()

VOID BlFwReboot ( VOID  )

Definition at line 14 of file fwutil.c.

17{
18#ifdef BL_KD_SUPPORTED
19 /* Stop the boot debugger*/
20 BlBdStop();
21#endif
22
23 /* Reset the machine */
25}
@ EfiResetCold
Definition: UefiSpec.h:975
VOID EfiResetSystem(_In_ EFI_RESET_TYPE ResetType)
Definition: firmware.c:1509

Referenced by BmMain().

◆ MmFwFreePages()

NTSTATUS MmFwFreePages ( _In_ ULONG  BasePage,
_In_ ULONG  PageCount 
)

Definition at line 28 of file fwutil.c.

32{
33 /* Free the pages */
34 return EfiFreePages(PageCount, BasePage << PAGE_SHIFT);
35}
NTSTATUS EfiFreePages(_In_ ULONG Pages, _In_ EFI_PHYSICAL_ADDRESS PhysicalAddress)
Definition: firmware.c:973
#define PAGE_SHIFT
Definition: env_spec_w32.h:45

Referenced by MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), and MmPaReleaseSelfMapPages().