TianoCore EDK2 master
|
#include "DxeMain.h"
Go to the source code of this file.
Macros | |
#define | EFI_DEBUG_TABLE_ENTRY_SIZE (sizeof (VOID *)) |
Functions | |
VOID | CoreInitializeDebugImageInfoTable (VOID) |
VOID | CoreUpdateDebugTableCrc32 (VOID) |
VOID | CoreNewDebugImageInfoEntry (IN UINT32 ImageInfoType, IN EFI_LOADED_IMAGE_PROTOCOL *LoadedImage, IN EFI_HANDLE ImageHandle) |
VOID | CoreRemoveDebugImageInfoEntry (EFI_HANDLE ImageHandle) |
Variables | |
EFI_DEBUG_IMAGE_INFO_TABLE_HEADER | mDebugInfoTableHeader |
UINTN | mMaxTableEntries = 0 |
EFI_SYSTEM_TABLE_POINTER * | mDebugTable = NULL |
Support functions for managing debug image info table when loading and unloading images.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DebugImageInfo.c.
#define EFI_DEBUG_TABLE_ENTRY_SIZE (sizeof (VOID *)) |
Definition at line 22 of file DebugImageInfo.c.
VOID CoreInitializeDebugImageInfoTable | ( | VOID | ) |
Creates and initializes the DebugImageInfo Table. Also creates the configuration table and registers it into the system table.
Definition at line 30 of file DebugImageInfo.c.
VOID CoreNewDebugImageInfoEntry | ( | IN UINT32 | ImageInfoType, |
IN EFI_LOADED_IMAGE_PROTOCOL * | LoadedImage, | ||
IN EFI_HANDLE | ImageHandle | ||
) |
Adds a new DebugImageInfo structure to the DebugImageInfo Table. Re-Allocates the table if it's not large enough to accomidate another entry.
ImageInfoType | type of debug image information |
LoadedImage | pointer to the loaded image protocol for the image being loaded |
ImageHandle | image handle for the image being loaded |
Definition at line 162 of file DebugImageInfo.c.
VOID CoreRemoveDebugImageInfoEntry | ( | EFI_HANDLE | ImageHandle | ) |
Removes and frees an entry from the DebugImageInfo Table.
ImageHandle | image handle for the image being unloaded |
Definition at line 253 of file DebugImageInfo.c.
VOID CoreUpdateDebugTableCrc32 | ( | VOID | ) |
Update the CRC32 in the Debug Table. Since the CRC32 service is made available by the Runtime driver, we have to wait for the Runtime Driver to be installed before the CRC32 can be computed. This function is called elsewhere by the core when the runtime architectural protocol is produced.
Definition at line 142 of file DebugImageInfo.c.
EFI_DEBUG_IMAGE_INFO_TABLE_HEADER mDebugInfoTableHeader |
Definition at line 12 of file DebugImageInfo.c.
EFI_SYSTEM_TABLE_POINTER* mDebugTable = NULL |
Definition at line 20 of file DebugImageInfo.c.
UINTN mMaxTableEntries = 0 |
Definition at line 18 of file DebugImageInfo.c.