TianoCore EDK2 master
|
#include "StatusCodeHandlerRuntimeDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | RtMemoryStatusCodeInitializeWorker (VOID) |
EFI_STATUS EFIAPI | RtMemoryStatusCodeReportWorker (IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN EFI_GUID *CallerId, IN EFI_STATUS_CODE_DATA *Data OPTIONAL) |
Variables | |
RUNTIME_MEMORY_STATUSCODE_HEADER * | mRtMemoryStatusCodeTable |
Runtime memory status code worker.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MemoryStatusCodeWorker.c.
EFI_STATUS RtMemoryStatusCodeInitializeWorker | ( | VOID | ) |
Initialize runtime memory status code table as initialization for runtime memory status code worker
EFI_SUCCESS | Runtime memory status code table successfully initialized. |
others | Errors from gBS->InstallConfigurationTable(). |
Definition at line 22 of file MemoryStatusCodeWorker.c.
EFI_STATUS EFIAPI RtMemoryStatusCodeReportWorker | ( | IN EFI_STATUS_CODE_TYPE | CodeType, |
IN EFI_STATUS_CODE_VALUE | Value, | ||
IN UINT32 | Instance, | ||
IN EFI_GUID * | CallerId, | ||
IN EFI_STATUS_CODE_DATA *Data | OPTIONAL | ||
) |
Report status code into runtime memory. If the runtime pool is full, roll back to the first record and overwrite it.
CodeType | Indicates the type of status code being reported. |
Value | Describes the current status of a hardware or software entity. This included information about the class and subclass that is used to classify the entity as well as an operation. |
Instance | The enumeration of a hardware or software entity within the system. Valid instance numbers start with 1. |
CallerId | This optional parameter may be used to identify the caller. This parameter allows the status code driver to apply different rules to different callers. |
Data | This optional parameter may be used to pass additional data. |
EFI_SUCCESS | Status code successfully recorded in runtime memory status code table. |
Definition at line 66 of file MemoryStatusCodeWorker.c.
RUNTIME_MEMORY_STATUSCODE_HEADER* mRtMemoryStatusCodeTable |
Definition at line 12 of file MemoryStatusCodeWorker.c.