Last change
on this file was 99404, checked in by vboxsync, 22 months ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 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 | EFI_STATUS
|
---|
29 | EFIAPI
|
---|
30 | VirtioNetEntryPoint (
|
---|
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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.