-#/** @file\r
-# Component name for module SNP\r
+## @file\r
+# This module produces EFI SNP Protocol.\r
#\r
-# FIX ME!\r
-# Copyright (c) 2006, Intel Corporation.\r
+# This module produces Simple Network Protocol upon EFI Network Interface\r
+# Identifier Protocol, to provide a packet level interface to a network adapter.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = SnpDxe\r
+ MODULE_UNI_FILE = SnpDxe.uni\r
FILE_GUID = A2f436EA-A127-4EF8-957C-8048606FF670\r
- MODULE_TYPE = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = InitializeSnpNiiDriver\r
+ UNLOAD_IMAGE = NetLibDefaultUnload\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
+#\r
+# DRIVER_BINDING = mSimpleNetworkDriverBinding\r
+# COMPONENT_NAME = gSimpleNetworkComponentName\r
+# COMPONENT_NAME2 = gSimpleNetworkComponentName2\r
#\r
\r
-[Sources.common]\r
- receive.c\r
- snp.h\r
- nvdata.c\r
- get_status.c\r
- start.c\r
- snp.c\r
- stop.c\r
- statistics.c\r
- reset.c\r
- shutdown.c\r
- mcast_ip_to_mac.c\r
- transmit.c\r
+[Sources]\r
+ Receive.c\r
+ Snp.h\r
+ Nvdata.c\r
+ Get_status.c\r
+ Start.c\r
+ Snp.c\r
+ Stop.c\r
+ Statistics.c\r
+ Reset.c\r
+ Shutdown.c\r
+ Mcast_ip_to_mac.c\r
+ Transmit.c\r
WaitForPacket.c\r
- receive_filters.c\r
- initialize.c\r
+ Receive_filters.c\r
+ Initialize.c\r
ComponentName.c\r
- callback.c\r
- station_address.c\r
+ Callback.c\r
+ Station_address.c\r
\r
\r
[Packages]\r
UefiDriverEntryPoint\r
BaseMemoryLib\r
DebugLib\r
+ NetLib\r
\r
+[Guids]\r
+ gEfiEventExitBootServicesGuid ## SOMETIMES_CONSUMES ## Event\r
\r
[Protocols]\r
- gEfiPciIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiSimpleNetworkProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiNetworkInterfaceIdentifierProtocolGuid_31 # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiSimpleNetworkProtocolGuid ## BY_START\r
+ gEfiDevicePathProtocolGuid ## TO_START\r
+ gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## TO_START\r
+ gEfiPciIoProtocolGuid ## TO_START\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ SnpDxeExtra.uni\r