From patchwork Wed Jan 16 20:22:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 155752 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1096734jaa; Wed, 16 Jan 2019 12:22:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN7xy6tMRShuUXCwArXMISOQtVMEswaKQJz0vzZixoo7Mbju/qUDK/teYocfBYlqNPW3pOkH X-Received: by 2002:a62:3541:: with SMTP id c62mr11600124pfa.19.1547670179400; Wed, 16 Jan 2019 12:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547670179; cv=none; d=google.com; s=arc-20160816; b=owfwLZKKTySLJmVhS7r7RlqErOCg8c524rb0d28o/LX87cQeA03LOOpli+gGSikbYH Cl6Q2vnTbLXLb1QqBcwKHOeRn+e5ezNhIrjgalWEnXEUXnwl9mDXQOKqTh1YNNYSBV/m F6GfRJA1uySVZodZxfKl3z4fH3k49lRtP0JB2ZcuRwaj6gaG3b5FL4uefu/DtLU+SUdD tE5hbH3vx5wM+ozca4VW4a5JUAbBul8Gm9ChTtvowWv2Wf7KiU/+TpN3kbSMFEYis2lz tiyzXctWkw8AU+lvKvxocKOLPGyGvBMX0m5FhjbotnHuyEiAJBa3hXByWJQdWgaXw72/ I6Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=ovHhHZHanB581pfN83KoptBLkfZP311lBBbcEFIb8Ts=; b=wYlGXlfYB9NagyarF7HZViZJ6JgIiUzajJAoRt4go415wrmN1NxzhJfvGo1hNY8x4w HBdvCvzbqQyc2LQ4UN1daPmR705KMD1yoOAtNg/rVH8pf5SoDHmnB0RqT+Jg18sBWUWz XMfb9ZnVrfTQLpEvdyNQBvSO/+rdvfQt0/MGHaZebBx7COVvi020qkxCWRLHteEpWVTf PQ5OYE1+sP9tcNbcOmpyS8Fi0K4shxeAVbMgwgRyG7H4JIE+GsyE2HfFSOPrUPDbhV2L 1hN8AUxGb4Dvuv4kdhs2BKmd1PJg1VYtLEAr7H1evOesp09z7PkftUfrHze1UMyVTY7y yXFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OxoG5cqI; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id m33si6601326pgl.379.2019.01.16.12.22.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jan 2019 12:22:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OxoG5cqI; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1A71D211B81A3; Wed, 16 Jan 2019 12:22:52 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::342; helo=mail-wm1-x342.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 85D2921CAD9B2 for ; Wed, 16 Jan 2019 12:22:50 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id a62so3445229wmh.4 for ; Wed, 16 Jan 2019 12:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Jl/FlFCahcN8wqk9alo6HvXlgW1kKXM7FityXdAUMQs=; b=OxoG5cqI9i44VARoR6KnDjZaHC61F0H7OcA8tPZ88Z7LlT9pOZuxa362+Y1eVRp+tr n8lbFjGPKieKl3Jaz44SzAHWg+faxsrk1IRVES7cayfNHvxEPg2h7nKKlxK+gpeduTVv 61B/OeqQoGCrjIymQZnmH/wzyDz//gllP92/4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Jl/FlFCahcN8wqk9alo6HvXlgW1kKXM7FityXdAUMQs=; b=H1QqumYXUSihYUfTelLIb2Lgs9nRP5P4Owl8w8gHR2as1juIDemMBKHqfdOUtF4GqU o31SKHYH8PpEpyhMuMT9i7xRy5cPSQUHlY8aIXkuaXwdqpddueLms+YH1R46pDcrnyuL Q7RpYrKGmLs4cSQ5THTTdmH3YUSOuKxnCzIMkCFrqBRgEvcocUZmmf4SIVwqSP+L31M3 aSug3l/SezLIdeztmS5mKok69M+G5jmmcd2+4civw2nadWW+AzTTlJQ0W/aUwT8Ozz1A HzncvJEzqJaAdbtde0PgSbyjV/odPI3ckD28an0Ovl9qRd7t3KvJO/ZapsViqoSB692m fFbQ== X-Gm-Message-State: AJcUukcEzhgugAr6HmkjOM4vRflm+0XbdX8KcsrOu8TRKxsrxRil/6L7 G1OW2UAK4/85YMFe9tReMH8bAaD7/DEqCA== X-Received: by 2002:a1c:2501:: with SMTP id l1mr9303502wml.102.1547670168678; Wed, 16 Jan 2019 12:22:48 -0800 (PST) Received: from dogfood.home ([2a01:cb1d:112:6f00:28df:207d:542c:1451]) by smtp.gmail.com with ESMTPSA id p139sm70901316wmd.31.2019.01.16.12.22.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jan 2019 12:22:47 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 16 Jan 2019 21:22:29 +0100 Message-Id: <20190116202236.6977-5-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190116202236.6977-1-ard.biesheuvel@linaro.org> References: <20190116202236.6977-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v2 04/11] StandaloneMmPkg/StandaloneMmCpu: fix typo Standlone -> Standalone X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiewen Yao MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Fix a couple of occurrences of typo Standlone -> Standalone Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Supreeth Venkatesh --- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 2 +- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 6 +++--- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h | 8 +------- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 4 ++-- 4 files changed, 7 insertions(+), 13 deletions(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 2814577b3fcc..25114821448a 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -65,7 +65,7 @@ EFI_MM_CONFIGURATION_PROTOCOL mMmConfig = { STATIC EFI_MM_ENTRY_POINT mMmEntryPoint = NULL; EFI_STATUS -PiMmStandloneArmTfCpuDriverEntry ( +PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, IN UINTN CpuNumber, IN UINTN NsCommBufferAddr diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c index 85a9c108aea4..203a32baaaf9 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c @@ -74,7 +74,7 @@ GetGuidedHobData ( } EFI_STATUS -StandloneMmCpuInitialize ( +StandaloneMmCpuInitialize ( IN EFI_HANDLE ImageHandle, // not actual imagehandle IN EFI_MM_SYSTEM_TABLE *SystemTable // not actual systemtable ) @@ -147,8 +147,8 @@ StandloneMmCpuInitialize ( // Share the entry point of the CPU driver DEBUG ((DEBUG_INFO, "Sharing Cpu Driver EP *0x%lx = 0x%lx\n", (UINT64) CpuDriverEntryPointDesc->ArmTfCpuDriverEpPtr, - (UINT64) PiMmStandloneArmTfCpuDriverEntry)); - *(CpuDriverEntryPointDesc->ArmTfCpuDriverEpPtr) = PiMmStandloneArmTfCpuDriverEntry; + (UINT64) PiMmStandaloneArmTfCpuDriverEntry)); + *(CpuDriverEntryPointDesc->ArmTfCpuDriverEpPtr) = PiMmStandaloneArmTfCpuDriverEntry; // Find the descriptor that contains the whereabouts of the buffer for // communication with the Normal world. diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h index 7b38b65e1242..543467f67576 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h @@ -40,7 +40,7 @@ extern MP_INFORMATION_HOB_DATA *mMpInformationHobData; extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig; EFI_STATUS -PiMmStandloneArmTfCpuDriverEntry ( +PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, IN UINTN CpuNumber, IN UINTN NsCommBufferAddr @@ -55,10 +55,4 @@ PiMmCpuTpFwRootMmiHandler ( IN OUT UINTN *CommBufferSize OPTIONAL ); -EFI_STATUS _PiMmStandloneArmTfCpuDriverEntry ( - IN UINTN EventId, - IN UINTN CpuNumber, - IN UINTN NsCommBufferAddr - ); - #endif diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf index 9e6bbabdb103..d261e51ebc75 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf @@ -18,12 +18,12 @@ [Defines] INF_VERSION = 0x0001001A - BASE_NAME = StandloneMmCpu + BASE_NAME = StandaloneMmCpu FILE_GUID = 58F7A62B-6280-42A7-BC38-10535A64A92C MODULE_TYPE = MM_STANDALONE VERSION_STRING = 1.0 PI_SPECIFICATION_VERSION = 0x00010032 - ENTRY_POINT = StandloneMmCpuInitialize + ENTRY_POINT = StandaloneMmCpuInitialize [Sources] StandaloneMmCpu.c