From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web12.837.1635884314216834507 for ; Tue, 02 Nov 2021 13:18:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@corthon-com.20210112.gappssmtp.com header.s=20210112 header.b=1w/UOZeS; spf=none, err=permanent DNS error (domain: corthon.com, ip: 209.85.214.175, mailfrom: bret@corthon.com) Received: by mail-pl1-f175.google.com with SMTP id f8so558746plo.12 for ; Tue, 02 Nov 2021 13:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corthon-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Shz5f3NQx3XXQ8ZSEqKIe5YWudoRmOXf8GTJn5WfPzY=; b=1w/UOZeSN3nm1AdyOxrBt9FKvDUPPLZld+leh8RMH0MhY9sv3SO6RKTQzKqKZrLEiQ gEGTGwa4I8gyxdub/hDRaaRdL2MyiSvoWMlSSK2Oz0qwOCxdfi/li9m/j6UVKO0QpcH3 0tLVCaPPPib+DkaBqVE7hQbRAETD73ZMeHOkAK9C47OwMoq1s/lq7uvSg39NMRtOhUFu x0lecM4cNwpUwRtl3YcVl3cS54whB/lAEmaLSyze2Lx6KVghDKmZAzhk3Hx9RyRN3Rzk a/47YREnem098jK/qWkdS4C9PqfRCZs2isqp+P2qj+7ds4IBH+L2qxHiBwZS/xSwvnvz izaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Shz5f3NQx3XXQ8ZSEqKIe5YWudoRmOXf8GTJn5WfPzY=; b=rp6YJ1Ta+UqAZkL5QhBdxoxr6OKys90GDs6bw5QKniMRysxTlnVfDbwXbiRHtRUtBz VD0kYa4Xu6OMRj7M1Nd4D3sm5Ltdu7x4Krv4eusrRIMCQc/GTT/RUQZINMwEa0x0x/1s Gj1xxJLX2liHZVyQl9r5JuMrQGvcfaTGsIFnxQ677jZo474QU04MISSfVjSKo82v7mKi coYvKFYhNNkpaRsKHZEMomKa1D8LmsILatcTfWSsOfDSG4d4RyJ8AwaWhzQ5pta8GxAL GXjiyhcEHgWueEYIlKv0HC7/g/E2M3c/xTHjRjCkfMcNv2CmR53SfDyD37ljQeLFwLnN KQ1g== X-Gm-Message-State: AOAM531BPrKpOUoBywuKPxvkhnwcFdei8iyzzZm4/bsey2C7MDjBmIPk qykS+vtM/8oXg1BxPJAdSPJFfplWaoFy1iBz X-Google-Smtp-Source: ABdhPJwcO9EhHUpYFNn08CZ2tlJVDednXxQMOTSdPe4ZZtuMfNo6atQfbVvZNF2N2Y3DVlq+SSp2+A== X-Received: by 2002:a17:90a:4e02:: with SMTP id n2mr5813580pjh.170.1635884313544; Tue, 02 Nov 2021 13:18:33 -0700 (PDT) Return-Path: Received: from localhost.localdomain (174-21-94-94.tukw.qwest.net. [174.21.94.94]) by smtp.gmail.com with ESMTPSA id t24sm17652pfg.118.2021.11.02.13.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 13:18:33 -0700 (PDT) From: "Bret Barkelew" X-Google-Original-From: "brbarkel@microsoft.com" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Sean Brogan Subject: [PATCH v2 04/16] ArmPkg: Disavow StandaloneMmMmuLib. It's just ArmMmuLib Date: Tue, 2 Nov 2021 13:17:36 -0700 Message-Id: <20211102201748.1963-5-brbarkel@microsoft.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20211102201748.1963-1-brbarkel@microsoft.com> References: <20211102201748.1963-1-brbarkel@microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Bret Barkelew This extra interface is redundant and unnecessary. Dropping it is more EDK2-ish. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3647 Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sean Brogan Signed-off-by: Bret Barkelew Reviewed-by: Leif Lindholm --- ArmPkg/ArmPkg.dec | 4 --- ArmPkg/Include/Library/StandaloneMmMmuLib.h | 36 -------------------- 2 files changed, 40 deletions(-) diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index 9da1bbc9f216..f5c235ecc11b 100644 --- a/ArmPkg/ArmPkg.dec +++ b/ArmPkg/ArmPkg.dec @@ -88,10 +88,6 @@ [LibraryClasses.common] #=0D SemihostLib|Include/Library/SemihostLib.h=0D =0D - ## @libraryclass Provides an interface for a StandaloneMm Mmu.=0D - #=0D - StandaloneMmMmuLib|Include/Library/StandaloneMmMmuLib.h=0D -=0D [Guids.common]=0D gArmTokenSpaceGuid =3D { 0xBB11ECFE, 0x820F, 0x4968, { 0xBB, 0xA6,= 0xF7, 0x6A, 0xFE, 0x30, 0x25, 0x96 } }=0D =0D diff --git a/ArmPkg/Include/Library/StandaloneMmMmuLib.h b/ArmPkg/Include/L= ibrary/StandaloneMmMmuLib.h deleted file mode 100644 index ccc016d0350a..000000000000 --- a/ArmPkg/Include/Library/StandaloneMmMmuLib.h +++ /dev/null @@ -1,36 +0,0 @@ -/** @file=0D -=0D - Copyright (c) 2018, ARM Ltd. All rights reserved.=0D -=0D - SPDX-License-Identifier: BSD-2-Clause-Patent=0D -=0D -**/=0D -=0D -#ifndef STANDALONE_MM_MMU_LIB_=0D -#define STANDALONE_MM_MMU_LIB_=0D -=0D -EFI_STATUS=0D -ArmSetMemoryRegionNoExec (=0D - IN EFI_PHYSICAL_ADDRESS BaseAddress,=0D - IN UINT64 Length=0D - );=0D -=0D -EFI_STATUS=0D -ArmClearMemoryRegionNoExec (=0D - IN EFI_PHYSICAL_ADDRESS BaseAddress,=0D - IN UINT64 Length=0D - );=0D -=0D -EFI_STATUS=0D -ArmSetMemoryRegionReadOnly (=0D - IN EFI_PHYSICAL_ADDRESS BaseAddress,=0D - IN UINT64 Length=0D - );=0D -=0D -EFI_STATUS=0D -ArmClearMemoryRegionReadOnly (=0D - IN EFI_PHYSICAL_ADDRESS BaseAddress,=0D - IN UINT64 Length=0D - );=0D -=0D -#endif /* STANDALONE_MM_MMU_LIB_ */=0D --=20 2.31.1.windows.1