From patchwork Wed Mar 22 14:48:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 95726 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp224948obz; Wed, 22 Mar 2017 06:50:53 -0700 (PDT) X-Received: by 10.55.39.216 with SMTP id n207mr35654246qkn.315.1490190653062; Wed, 22 Mar 2017 06:50:53 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q7si1116155qtq.328.2017.03.22.06.50.52; Wed, 22 Mar 2017 06:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B5425609C2; Wed, 22 Mar 2017 13:50:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 9093B642C5; Wed, 22 Mar 2017 13:49:27 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 42F47642B5; Wed, 22 Mar 2017 13:49:19 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by lists.linaro.org (Postfix) with ESMTPS id CB71C642B0 for ; Wed, 22 Mar 2017 13:49:17 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id n11so37215943wma.1 for ; Wed, 22 Mar 2017 06:49:17 -0700 (PDT) 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=fJ9WtKkRT4+PoBCMMCw6g0Vn7SgAONzb25uo+63NISw=; b=YJVqBh6iTM2mvxBsPuQnZK8S0M8zBy4e3f7qwOapag0oKrz20woWpMQBFSXCTeq1Vr my8O3SxJjJA2WYh2IstYRa2JVC4D8mpd9EVnSv9fRhnMxztXbFhsbLZ7Otl28xaGADye 0ub0K+YRqqdLqYgXOzxGt5k1mDajgBzlZs3M+p4AUwVFL+sgbsEA0a1EuQ+vMWLGIVS1 jwsp/zE/kU1jD99qqXUu14vM9Eg7ULCTkVpT/9Circ+40yFSn8r0c6d4tI+9IOKqIbxx NoZP7iu3YinIJOvh/0sHZ+MEqrlAKQEWiT0AhHw7cn3Ybr46S++DEYthNTH6WUa95PCE 9rYg== X-Gm-Message-State: AFeK/H38e+YdbnK+tkmn/pNio8hKCInSiBtI6mUSEZLwLqE/BLBqbZxEu50vlkApgcXnjp6jF9k= X-Received: by 10.25.193.8 with SMTP id r8mr10265749lff.127.1490190555709; Wed, 22 Mar 2017 06:49:15 -0700 (PDT) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-76-66.cust.bredband2.com. [83.233.76.66]) by smtp.gmail.com with ESMTPSA id l23sm522305lfk.27.2017.03.22.06.49.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 06:49:15 -0700 (PDT) From: Christophe Milard To: yi.he@linaro.org, bill.fischofer@linaro.org, lng-odp@lists.linaro.org Date: Wed, 22 Mar 2017 15:48:09 +0100 Message-Id: <1490194110-40168-3-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490194110-40168-1-git-send-email-christophe.milard@linaro.org> References: <1490194110-40168-1-git-send-email-christophe.milard@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv2 02/23] linux-gen: adding compiler hints in the driver interface X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Just including the spec file from the linux-generic side, as usual. Signed-off-by: Christophe Milard --- include/odp_drv.h | 1 + platform/linux-generic/include/odp/drv/hints.h | 34 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 platform/linux-generic/include/odp/drv/hints.h -- 2.7.4 diff --git a/include/odp_drv.h b/include/odp_drv.h index 96d81ba..cdba226 100644 --- a/include/odp_drv.h +++ b/include/odp_drv.h @@ -24,6 +24,7 @@ extern C { #include #include #include +#include #include #include #include diff --git a/platform/linux-generic/include/odp/drv/hints.h b/platform/linux-generic/include/odp/drv/hints.h new file mode 100644 index 0000000..808c22c --- /dev/null +++ b/platform/linux-generic/include/odp/drv/hints.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODPDRV compiler hints + */ + +#ifndef ODPDRV_PLAT_HINTS_H_ +#define ODPDRV_PLAT_HINTS_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @ingroup odpdrv_compiler_optim + * @{ + */ + +/** + * @} + */ + +#include + +#ifdef __cplusplus +} +#endif + +#endif