-#/** @file\r
-# Component description file for SNP module.\r
+## @file\r
+# This module produces EFI SNP Protocol.\r
#\r
-# Copyright (c) 2006, Intel Corporation. <BR> \r
-# All rights reserved. This program and the accompanying materials are licensed \r
-# and made available under the terms and conditions of the BSD License which \r
-# accompanies this distribution. The full text of the license may be found at \r
-# http://opensource.org/licenses/bsd-license.php \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
-# 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
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\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 = UEFI_DRIVER\r
VERSION_STRING = 1.0\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
+# DRIVER_BINDING = mSimpleNetworkDriverBinding\r
# COMPONENT_NAME = gSimpleNetworkComponentName\r
# COMPONENT_NAME2 = gSimpleNetworkComponentName2\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
Receive.c\r
Snp.h\r
Nvdata.c\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