From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AGs4zMas3SXhp+1aIPsGvIW7iNVCFP9xJiX6aayZ10Oxfgv49kuMSEQ+SCagdCrTe3/a5zQ4BPSedg== 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 Cc: leif.lindholm@linaro.org, Ard Biesheuvel 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: [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: , X-List-Received-Date: Thu, 30 Nov 2017 14:11:06 -0000 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(-) 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. -- 2.11.0