TianoCore EDK2 master
Loading...
Searching...
No Matches
OpalHiiCallbacks.c File Reference
#include "OpalHii.h"

Go to the source code of this file.

Functions

EFI_HANDLE HiiGetDriverImageHandleCB (VOID)
 
VOID * HiiGetDiskContextCB (UINT8 DiskIndex)
 
OPAL_DISKHiiGetOpalDiskCB (UINT8 DiskIndex)
 
CHAR8 * HiiDiskGetNameCB (UINT8 DiskIndex)
 

Detailed Description

Callbacks required by the HII of the Opal UEFI Driver to help display Opal device information.

Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file OpalHiiCallbacks.c.

Function Documentation

◆ HiiDiskGetNameCB()

CHAR8 * HiiDiskGetNameCB ( UINT8  DiskIndex)

Returns the disk name.

Parameters
DiskIndexInput the disk index.
Return values
Returnsthe disk name.

Definition at line 97 of file OpalHiiCallbacks.c.

◆ HiiGetDiskContextCB()

VOID * HiiGetDiskContextCB ( UINT8  DiskIndex)

Returns the opaque pointer to a physical disk context.

Parameters
DiskIndexInput the disk index.
Return values
Thedevice pointer.

Definition at line 35 of file OpalHiiCallbacks.c.

◆ HiiGetDriverImageHandleCB()

EFI_HANDLE HiiGetDriverImageHandleCB ( VOID  )

Get the driver image handle.

Return values
thedriver image handle.

Definition at line 19 of file OpalHiiCallbacks.c.

◆ HiiGetOpalDiskCB()

OPAL_DISK * HiiGetOpalDiskCB ( UINT8  DiskIndex)

Returns the opaque pointer to a physical disk context.

Parameters
DiskIndexInput the disk index.
Return values
Thedevice pointer.

Definition at line 70 of file OpalHiiCallbacks.c.