From da9d39c28ee24dde172616fe05ce3c252223b01c Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Mon, 6 Jun 2016 17:25:43 +0800 Subject: [PATCH] MdeModulePkg SmmLockBoxSmmLib: Fix typo in SmmLockBoxSmmConstructuor SmmLockBoxSmmConstructuor should be SmmLockBoxSmmConstructor. Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek Tested-by: Laszlo Ersek --- MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c | 10 +++++----- .../Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c index 23a786d56e..38be18560f 100644 --- a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c +++ b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c @@ -1,6 +1,6 @@ /** @file -Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions @@ -73,7 +73,7 @@ InternalGetSmmLockBoxContext ( **/ EFI_STATUS EFIAPI -SmmLockBoxSmmConstructuor ( +SmmLockBoxSmmConstructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable ) @@ -81,7 +81,7 @@ SmmLockBoxSmmConstructuor ( EFI_STATUS Status; SMM_LOCK_BOX_CONTEXT *SmmLockBoxContext; - DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxSmmConstructuor - Enter\n")); + DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxSmmConstructor - Enter\n")); // // Check if gEfiSmmLockBoxCommunicationGuid is installed by someone @@ -93,7 +93,7 @@ SmmLockBoxSmmConstructuor ( // No need to install again, just return. // DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxContext - already installed\n")); - DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxSmmConstructuor - Exit\n")); + DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxSmmConstructor - Exit\n")); return EFI_SUCCESS; } @@ -117,7 +117,7 @@ SmmLockBoxSmmConstructuor ( DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxContext - %x\n", (UINTN)&mSmmLockBoxContext)); DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib LockBoxDataAddress - %x\n", (UINTN)&mLockBoxQueue)); - DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxSmmConstructuor - Exit\n")); + DEBUG ((EFI_D_INFO, "SmmLockBoxSmmLib SmmLockBoxSmmConstructor - Exit\n")); return Status; } diff --git a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf index 6edb47519a..d722f57a66 100644 --- a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf +++ b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf @@ -1,7 +1,7 @@ ## @file # SMM LockBox library instance. # -# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions @@ -22,7 +22,7 @@ MODULE_TYPE = DXE_SMM_DRIVER VERSION_STRING = 1.0 LIBRARY_CLASS = LockBoxLib|DXE_SMM_DRIVER - CONSTRUCTOR = SmmLockBoxSmmConstructuor + CONSTRUCTOR = SmmLockBoxSmmConstructor # # The following information is for reference only and not required by the build tools. -- 2.39.2