From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mx.groups.io with SMTP id smtpd.web11.1631.1635796660606448192 for ; Mon, 01 Nov 2021 12:57:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@corthon-com.20210112.gappssmtp.com header.s=20210112 header.b=I3asUA6u; spf=none, err=permanent DNS error (domain: corthon.com, ip: 209.85.215.174, mailfrom: bret@corthon.com) Received: by mail-pg1-f174.google.com with SMTP id f5so18096425pgc.12 for ; Mon, 01 Nov 2021 12:57:40 -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=hxSgwAWhNQts8su/3pwfXWNCCYI/mR7+WSM1hyj6jtU=; b=I3asUA6urdz6qqVHaitKZkB8y9JG0Fzl98sune4eCErxjrOaDuPQYgJ5FUsWgyPX0d vqa9MCV0Dg1J/YX3O0xrBU3ZjXAxGdvQI8FJkPnbAdFWzPD/GwvUVu/nbz7DKZkzJHny GAL3Ss2ud2p9q1X0kSV4hqIc5aKNoKsTB85yyG2rzhPKMNNs9j5Og7AAHRIcPNvV+3N/ EEtuaJo5KOEOkBFDL5cqJrLqvw/Hb7q6jTQ7Qfvy3NoBcBD9xBc8TmY+cw1YFQZD6RBT 1a8sKCAV4eAJP/S2SSIvc65fSgvBR9kFINpAYsZJ/zNh8rRbDYJ7W1QV82R5nhxdmA25 aGrQ== 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=hxSgwAWhNQts8su/3pwfXWNCCYI/mR7+WSM1hyj6jtU=; b=eWkhsDDKZGZs3CcZZx4dU6h9DhpYrMshza4F9BwOLBCt2yv6rHGbrGx4v1Vts9l+nI ncshE1WuFwtFz5t9AN12jp+JM81czRFc79fLmIXVEafY8ckmD8gcCgR+QzCQuIXGTg5g YNPAmrmevn0iMGuTUL9uRpS/Iaeu79NFLukha1mhZoCL6NhiLGbRPudEAZ7deSm6QSQ4 jym8u+8Mfg+y8RRD6pPU8TRN/NHrdpavtrTrAY/H5nxtEYDaaIVxh9G2iLjlQVZtYU6d moW5Zi9zUeBwJxeeXMOVGMVoBYh1ceQrgwNPGKZFBzvwD9cbe8l3P0PqiH5qGA4N+CZ5 Ycwg== X-Gm-Message-State: AOAM533UBDA9IFjjb+S0m25pz5vB6Eu14xraayrW9pkOboSBtA6qF/JK PkC81cAaoUJXfop5uqGDMIadEgi0RSbjl60F X-Google-Smtp-Source: ABdhPJzcbD8MM8UfzG4END0/XZXVpW9wOizgoiV5y+vk81Xk41E9w71JL9/bxskQM2tDscoa56Mrvw== X-Received: by 2002:a63:6bc2:: with SMTP id g185mr23429238pgc.356.1635796659812; Mon, 01 Nov 2021 12:57:39 -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 t2sm13759796pgf.35.2021.11.01.12.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 12:57:39 -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 v1 04/16] ArmPkg: Disavow StandaloneMmMmuLib. It's just ArmMmuLib Date: Mon, 1 Nov 2021 12:56:36 -0700 Message-Id: <20211101195648.6420-5-brbarkel@microsoft.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20211101195648.6420-1-brbarkel@microsoft.com> References: <20211101195648.6420-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 --- 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