From 201a4fe3ec5024b715f2b5478522a113af066532 Mon Sep 17 00:00:00 2001 From: Alexander Gryanko Date: Wed, 11 Feb 2026 13:28:27 +0300 Subject: [PATCH] SecurityPkg: align UNI file headers with UNI Spec standard The Uni file standard specifies that comments begin with the characters "//". The following files contained incorrectly formatted C-style comments and have been updated: SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni SecurityPkg/Library/DxeTcgPhysicalPresenceLib/PhysicalPresenceStrings.uni SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigStrings.uni The problems were identified during testing of the parser https://github.com/xpahos/edk2-idea. Signed-off-by: Alexander Gryanko --- .../PhysicalPresenceStrings.uni | 14 +++++++------- .../PhysicalPresenceStrings.uni | 16 ++++++++-------- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni | 14 +++++++------- .../Tcg/TcgConfigDxe/TcgConfigStrings.uni | 14 +++++++------- .../SecureBootConfigStrings.uni | 14 +++++++------- 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni b/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni index 765a7b3bb2..28563935f5 100644 --- a/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni +++ b/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni @@ -1,10 +1,10 @@ -/** @file - String definitions for TPM 2.0 physical presence confirm text. - -Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ +// /** @file +// String definitions for TPM 2.0 physical presence confirm text. +// +// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
+// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ #langdef en-US "English" diff --git a/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/PhysicalPresenceStrings.uni b/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/PhysicalPresenceStrings.uni index 9d17432ef8..171002f704 100644 --- a/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/PhysicalPresenceStrings.uni +++ b/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/PhysicalPresenceStrings.uni @@ -1,11 +1,11 @@ -/** @file - String definitions for TPM 1.2 physical presence confirm text. - -Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
-(C) Copyright 2016 Hewlett Packard Enterprise Development LP
-SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ +// /** @file +// String definitions for TPM 1.2 physical presence confirm text. +// +// Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+// (C) Copyright 2016 Hewlett Packard Enterprise Development LP
+// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ #langdef en-US "English" diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni index ee7fa081b6..dada07558f 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni @@ -1,10 +1,10 @@ -/** @file - String definitions for TCG2 configuration form. - -Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ +// /** @file +// String definitions for TCG2 configuration form. +// +// Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ #langdef en-US "English" diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni index b5bb899825..4bc348511d 100644 --- a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni +++ b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni @@ -1,10 +1,10 @@ -/** @file - String definitions for TCG configuration form. - -Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ +// /** @file +// String definitions for TCG configuration form. +// +// Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.
+// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ #langdef en-US "English" diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigStrings.uni b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigStrings.uni index 177c585837..f070210d9e 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigStrings.uni +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigStrings.uni @@ -1,10 +1,10 @@ -/** @file - String definitions for Secure Boot Configuration form. - -Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ +// /** @file +// String definitions for Secure Boot Configuration form. +// +// Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
+// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ #langdef en-US "English"