VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/E1kNetDxe/EntryPoint.c

Last change on this file was 106066, checked in by vboxsync, 5 months ago

Manual copyright year updates.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1/** @file
2
3 This file implements the entry point of the e1000 driver.
4
5 Copyright (c) 2021 - 2024, Oracle and/or its affiliates.
6 Copyright (C) 2013, Red Hat, Inc.
7 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
8
9 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11**/
12
13#include <Library/UefiLib.h>
14
15#include "E1kNet.h"
16
17/**
18 This is the declaration of an EFI image entry point. This entry point is the
19 same for UEFI Applications, UEFI OS Loaders, and UEFI Drivers including both
20 device drivers and bus drivers.
21
22 @param ImageHandle The firmware allocated handle for the UEFI
23 image.
24 @param SystemTable A pointer to the EFI System Table.
25
26 @retval EFI_SUCCESS The operation completed successfully.
27 @retval Others An unexpected error occurred.
28**/
29
30EFI_STATUS
31EFIAPI
32E1kNetEntryPoint (
33 IN EFI_HANDLE ImageHandle,
34 IN EFI_SYSTEM_TABLE *SystemTable
35 )
36{
37 return EfiLibInstallDriverBindingComponentName2 (
38 ImageHandle,
39 SystemTable,
40 &gE1kNetDriverBinding,
41 ImageHandle,
42 &gE1kNetComponentName,
43 &gE1kNetComponentName2
44 );
45}
Note: See TracBrowser for help on using the repository browser.

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