]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/VirtioNetDxe/EntryPoint.c
OvmfPkg/EnrollDefaultKeys: enroll PK/KEK1 from the Type 11 SMBIOS table
[mirror_edk2.git] / OvmfPkg / VirtioNetDxe / EntryPoint.c
CommitLineData
193730d1
LE
1/** @file\r
2\r
3 This file implements the entry point of the virtio-net driver.\r
4\r
5 Copyright (C) 2013, Red Hat, Inc.\r
6 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
7\r
b26f0cf9 8 SPDX-License-Identifier: BSD-2-Clause-Patent\r
193730d1
LE
9\r
10**/\r
11\r
12#include <Library/UefiLib.h>\r
13\r
14#include "VirtioNet.h"\r
15\r
16/**\r
17 This is the declaration of an EFI image entry point. This entry point is the\r
18 same for UEFI Applications, UEFI OS Loaders, and UEFI Drivers including both\r
19 device drivers and bus drivers.\r
20\r
21 @param ImageHandle The firmware allocated handle for the UEFI\r
22 image.\r
23 @param SystemTable A pointer to the EFI System Table.\r
24\r
25 @retval EFI_SUCCESS The operation completed successfully.\r
26 @retval Others An unexpected error occurred.\r
27**/\r
28\r
29EFI_STATUS\r
30EFIAPI\r
31VirtioNetEntryPoint (\r
32 IN EFI_HANDLE ImageHandle,\r
33 IN EFI_SYSTEM_TABLE *SystemTable\r
34 )\r
35{\r
36 return EfiLibInstallDriverBindingComponentName2 (\r
37 ImageHandle,\r
38 SystemTable,\r
39 &gVirtioNetDriverBinding,\r
40 ImageHandle,\r
41 &gVirtioNetComponentName,\r
42 &gVirtioNetComponentName2\r
43 );\r
44}\r