TianoCore EDK2 master
|
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/HiiLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OemMiscLib.h>
#include <Library/PrintLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include "SmbiosMisc.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | GetNextLanguage (IN OUT CHAR8 **LangCode, OUT CHAR8 *Lang) |
UINT16 EFIAPI | GetSupportedLanguageNumber (IN EFI_HII_HANDLE HiiHandle) |
SMBIOS_MISC_TABLE_FUNCTION (MiscNumberOfInstallableLanguages) | |
Based on files under Nt32Pkg/MiscSubClassPlatformDxe/
Copyright (c) 2021, NUVIA Inc. All rights reserved.
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
Copyright (c) 2015, Hisilicon Limited. All rights reserved.
Copyright (c) 2015, Linaro Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MiscNumberOfInstallableLanguagesFunction.c.
Get next language from language code list (with separator ';').
LangCode | Input: point to first language in the list. On Output: point to next language in the list, or NULL if no more language in the list. |
Lang | The first language in the list. |
Definition at line 34 of file MiscNumberOfInstallableLanguagesFunction.c.
UINT16 EFIAPI GetSupportedLanguageNumber | ( | IN EFI_HII_HANDLE | HiiHandle | ) |
This function returns the number of supported languages on HiiHandle.
HiiHandle | The HII package list handle. |
The | number of supported languages. |
Definition at line 72 of file MiscNumberOfInstallableLanguagesFunction.c.
SMBIOS_MISC_TABLE_FUNCTION | ( | MiscNumberOfInstallableLanguages | ) |
This function makes boot time changes to the contents of the MiscNumberOfInstallableLanguages (Type 13) record.
RecordData | Pointer to SMBIOS table with default values. |
Smbios | SMBIOS protocol. |
EFI_SUCCESS | The SMBIOS table was successfully added. |
EFI_INVALID_PARAMETER | Invalid parameter was found. |
EFI_OUT_OF_RESOURCES | Failed to allocate required memory. |
Definition at line 114 of file MiscNumberOfInstallableLanguagesFunction.c.