TianoCore EDK2 master
Loading...
Searching...
No Matches
DtPlatformDxe.c File Reference

Go to the source code of this file.

Data Structures

struct  HII_VENDOR_DEVICE_PATH
 

Functions

STATIC EFI_STATUS InstallHiiPages (VOID)
 
EFI_STATUS EFIAPI DtPlatformDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

UINT8 DtPlatformHiiBin []
 
UINT8 DtPlatformDxeStrings []
 
STATIC HII_VENDOR_DEVICE_PATH mDtPlatformDxeVendorDevicePath
 

Detailed Description

Copyright (c) 2017, Linaro, Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DtPlatformDxe.c.

Function Documentation

◆ DtPlatformDxeEntryPoint()

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

The entry point for DtPlatformDxe driver.

Parameters
[in]ImageHandleThe image handle of the driver.
[in]SystemTableThe system table.
Return values
EFI_ALREADY_STARTEDThe driver already exists in system.
EFI_OUT_OF_RESOURCESFail to execute entry point due to lack of resources.
EFI_SUCCESSAll the related protocols are installed on the driver.

Definition at line 108 of file DtPlatformDxe.c.

◆ InstallHiiPages()

STATIC EFI_STATUS InstallHiiPages ( VOID  )

Definition at line 53 of file DtPlatformDxe.c.

Variable Documentation

◆ mDtPlatformDxeVendorDevicePath

STATIC HII_VENDOR_DEVICE_PATH mDtPlatformDxeVendorDevicePath
Initial value:
= {
{
{
{
(UINT8)(sizeof (VENDOR_DEVICE_PATH)),
(UINT8)((sizeof (VENDOR_DEVICE_PATH)) >> 8)
}
},
DT_PLATFORM_FORMSET_GUID
},
{
END_DEVICE_PATH_TYPE,
END_ENTIRE_DEVICE_PATH_SUBTYPE,
{
(UINT8)(END_DEVICE_PATH_LENGTH),
(UINT8)((END_DEVICE_PATH_LENGTH) >> 8)
}
}
}
#define HARDWARE_DEVICE_PATH
Definition: DevicePath.h:68
#define HW_VENDOR_DP
Definition: DevicePath.h:133

Definition at line 29 of file DtPlatformDxe.c.