From patchwork Tue Nov 17 09:40:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 7634961 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C0A84BF90C for ; Tue, 17 Nov 2015 10:05:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DAA4720499 for ; Tue, 17 Nov 2015 10:05:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0D77820494 for ; Tue, 17 Nov 2015 10:05:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyd5P-0002dK-0X; Tue, 17 Nov 2015 10:02:03 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zycqo-0001xF-45 for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 09:47:05 +0000 Received: by wmec201 with SMTP id c201so218052532wme.0 for ; Tue, 17 Nov 2015 01:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QgTrQvPRaRhzsZfGBgRgelSxrnTL1n9aRSR4H6x8uso=; b=tr462qdJ8fdTTgGf32AAfZGMhsZeVGrbaLWSJQDx16jn3nl5/4yaSraD4sQGLUbbMb JHJavHnI2byBBumEf1IH99kvNTReZxo5c6PU6vjQthJWYXfTfm526k6aZoqqLYVOHb/m bvnW3eaVciiRYXHDfsAbYgyytQAKTSVazBanhB3JCHIYn5VZGi81UdmPgc+Jrn5ErSGW BpLEv6iyrQ9SLsw+wh2eBzJvUPVlX8in7YHKM62GFA+ceUifDPLfzFb+/9F4rxHxp9oX fYTfXpppEV1c2BhhO9GEmRT7gyV5c1pkhV4FWkYm6OxT0Mccx77D99gCyyQdx+uZ9MPn Eysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QgTrQvPRaRhzsZfGBgRgelSxrnTL1n9aRSR4H6x8uso=; b=CMcSC92LkOX2geTt1aLNNLHKayuv9r9QdbEsDsVfb9g3I1xHolrgPcFdRu5ZY9hwcz IB6iviGWOZhC9xh69twdmhVHVWLUKwIrIt53UWRLcECc0QOgLIPM5CEftmcynBhDLy4t QAmdXwvWMW174hE0UzmaBZCd+1tHKNxtPMfLtD81CT5sjJHjRR8B5kK1TH4DaOQRNEID PFtVIsY2LLPoxnt6cgMRQ61HtfQq6V4GKXXkUdIkaet0NG4S8dsg0GYmSNCb+ylMuua2 k4bqDGN05RgmgiHL2SmUVMhuFjgsocr1p9YN5DV81L4DIGO6LQfsUKyjoVAtSxQqBKKm /Sdw== X-Gm-Message-State: ALoCoQktv6jdtjGKA8ogMh6Zo+kMXZVNkgxbWEU0kwc68Kl7/WLbbaNOzVUGI1qZw3fqXlYJ8iIj X-Received: by 10.28.125.73 with SMTP id y70mr1517889wmc.95.1447753596852; Tue, 17 Nov 2015 01:46:36 -0800 (PST) Received: from localhost ([78.129.251.54]) by smtp.gmail.com with ESMTPSA id ej10sm38107708wjd.32.2015.11.17.01.46.34 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:46:36 -0800 (PST) From: shannon.zhao@linaro.org To: ian.campbell@citrix.com, stefano.stabellini@citrix.com, keir@xen.org, jbeulich@suse.com, andrew.cooper3@citrix.com, julien.grall@citrix.com, xen-devel@lists.xen.org Subject: [PATCH v3 37/62] arm/acpi: Define a enum for reserved tables Date: Tue, 17 Nov 2015 17:40:36 +0800 Message-Id: <1447753261-7552-38-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> References: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_014658_813538_241D943F X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, hangaohuai@huawei.com, ard.biesheuvel@linaro.org, shannon.zhao@linaro.org, christoffer.dall@linaro.org, peter.huangpeng@huawei.com, david.vrabel@citrix.com, zhaoshenglong@huawei.com, linux-arm-kernel@lists.infradead.org, roger.pau@citrix.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Shannon Zhao It needs to copy and change the contents of some ACPI and EFI tables for Dom0. Here define a enum for those tables. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao --- xen/include/asm-arm/acpi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xen/include/asm-arm/acpi.h b/xen/include/asm-arm/acpi.h index 214fc4e..f159d51 100644 --- a/xen/include/asm-arm/acpi.h +++ b/xen/include/asm-arm/acpi.h @@ -30,6 +30,18 @@ extern bool_t acpi_disabled; +/* Tables marked as reserved in efi table */ +typedef enum { + TBL_FADT, + TBL_MADT, + TBL_STAO, + TBL_XSDT, + TBL_RSDP, + TBL_EFIT, + TBL_MMAP, + TBL_MMAX, +} EFI_MEM_RES; + #ifdef CONFIG_ACPI bool_t __init acpi_psci_present(void); bool_t __init acpi_psci_hvc_present(void);