OvmfPkg: VirtioNetDxe: complete driver with INF file

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14418 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Laszlo Ersek 2013-06-14 07:40:53 +00:00 committed by jljusten
parent 38f52db9c9
commit 65575e4f13
1 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,60 @@
## @file
#
# This driver produces Simple Network Protocol instances for virtio-net
# devices.
#
# Copyright (C) 2013, Red Hat, Inc.
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
# distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = VirtioNetDxe
FILE_GUID = A92CDB4B-82F1-4E0B-A516-8A655D371524
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = VirtioNetEntryPoint
[Sources]
ComponentName.c
DriverBinding.c
EntryPoint.c
Events.c
SnpGetStatus.c
SnpInitialize.c
SnpMcastIpToMac.c
SnpReceive.c
SnpReceiveFilters.c
SnpSharedHelpers.c
SnpShutdown.c
SnpStart.c
SnpStop.c
SnpTransmit.c
SnpUnsupported.c
[Packages]
MdePkg/MdePkg.dec
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
BaseMemoryLib
DebugLib
DevicePathLib
MemoryAllocationLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib
VirtioLib
[Protocols]
gEfiSimpleNetworkProtocolGuid ## BY_START
gEfiDevicePathProtocolGuid ## BY_START
gEfiPciIoProtocolGuid ## TO_START