VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/IScsiDxe/IScsiAuthenticationInfo.c@ 100995

最後變更 在這個檔案從100995是 99404,由 vboxsync 提交於 23 月 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.9 KB
 
1/** @file
2 Implementation for EFI_AUTHENTICATION_INFO_PROTOCOL. Currently it is a
3 dummy support.
4
5Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#include "IScsiImpl.h"
11
12EFI_AUTHENTICATION_INFO_PROTOCOL gIScsiAuthenticationInfo = {
13 IScsiGetAuthenticationInfo,
14 IScsiSetAuthenticationInfo
15};
16
17/**
18 Retrieves the authentication information associated with a particular controller handle.
19
20 @param[in] This Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
21 @param[in] ControllerHandle Handle to the Controller.
22 @param[out] Buffer Pointer to the authentication information. This function is
23 responsible for allocating the buffer and it is the caller's
24 responsibility to free buffer when the caller is finished with buffer.
25
26 @retval EFI_DEVICE_ERROR The authentication information could not be
27 retrieved due to a hardware error.
28
29**/
30EFI_STATUS
31EFIAPI
32IScsiGetAuthenticationInfo (
33 IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,
34 IN EFI_HANDLE ControllerHandle,
35 OUT VOID **Buffer
36 )
37{
38 return EFI_DEVICE_ERROR;
39}
40
41/**
42 Set the authentication information for a given controller handle.
43
44 @param[in] This Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
45 @param[in] ControllerHandle Handle to the Controller.
46 @param[in] Buffer Pointer to the authentication information.
47
48 @retval EFI_UNSUPPORTED If the platform policies do not allow setting of
49 the authentication information.
50
51**/
52EFI_STATUS
53EFIAPI
54IScsiSetAuthenticationInfo (
55 IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,
56 IN EFI_HANDLE ControllerHandle,
57 IN VOID *Buffer
58 )
59{
60 return EFI_UNSUPPORTED;
61}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette