VirtualBox

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

Last change on this file since 94368 was 80721, checked in by vboxsync, 6 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
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**/
28
29EFI_STATUS
30EFIAPI
31VirtioNetEntryPoint (
32 IN EFI_HANDLE ImageHandle,
33 IN EFI_SYSTEM_TABLE *SystemTable
34 )
35{
36 return EfiLibInstallDriverBindingComponentName2 (
37 ImageHandle,
38 SystemTable,
39 &gVirtioNetDriverBinding,
40 ImageHandle,
41 &gVirtioNetComponentName,
42 &gVirtioNetComponentName2
43 );
44}
Note: See TracBrowser for help on using the repository browser.

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