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

Go to the source code of this file.

Macros

#define REST_EX_CONFIG_DATA_LEN_UNKNOWN   0xff
 

Functions

EFI_STATUS RestExLibCreateChild (IN EFI_HANDLE Controller, IN EFI_HANDLE Image, IN EFI_REST_EX_SERVICE_ACCESS_MODE AccessMode, IN EFI_REST_EX_CONFIG_TYPE ConfigType, IN EFI_REST_EX_SERVICE_TYPE ServiceType, OUT EFI_HANDLE *ChildInstanceHandle)
 

Detailed Description

This library provides help functions for REST EX Protocol.

(C) Copyright 2020 Hewlett Packard Enterprise Development LP
Copyright (c) 2023, Ampere Computing LLC. All rights reserved.

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

Definition in file DxeRestExLib.c.

Macro Definition Documentation

◆ REST_EX_CONFIG_DATA_LEN_UNKNOWN

#define REST_EX_CONFIG_DATA_LEN_UNKNOWN   0xff

Definition at line 20 of file DxeRestExLib.c.

Function Documentation

◆ RestExLibCreateChild()

EFI_STATUS RestExLibCreateChild ( IN EFI_HANDLE  Controller,
IN EFI_HANDLE  Image,
IN EFI_REST_EX_SERVICE_ACCESS_MODE  AccessMode,
IN EFI_REST_EX_CONFIG_TYPE  ConfigType,
IN EFI_REST_EX_SERVICE_TYPE  ServiceType,
OUT EFI_HANDLE ChildInstanceHandle 
)

This function allows the caller to create child handle for specific REST server.

Parameters
[in]ControllerThe controller handle used of selected interface.
[in]ImageThe image handle used to open service.
[in]AccessModeAccess mode of REST server.
[in]ConfigTypeUnderlying configuration to communicate with REST server.
[in]ServiceTypeREST service type.
[out]ChildInstanceHandleThe handle to receive the create child.
Return values
EFI_SUCCESSCan't create the corresponding REST EX child instance.
EFI_INVALID_PARAMETERSAny of input parameters is improper.

Definition at line 38 of file DxeRestExLib.c.