3 This file implements the entry point of the virtio-net driver.
5 Copyright (C) 2013, Red Hat, Inc.
6 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Library/UefiLib.h>
14 #include "VirtioNet.h"
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.
21 @param ImageHandle The firmware allocated handle for the UEFI
23 @param SystemTable A pointer to the EFI System Table.
25 @retval EFI_SUCCESS The operation completed successfully.
26 @retval Others An unexpected error occurred.
32 IN EFI_HANDLE ImageHandle
,
33 IN EFI_SYSTEM_TABLE
*SystemTable
36 return EfiLibInstallDriverBindingComponentName2 (
39 &gVirtioNetDriverBinding
,
41 &gVirtioNetComponentName
,
42 &gVirtioNetComponentName2