X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Nt32Pkg%2FWinNtSimpleFileSystemDxe%2FComponentName.c;h=3dc115e82f08eba8facc54c12e3a9d30fb5573cf;hb=9d2eedba985bea28c8821691355d447d61f4f6ed;hp=2fc4be22f7ff40492c063cec6ee5563f67b0efe6;hpb=1307dcd745881377355a2e7fba53ff9184e92657;p=mirror_edk2.git diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c b/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c index 2fc4be22f7..3dc115e82f 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c @@ -1,13 +1,7 @@ -/*++ +/**@file -Copyright (c) 2006, Intel Corporation -All rights reserved. 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. +Copyright (c) 2006, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: @@ -15,7 +9,7 @@ Module Name: Abstract: ---*/ +**/ // // The package level header files this module uses // @@ -67,7 +61,7 @@ Abstract: languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified - in RFC 3066 or ISO 639-2 language code format. + in RFC 4646 or ISO 639-2 language code format. @param DriverName[out] A pointer to the Unicode string to return. This Unicode string is the name of the @@ -132,7 +126,7 @@ WinNtSimpleFileSystemComponentNameGetDriverName ( languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified in - RFC 3066 or ISO 639-2 language code format. + RFC 4646 or ISO 639-2 language code format. @param ControllerName[out] A pointer to the Unicode string to return. This Unicode string is the name of the @@ -193,7 +187,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtSimpleFileSyste }; -static EFI_UNICODE_STRING_TABLE mWinNtSimpleFileSystemDriverNameTable[] = { +GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mWinNtSimpleFileSystemDriverNameTable[] = { { "eng;en", L"Windows Simple File System Driver" @@ -224,7 +218,7 @@ static EFI_UNICODE_STRING_TABLE mWinNtSimpleFileSystemDriverNameTable[] = { languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified - in RFC 3066 or ISO 639-2 language code format. + in RFC 4646 or ISO 639-2 language code format. @param DriverName[out] A pointer to the Unicode string to return. This Unicode string is the name of the @@ -297,7 +291,7 @@ WinNtSimpleFileSystemComponentNameGetDriverName ( languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified in - RFC 3066 or ISO 639-2 language code format. + RFC 4646 or ISO 639-2 language code format. @param ControllerName[out] A pointer to the Unicode string to return. This Unicode string is the name of the @@ -366,7 +360,7 @@ WinNtSimpleFileSystemComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiSimpleFileSystemProtocolGuid, - &SimpleFileSystem, + (VOID **) &SimpleFileSystem, gWinNtSimpleFileSystemDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL