TianoCore EDK2 master
|
#include "RamDiskImpl.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | RamDiskAcpiCheck (IN EFI_EVENT Event, IN VOID *Context) |
EFI_STATUS EFIAPI | RamDiskDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS EFIAPI | RamDiskDxeUnload (IN EFI_HANDLE ImageHandle) |
The driver entry point for RamDiskDxe driver.
Copyright (c) 2016, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file RamDiskDriver.c.
Check whether EFI_ACPI_TABLE_PROTOCOL and EFI_ACPI_SDT_PROTOCOL are produced. If both protocols are produced, publish all the reserved memory type RAM disks to the NVDIMM Firmware Interface Table (NFIT).
[in] | Event | Event whose notification function is being invoked. |
[in] | Context | The pointer to the notification function's context, which is implementation-dependent. |
Definition at line 49 of file RamDiskDriver.c.
EFI_STATUS EFIAPI RamDiskDxeEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The entry point for RamDiskDxe driver.
[in] | ImageHandle | The image handle of the driver. |
[in] | SystemTable | The system table. |
EFI_ALREADY_STARTED | The driver already exists in system. |
EFI_OUT_OF_RESOURCES | Fail to execute entry point due to lack of resources. |
EFI_SUCCES | All the related protocols are installed on the driver. |
Definition at line 116 of file RamDiskDriver.c.
EFI_STATUS EFIAPI RamDiskDxeUnload | ( | IN EFI_HANDLE | ImageHandle | ) |
Unload the RamDiskDxe driver and its configuration form.
[in] | ImageHandle | The driver's image handle. |
EFI_SUCCESS | The RamDiskDxe driver and its configuration form is unloaded. |
Others | Failed to unload the form. |
Definition at line 207 of file RamDiskDriver.c.
EFI_ACPI_SDT_PROTOCOL* mAcpiSdtProtocol = NULL |
Definition at line 35 of file RamDiskDriver.c.
EFI_ACPI_TABLE_PROTOCOL* mAcpiTableProtocol = NULL |
Definition at line 34 of file RamDiskDriver.c.
EFI_HANDLE mRamDiskHandle = NULL |
Definition at line 15 of file RamDiskDriver.c.
EFI_RAM_DISK_PROTOCOL mRamDiskProtocol |
Definition at line 21 of file RamDiskDriver.c.
LIST_ENTRY RegisteredRamDisks |
Definition at line 29 of file RamDiskDriver.c.