VirtualBox

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

最後變更 在這個檔案從99476是 89462,由 vboxsync 提交於 4 年 前

EFI: Beginnings of a e1000 network driver to support network boot with our e1000 emulation, not built right now.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.2 KB
 
1/** @file
2
3 This file implements the entry point of the e1000 driver.
4
5 Copyright (c) 2021, 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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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