From patchwork Fri Jan 4 11:03:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 154756 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp495397ljp; Fri, 4 Jan 2019 03:03:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN7gYrFht+mJJaiQg5KlWIMRuzDfD8F7tEPOXJc7R3V6sV5iOKBBnKFUC1+KhnGmXN1YEoAv X-Received: by 2002:a63:cf48:: with SMTP id b8mr1263172pgj.17.1546599809432; Fri, 04 Jan 2019 03:03:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546599809; cv=none; d=google.com; s=arc-20160816; b=GL2mBDMJhMbgq+Tmn43XagQiTR0Mrej2zpCEhQeeVp6lBr6eQKxOF8ycVkaKOoge8f MScym1VLfNiYOBntk5ppRp2x1R+XpnK+a7L938hnBAkUfBBVRJVdgXsWyv4ssgoSwtZ1 NykOfZ6JaDDBJ9Lh3Elpehtb9KH+D95Yg8qZf/JtJj3o8jQmS94Zpzo+LEchqbIBMHff U2rzHjizJKnnkAWEO7RcXEuvwUFd/6DG7viBCR3cOO5PvqGAOCp2Y1Ufub2Bh3MYmybz bbNgd7fZdeW/dpEzAojrA0kO5TVKzfVzrjn89YNlunEG6W6B4w1BCNOCeHPF/MwI0g5V 4Blg== 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=gZl/zxB3BTe57EB971Um7B0ohkOPggtfl7oywDMg59s=; b=rFviwDenC8qj6lE0W73gTc+r2c+qcFqYvQmg/7BYDj+zMleI32A/21TiTkY5sVEQWU KMRGLnGOBcCXdh+D9F0PDeSjK/eYttdn4oWKuWk+5Vn+CIJGAdCOzkUbMTidnMyH055F itT3adGDCUcRMBA/yWGqjd/jUDi+1DV1NS7yn2HoDaCCw03jKa9aWMlatcQgFxWoIFH+ +HwWRoI9DBnApEz7CZBLFnLgtBIQC22czc8ky70Twtw6iUAMLomh2oRvApreXFinJyy4 r460tnKrJuejY/xnf4CYgLFCwONZygI6Z3QPQ8Iz10Y+bfRlHAhnLPplhqJhCbH6NnOt mJgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TXps0GM9; 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 bh12si52359241plb.353.2019.01.04.03.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 03:03:29 -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=TXps0GM9; 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 37279211AE8B3; Fri, 4 Jan 2019 03:03:28 -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::544; helo=mail-ed1-x544.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (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 71B26211A43B4 for ; Fri, 4 Jan 2019 03:03:26 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id f9so31427122eds.10 for ; Fri, 04 Jan 2019 03:03:26 -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=Mn+xfBOPSrQhjNswrzKiSoQpUgB98/wYeS0SwYJq1gw=; b=TXps0GM94TnCYZHa+bFNJDCFleRHPk2i7zpQ9h0uMeWZf3lb/gvlf8bUsAkIiWC38/ GWJLEUEogjH/NGMlKzSRjEHWKjVii+2keGZeueAOI4HmCUs3e7kJkNKde98WSp4TPht/ 3H8uVNVhcQe8jZmgK6312X2q/jP7pIOr8XeYs= 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=Mn+xfBOPSrQhjNswrzKiSoQpUgB98/wYeS0SwYJq1gw=; b=HC06i9MTZYNLeoCWlxfxuIizLbTrQjB7ZEqd4Nsoc53dDMTCbH0MO8by9da3jOvTzX SZbIRy/WhokFv+TOgjgy0pHzHxVK62jINc5WNRFWF+dimeM2SweiiupZVfpbWLeltip/ M7OTO8oUQ5bMy6s3BIvETwBOkgoy62koWz5Rri7zitfmKmwKM5FmqHPKihHO3BGfrajg fNfIMFs5BAfTJ0ZB8yxT7E/VPv8i44BHrm7vIn8ZR9E2NA5n4bHOazzNyhJ3ZfkB1muD E/BOjzixgE4kPEc3S0EfCrF4R9ETEFS2/wDMPFrL3DVqkOYqIEvsSc6yF8DgAGIhbduF E3Pg== X-Gm-Message-State: AA+aEWZyvFmxaB9UwqPbxuti1oiqRiFz/XbiiB2pcvuvQzRJPPM+busu FnI5rJdWzi6O4sQj2kSwZkWtIOYvH6Ci2Q== X-Received: by 2002:a50:ae8f:: with SMTP id e15mr46854599edd.250.1546599804632; Fri, 04 Jan 2019 03:03:24 -0800 (PST) Received: from dogfood.home ([2a01:cb1d:112:6f00:704e:c241:dc88:597d]) by smtp.gmail.com with ESMTPSA id n11sm26650578edn.14.2019.01.04.03.03.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 03:03:23 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 4 Jan 2019 12:03:08 +0100 Message-Id: <20190104110315.18339-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190104110315.18339-1-ard.biesheuvel@linaro.org> References: <20190104110315.18339-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 1/8] 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. Since _PiMmStandloneArmTfCpuDriverEntry() is never referenced, drop it altogether. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- 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 Reviewed-by: Supreeth Venkatesh 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