From patchwork Sun May 17 20:03:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Parth Dixit X-Patchwork-Id: 48644 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E704921411 for ; Sun, 17 May 2015 20:06:37 +0000 (UTC) Received: by wixv7 with SMTP id v7sf15385471wix.0 for ; Sun, 17 May 2015 13:06:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=J8clW8DOfCMDoLIn6EGUz+AvCnokDZo8UxT+hzOzkZo=; b=j34Ez0cthNKRfw+rrvgaaT7upS/KaKyoLa3D0U84kh4isR/F78iHmOOgG5mGrPHTDo gbvUzyCRstyvilUC+0pVIwedjlDtNri3PyJj54OczLSfyNKoxudAJ7OWqHBgoau3k87v cTRsFE5eJvu8Er69wuf0xcHlEroll9jZAI1v0fYF2tW9YMnj/RW5MX+f9v3D8s5zWDI7 hBsbo10wJzK3YaTWIH+HP4mYPVC/muDNZxOYp8GYp1CbJjfAotaUmnQNF2GpqKno0Beg G9nomzOfy0bCqPemc+ojnJZYirwo4RI0D/MDe5yl6hSKXZrVbOAt8rT/H5c0CC48ksDX Wo5Q== X-Gm-Message-State: ALoCoQkYtw/I1VUHsy79K4uBD8DPTiwRLqeoJz0cMq1tJWKkSaw+e7xttU37wkn+33/vSsVepaAp X-Received: by 10.152.43.116 with SMTP id v20mr15255452lal.3.1431893197185; Sun, 17 May 2015 13:06:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.65 with SMTP id lu1ls641952lac.104.gmail; Sun, 17 May 2015 13:06:37 -0700 (PDT) X-Received: by 10.152.115.173 with SMTP id jp13mr14565171lab.119.1431893197050; Sun, 17 May 2015 13:06:37 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id m3si5326709lah.93.2015.05.17.13.06.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 May 2015 13:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by laat2 with SMTP id t2so191059835laa.1 for ; Sun, 17 May 2015 13:06:37 -0700 (PDT) X-Received: by 10.112.204.6 with SMTP id ku6mr7239401lbc.73.1431893196934; Sun, 17 May 2015 13:06:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3507963lbb; Sun, 17 May 2015 13:06:35 -0700 (PDT) X-Received: by 10.140.231.14 with SMTP id b14mr25856984qhc.85.1431893194857; Sun, 17 May 2015 13:06:34 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id h1si8292636qhc.6.2015.05.17.13.06.34 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 May 2015 13:06:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yu4nj-0001L6-78; Sun, 17 May 2015 20:04:43 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yu4nh-0001Kn-HN for xen-devel@lists.xen.org; Sun, 17 May 2015 20:04:41 +0000 Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id 60/4D-02785-854F8555; Sun, 17 May 2015 20:04:40 +0000 X-Env-Sender: parth.dixit@linaro.org X-Msg-Ref: server-9.tower-206.messagelabs.com!1431893078!11123693!1 X-Originating-IP: [209.85.220.53] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.13.15; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14227 invoked from network); 17 May 2015 20:04:39 -0000 Received: from mail-pa0-f53.google.com (HELO mail-pa0-f53.google.com) (209.85.220.53) by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 17 May 2015 20:04:39 -0000 Received: by pabts4 with SMTP id ts4so119752655pab.3 for ; Sun, 17 May 2015 13:04:37 -0700 (PDT) X-Received: by 10.68.57.239 with SMTP id l15mr12095760pbq.93.1431893077798; Sun, 17 May 2015 13:04:37 -0700 (PDT) Received: from localhost.localdomain ([117.247.24.139]) by mx.google.com with ESMTPSA id j9sm7838401pdm.53.2015.05.17.13.04.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 May 2015 13:04:37 -0700 (PDT) From: Parth Dixit To: xen-devel@lists.xen.org Date: Mon, 18 May 2015 01:33:31 +0530 Message-Id: <1431893048-5214-5-git-send-email-parth.dixit@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> References: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, tim@xen.org, julien.grall@citrix.com, stefano.stabellini@citrix.com, jbeulich@suse.com, parth.dixit@linaro.org, christoffer.dall@linaro.org Subject: [Xen-devel] [PATCH v2 04/41] arm/acpi : add arm specific acpi header file X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: 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 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: parth.dixit@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: add architecture specific definitions and calls required for acpi in new header file Signed-off-by: Parth Dixit --- xen/include/asm-arm/acpi.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 xen/include/asm-arm/acpi.h diff --git a/xen/include/asm-arm/acpi.h b/xen/include/asm-arm/acpi.h new file mode 100644 index 0000000..f771056 --- /dev/null +++ b/xen/include/asm-arm/acpi.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2014, Naresh Bhat + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ + +#ifndef _ASM_ARM64_ACPI_H +#define _ASM_ARM64_ACPI_H + +#include + +#define COMPILER_DEPENDENT_INT64 long long +#define COMPILER_DEPENDENT_UINT64 unsigned long long + +extern bool_t acpi_disabled; +/* Basic configuration for ACPI */ +static inline void disable_acpi(void) +{ + acpi_disabled = 1; +} + +#endif /*_ASM_ARM_ACPI_H*/