OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
#include <Guid/MemoryAttributesTable.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcMemoryLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
Go to the source code of this file.
Functions | |
STATIC VOID | OcPrintMemoryDescriptor (IN EFI_MEMORY_DESCRIPTOR *Desc) |
VOID | OcPrintMemoryAttributesTable (VOID) |
VOID | OcPrintMemoryMap (IN UINTN MemoryMapSize, IN EFI_MEMORY_DESCRIPTOR *MemoryMap, IN UINTN DescriptorSize) |
Variables | |
STATIC CONST CHAR8 * | mEfiMemoryTypeDesc [EfiMaxMemoryType] |
Copyright (C) 2019, vit9696. All rights reserved.
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file MemoryDebug.c.
VOID OcPrintMemoryAttributesTable | ( | VOID | ) |
Print memory attributes table if present.
Definition at line 96 of file MemoryDebug.c.
STATIC VOID OcPrintMemoryDescriptor | ( | IN EFI_MEMORY_DESCRIPTOR * | Desc | ) |
Definition at line 46 of file MemoryDebug.c.
VOID OcPrintMemoryMap | ( | IN UINTN | MemoryMapSize, |
IN EFI_MEMORY_DESCRIPTOR * | MemoryMap, | ||
IN UINTN | DescriptorSize ) |
Print memory map.
[in] | MemoryMapSize | Memory map size in bytes. |
[in] | MemoryMap | Memory map to print. |
[in] | DescriptorSize | Memory map descriptor size in bytes. |
Definition at line 144 of file MemoryDebug.c.
STATIC CONST CHAR8* mEfiMemoryTypeDesc[EfiMaxMemoryType] |
Definition at line 26 of file MemoryDebug.c.