VirtualBox

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

最後變更 在這個檔案從76346是 58464,由 vboxsync 提交於 9 年 前

EFI/Firmware: Export new files and directories.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.5 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 This program and the accompanying materials are licensed and made available
9 under the terms and conditions of the BSD License which accompanies this
10 distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
14 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16**/
17
18#include <Library/UefiLib.h>
19
20#include "VirtioNet.h"
21
22/**
23 This is the declaration of an EFI image entry point. This entry point is the
24 same for UEFI Applications, UEFI OS Loaders, and UEFI Drivers including both
25 device drivers and bus drivers.
26
27 @param ImageHandle The firmware allocated handle for the UEFI
28 image.
29 @param SystemTable A pointer to the EFI System Table.
30
31 @retval EFI_SUCCESS The operation completed successfully.
32 @retval Others An unexpected error occurred.
33**/
34
35EFI_STATUS
36EFIAPI
37VirtioNetEntryPoint (
38 IN EFI_HANDLE ImageHandle,
39 IN EFI_SYSTEM_TABLE *SystemTable
40 )
41{
42 return EfiLibInstallDriverBindingComponentName2 (
43 ImageHandle,
44 SystemTable,
45 &gVirtioNetDriverBinding,
46 ImageHandle,
47 &gVirtioNetComponentName,
48 &gVirtioNetComponentName2
49 );
50}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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