From 65575e4f1378bb5899e8c9218e2957fa5f6f0cc1 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 14 Jun 2013 07:40:53 +0000 Subject: [PATCH] OvmfPkg: VirtioNetDxe: complete driver with INF file Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen Reviewed-by: Stefan Hajnoczi git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14418 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/VirtioNetDxe/VirtioNet.inf | 60 ++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 OvmfPkg/VirtioNetDxe/VirtioNet.inf diff --git a/OvmfPkg/VirtioNetDxe/VirtioNet.inf b/OvmfPkg/VirtioNetDxe/VirtioNet.inf new file mode 100644 index 0000000000..408a54112a --- /dev/null +++ b/OvmfPkg/VirtioNetDxe/VirtioNet.inf @@ -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 -- 2.39.2