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: 56738 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1827017lbb; Tue, 17 Nov 2015 01:47:54 -0800 (PST) X-Received: by 10.55.56.130 with SMTP id f124mr39048938qka.79.1447753674307; Tue, 17 Nov 2015 01:47:54 -0800 (PST) Return-Path: Received: from lists.xen.org (lists.xenproject.org. [50.57.142.19]) by mx.google.com with ESMTPS id a59si29217715qgf.42.2015.11.17.01.47.54 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:47:54 -0800 (PST) Received-SPF: neutral (google.com: 50.57.142.19 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=50.57.142.19; Authentication-Results: mx.google.com; spf=neutral (google.com: 50.57.142.19 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZycqY-00066a-9S; Tue, 17 Nov 2015 09:46:42 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZycqW-000633-BD for xen-devel@lists.xen.org; Tue, 17 Nov 2015 09:46:40 +0000 Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id 4A/81-18744-D77FA465; Tue, 17 Nov 2015 09:46:37 +0000 X-Env-Sender: shannon.zhao@linaro.org X-Msg-Ref: server-14.tower-27.messagelabs.com!1447753596!3769850!1 X-Originating-IP: [74.125.82.49] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 22138 invoked from network); 17 Nov 2015 09:46:37 -0000 Received: from mail-wm0-f49.google.com (HELO mail-wm0-f49.google.com) (74.125.82.49) by server-14.tower-27.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 17 Nov 2015 09:46:37 -0000 Received: by wmec201 with SMTP id c201so218052538wme.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=Vj3BNAc9qateh7HfInIeD95APCnXk0buA9W/QMw3kk2d5+p/Ms5uA1NtMrd+pwklMs fYJwgtfhjAueCWH5zjaO+GBm1dLP92YXLum5INz0Z9IhJ0eJjWG3kBtAORqpbKytzeM+ 8z7UQvWX64vUXftvyuQsQcF917aGH3NuP2JsibVaXLUhHuMiKJR+On7JIY+4R0ubPnZ5 5B0dTp3ATooGs43dI5L7VZp+u/Yg0DHVW/jTolwAK4gNk5jyrD2PruNT2tUfGtoAYNZW McJ9174Q/FtAuEHTt7T1YAI6gz8c/HThfavIyvy15ocPNYRM4jpPn0TzEYWp5b107Qxm hHFQ== X-Gm-Message-State: ALoCoQnE4BwJLPgMHdde1WoLFFtd1p9/dGhao60fd6DASvUFbZmQ5slWO8ilz94FBRVZ6p1+3meM 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 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> 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 Subject: [Xen-devel] [PATCH v3 37/62] arm/acpi: Define a enum for reserved tables X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org 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(+) -- 2.1.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel 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);