VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/VirtioNetDxe/EntryPoint.c

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
1/** @file
2
3 This file implements the entry point of the virtio-net driver.
4
5 Copyright (C) 2013, Red Hat, Inc.
6 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10**/
11
12#include <Library/UefiLib.h>
13
14#include "VirtioNet.h"
15
16/**
17 This is the declaration of an EFI image entry point. This entry point is the
18 same for UEFI Applications, UEFI OS Loaders, and UEFI Drivers including both
19 device drivers and bus drivers.
20
21 @param ImageHandle The firmware allocated handle for the UEFI
22 image.
23 @param SystemTable A pointer to the EFI System Table.
24
25 @retval EFI_SUCCESS The operation completed successfully.
26 @retval Others An unexpected error occurred.
27**/
28EFI_STATUS
29EFIAPI
30VirtioNetEntryPoint (
31 IN EFI_HANDLE ImageHandle,
32 IN EFI_SYSTEM_TABLE *SystemTable
33 )
34{
35 return EfiLibInstallDriverBindingComponentName2 (
36 ImageHandle,
37 SystemTable,
38 &gVirtioNetDriverBinding,
39 ImageHandle,
40 &gVirtioNetComponentName,
41 &gVirtioNetComponentName2
42 );
43}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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