From patchwork Wed May 20 13:01:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 48799 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 6F29521411 for ; Wed, 20 May 2015 13:02:56 +0000 (UTC) Received: by wivs14 with SMTP id s14sf19992250wiv.1 for ; Wed, 20 May 2015 06:02:55 -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 :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=+oMm0/FeTdjlsloLnNMPziMtuuK6+we0JlJXV9LT7hw=; b=Hklwlv4kfsahDCzXj1l2XrnZbji/dOtyt9u0VNjmqu9r7p22Brap1eFL0u9Vlv/kh1 LMULOXC31+cZIDHOjmC9PBPd7Yptcrevlr/ws4HOXjGKci4d4QLG/okvMrnnLJZ8KLwA 2E254/sL4nsZSmKSVKFIji7PJbU7Sfbx/n++qOUQfH6009CcKnPhxa2qVCfVKiqt+fEY UrM3U6WMoUX/xFaCJGsuGRvpvAYaLMBPy58XLciIGOJWEyUzlirVyRcG6hvBWYBAEZz9 cTqG3UEbk8iJiKhCUltD7R21QtRK4p+Xva1YBABKI0XrpVv1CTpCR7omEKNHRupVJOX1 P6wQ== X-Gm-Message-State: ALoCoQmI2ufsRgr5S4cVVEzAaUGFLzUyM8KGtN5DY0SaPWAEWOU+2hYUJvTuKLozXxkTfVXkM0uW X-Received: by 10.152.2.169 with SMTP id 9mr19598487lav.1.1432126975584; Wed, 20 May 2015 06:02:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.178.195 with SMTP id da3ls191626lac.43.gmail; Wed, 20 May 2015 06:02:55 -0700 (PDT) X-Received: by 10.112.200.230 with SMTP id jv6mr18750728lbc.21.1432126975475; Wed, 20 May 2015 06:02:55 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id b2si11140121lbd.52.2015.05.20.06.02.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 06:02:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by laat2 with SMTP id t2so72341856laa.1 for ; Wed, 20 May 2015 06:02:55 -0700 (PDT) X-Received: by 10.152.21.136 with SMTP id v8mr18063336lae.19.1432126975307; Wed, 20 May 2015 06:02:55 -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 hn6csp1515991lbb; Wed, 20 May 2015 06:02:54 -0700 (PDT) X-Received: by 10.52.143.233 with SMTP id sh9mr25104207vdb.26.1432126973780; Wed, 20 May 2015 06:02:53 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id er8si327336vdc.97.2015.05.20.06.02.52 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 May 2015 06:02:53 -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 1Yv3dL-00045g-Py; Wed, 20 May 2015 13:02:03 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yv3dK-00045Z-DL for xen-devel@lists.xenproject.org; Wed, 20 May 2015 13:02:02 +0000 Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id 4C/6B-02782-9C58C555; Wed, 20 May 2015 13:02:01 +0000 X-Env-Sender: julien.grall@citrix.com X-Msg-Ref: server-6.tower-206.messagelabs.com!1432126919!11535971!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 6.13.15; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6912 invoked from network); 20 May 2015 13:02:00 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 20 May 2015 13:02:00 -0000 X-IronPort-AV: E=Sophos;i="5.13,464,1427760000"; d="scan'208";a="266870168" From: Julien Grall To: Date: Wed, 20 May 2015 14:01:18 +0100 Message-ID: <1432126878-16252-1-git-send-email-julien.grall@citrix.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 X-DLP: MIA1 Cc: wei.liu2@citrix.com, Julien Grall , ian.jackson@eu.citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com Subject: [Xen-devel] [PATCH] tools/libx: Don't export libxl__arch_* to the library 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: , 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: patch@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.53 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: From: Julien Grall libxl__arch_* should only be used internally by libxl. Signed-off-by: Julien Grall --- tools/libxl/libxl_arch.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/libxl/libxl_arch.h b/tools/libxl/libxl_arch.h index 77b1f2a..d04871c 100644 --- a/tools/libxl/libxl_arch.h +++ b/tools/libxl/libxl_arch.h @@ -16,31 +16,37 @@ #define LIBXL_ARCH_H /* fill the arch specific configuration for the domain */ +_hidden int libxl__arch_domain_prepare_config(libxl__gc *gc, libxl_domain_config *d_config, xc_domain_configuration_t *xc_config); /* arch specific internal domain creation function */ +_hidden int libxl__arch_domain_create(libxl__gc *gc, libxl_domain_config *d_config, uint32_t domid); /* setup arch specific hardware description, i.e. DTB on ARM */ +_hidden int libxl__arch_domain_init_hw_description(libxl__gc *gc, libxl_domain_build_info *info, libxl__domain_build_state *state, struct xc_dom_image *dom); /* finalize arch specific hardware description. */ +_hidden int libxl__arch_domain_finalise_hw_description(libxl__gc *gc, libxl_domain_build_info *info, struct xc_dom_image *dom); /* build vNUMA vmemrange with arch specific information */ +_hidden int libxl__arch_vnuma_build_vmemrange(libxl__gc *gc, uint32_t domid, libxl_domain_build_info *b_info, libxl__domain_build_state *state); /* arch specific irq map function */ +_hidden int libxl__arch_domain_map_irq(libxl__gc *gc, uint32_t domid, int irq); #endif