TianoCore EDK2 master
Loading...
Searching...
No Matches
HiiDatabaseEntry.c File Reference
#include "HiiDatabase.h"

Go to the source code of this file.

Functions

VOID EFIAPI KeyboardLayoutChangeNullEvent (IN EFI_EVENT Event, IN VOID *Context)
 
VOID EFIAPI OnReadyToBoot (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI InitializeHiiDatabase (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

EFI_EVENT gHiiKeyboardLayoutChanged
 
BOOLEAN gExportAfterReadyToBoot = FALSE
 
HII_DATABASE_PRIVATE_DATA mPrivate
 

Detailed Description

This file contains the entry code to the HII database, which is defined by UEFI 2.1 specification.

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

Definition in file HiiDatabaseEntry.c.

Function Documentation

◆ InitializeHiiDatabase()

EFI_STATUS EFIAPI InitializeHiiDatabase ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Initialize HII Database.

Parameters
ImageHandleThe image handle.
SystemTableThe system table.
Return values
EFI_SUCCESSThe Hii database is setup correctly.
Returns
Other value if failed to create the default event for gHiiKeyboardLayoutChanged. Check gBS->CreateEventEx for details. Or failed to install the protocols. Check gBS->InstallMultipleProtocolInterfaces for details. Or failed to create Ready To Boot Event. Check EfiCreateEventReadyToBootEx for details.

Definition at line 165 of file HiiDatabaseEntry.c.

◆ KeyboardLayoutChangeNullEvent()

VOID EFIAPI KeyboardLayoutChangeNullEvent ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

The default event handler for gHiiKeyboardLayoutChanged event group.

This is internal function.

Parameters
EventThe event that triggered this notification function.
ContextPointer to the notification functions context.

Definition at line 112 of file HiiDatabaseEntry.c.

◆ OnReadyToBoot()

VOID EFIAPI OnReadyToBoot ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

On Ready To Boot Services Event notification handler.

To trigger the function that to export the Hii Configuration setting.

Parameters
[in]EventEvent whose notification function is being invoked
[in]ContextPointer to the notification function's context

Definition at line 131 of file HiiDatabaseEntry.c.

Variable Documentation

◆ gExportAfterReadyToBoot

BOOLEAN gExportAfterReadyToBoot = FALSE

Definition at line 16 of file HiiDatabaseEntry.c.

◆ gHiiKeyboardLayoutChanged

EFI_EVENT gHiiKeyboardLayoutChanged

Definition at line 15 of file HiiDatabaseEntry.c.

◆ mPrivate

Definition at line 18 of file HiiDatabaseEntry.c.