TianoCore EDK2 master
|
#include "CpuExceptionCommon.h"
Go to the source code of this file.
Macros | |
#define | MAX_DEBUG_MESSAGE_LENGTH 0x100 |
#define | EXCEPTION_KNOWN_NAME_NUM (sizeof (mExceptionNameStr) / sizeof (CHAR8 *)) |
Functions | |
CONST CHAR8 * | GetExceptionNameStr (IN EFI_EXCEPTION_TYPE ExceptionType) |
VOID EFIAPI | InternalPrintMessage (IN CONST CHAR8 *Format,...) |
VOID | DumpModuleImageInfo (IN UINTN CurrentEip) |
EFI_STATUS | ReadAndVerifyVectorInfo (IN EFI_VECTOR_HANDOFF_INFO *VectorInfo, OUT RESERVED_VECTORS_DATA *ReservedVector, IN UINTN VectorCount) |
Variables | |
CONST UINT32 | mErrorCodeFlag = 0x20227d00 |
CONST CHAR8 | mExceptionReservedStr [] = "Reserved" |
CONST CHAR8 * | mExceptionNameStr [] |
CPU Exception Handler Library common functions.
Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CpuExceptionCommon.c.
#define EXCEPTION_KNOWN_NAME_NUM (sizeof (mExceptionNameStr) / sizeof (CHAR8 *)) |
Definition at line 58 of file CpuExceptionCommon.c.
#define MAX_DEBUG_MESSAGE_LENGTH 0x100 |
Definition at line 22 of file CpuExceptionCommon.c.
Find and display image base address and return image base and its entry point.
CurrentEip | Current instruction pointer. |
Definition at line 117 of file CpuExceptionCommon.c.
CONST CHAR8 * GetExceptionNameStr | ( | IN EFI_EXCEPTION_TYPE | ExceptionType | ) |
Get ASCII format string exception name by exception type.
ExceptionType | Exception type. |
Definition at line 68 of file CpuExceptionCommon.c.
Prints a message to the serial port.
Format | Format string for the message to print. |
... | Variable argument list whose contents are accessed based on the format string specified by Format. |
Definition at line 89 of file CpuExceptionCommon.c.
EFI_STATUS ReadAndVerifyVectorInfo | ( | IN EFI_VECTOR_HANDOFF_INFO * | VectorInfo, |
OUT RESERVED_VECTORS_DATA * | ReservedVector, | ||
IN UINTN | VectorCount | ||
) |
Read and save reserved vector information
[in] | VectorInfo | Pointer to reserved vector list. |
[out] | ReservedVector | Pointer to reserved vector data buffer. |
[in] | VectorCount | Vector number to be updated. |
EFI_INVALID_PARAMETER | VectorInfo includes the invalid content if VectorInfo is not NULL. |
Definition at line 166 of file CpuExceptionCommon.c.
CONST UINT32 mErrorCodeFlag = 0x20227d00 |
Definition at line 17 of file CpuExceptionCommon.c.
CONST CHAR8* mExceptionNameStr[] |
Definition at line 25 of file CpuExceptionCommon.c.
CONST CHAR8 mExceptionReservedStr[] = "Reserved" |
Definition at line 24 of file CpuExceptionCommon.c.