From patchwork Thu Nov 30 14:15:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120201 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp721692qgn; Thu, 30 Nov 2017 06:15:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ9YcbsjgpzDrukObDS0wuzV6CBo5oh32kfn4gUHCofIriZRSoNdENbZC4ztPgEra6Ws8nV X-Received: by 10.99.126.93 with SMTP id o29mr2551901pgn.304.1512051333703; Thu, 30 Nov 2017 06:15:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512051333; cv=none; d=google.com; s=arc-20160816; b=nSeyc0WDRMAwanwcSZaa88SpLNravZ9HM88sgZmjJora5rzoYh7rxXmelPBLyDuXs6 Ohr4u31h9quIL6ylBNqfKSiXI0U7nx07I7i5xD1fxCM8VKQNgErbU3GeEMBhn3Ewaxl5 HRFNxuPK22rhZ/CMEL2MDzciD+JNo0FyHFgp+0+UiHbReYbU09tbedQ5IIu6xmT/lMAl c/vfkFMaK/vymrI1JAQ1l5OuANmM/o/VwXaMT37InhwvnzyTQFcKhr1j/+to/cA6bFbX 6CTyL048E2CvJpVVYL0Sd6UI+QSE6WnZzUL/neesnE442vaQ1KgjMC3WX7hYA0oOGyl1 p42w== 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:arc-authentication-results; bh=N+JPQ9wu/WEREeH7yk+81yPG5WE1u64SOQzU+SYavP4=; b=sQt6cgoP8sWCd0C2806ZOSNcpTQH6CnAtupmYfOMTyy8SAsUP2UBmq/kP1MoCFrtpC iEVQZOFLNU4KoYfH0jduacuoTJC7G+EP+d/KsyqxLXJNQfnoVUr5jbjteHTTDWtudnwl dtoU8szinSnU2EDt6uDcveK2vGI3b/5+Ml+aQVe6zwHnLHFWPM//k0Y8ymJ2UazpTpBN RXJmyUrrnjrI2704nH7PD/MSp1MlrjOX1QaaquwJLmAp8ZMoF/6Vygr331J4cD8fKcRj E3kClMBICJwDFGL27LoU4YuR0yUk3LH2QmqNqGu3lMEyPuUEHOxdsRunlDhGb5r+uIx3 aXBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gV3TcH/T; 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 d30si3177889pld.506.2017.11.30.06.15.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 06:15:33 -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=gV3TcH/T; 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 C8A3A220F3C5B; Thu, 30 Nov 2017 06:11:07 -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:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 29273220F3C3D for ; Thu, 30 Nov 2017 06:11:06 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id y21so6728680wrc.1 for ; Thu, 30 Nov 2017 06:15:31 -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=EAtYQojm+5QmUV7JecNnf1VWzk9DIAM0l3y80M/Oqu8=; b=gV3TcH/TsWZ5lkAz+Czn3isKbRW/j3R1v+RJNAWtqvDiMSdajQC5giONqIvWfKYuPa hUrujO3h8+BmYMoe81N07zbw+kjoSXIuqjrqqjOaeToAqqXV1NfSmkd0Y/75sBNbK6rz O9nwicuQsTb1DjDTJQB62aRfO63m4mYf54qkw= 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=EAtYQojm+5QmUV7JecNnf1VWzk9DIAM0l3y80M/Oqu8=; b=hYFkMtwHvt/47HRQhHMFp+3LWo+6Y3iv8VSSfKaTNz/SuAcydwzGlbMjPCT5PhncBY 7r5/NDxYqd6egnV04ALn2RPP/kS++i6AAsPXhxlC8jrlQ1TeGXVtqgoQIAXgQaDkreWV GmgDRl/Kt1cvvB5E8d3gJMXGTkRrHSnQxg1UpoDaIHe/6E/oRgMQ9KvTnbQ+fb2y82m5 BTi/7Z2txCvzWV/St8cLrnb07syKOjDOHZlBmOl7Qpp/382WkbLP1YdTtTpNXj/+/yWF cKes8WWt7vwCQZM7uY/zadDaF55uR5EIPKFwbSXpMLYiIlXZD3/HIEuuDq64UlwFgwim wiGw== X-Gm-Message-State: AJaThX5LjTRWY5MKQT6akwOH6bwLOc8r4ZwSzYwDiAkYbMu+x6zjWYiY xr8Ph3fLL4PLbxPeoKdvuUdcjiMFlPE= X-Received: by 10.223.160.40 with SMTP id k37mr2041306wrk.66.1512051329872; Thu, 30 Nov 2017 06:15:29 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id f19sm2303555wmf.5.2017.11.30.06.15.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 06:15:29 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 30 Nov 2017 14:15:05 +0000 Message-Id: <20171130141509.27230-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171130141509.27230-1-ard.biesheuvel@linaro.org> References: <20171130141509.27230-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 3/7] ArmPlatformPkg/ArmPlatformLib: remove ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR struct type is defined but never used anywhere. So remove it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/Include/Library/ArmPlatformLib.h | 13 ------------- 1 file changed, 13 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h index 77561a3d05b3..c74d53506fee 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -28,19 +28,6 @@ #include /** - This structure is used to describe a region of the EFI memory map - - Every EFI regions of the system memory described by their physical start address and their size - can have different attributes. Some regions can be tested and other untested. - -**/ -typedef struct { - EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute; - EFI_PHYSICAL_ADDRESS PhysicalStart; - UINT64 NumberOfBytes; -} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR; - -/** Return the core position from the value of its MpId register This function returns the core position from the position 0 in the processor.