From patchwork Fri Feb 12 15:10:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 61857 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp848609lbl; Fri, 12 Feb 2016 06:14:15 -0800 (PST) X-Received: by 10.140.252.197 with SMTP id x188mr2190772qhc.81.1455286455418; Fri, 12 Feb 2016 06:14:15 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d8si15965625qgd.69.2016.02.12.06.14.15; Fri, 12 Feb 2016 06:14:15 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id F191A66846; Fri, 12 Feb 2016 14:14:14 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=NnrAkRmk; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, 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 73DE46682B; Fri, 12 Feb 2016 14:11:47 +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 D970D66877; Fri, 12 Feb 2016 14:11:43 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by lists.linaro.org (Postfix) with ESMTPS id 81E636683D for ; Fri, 12 Feb 2016 14:11:15 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id m1so52614345lfg.0 for ; Fri, 12 Feb 2016 06:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hs83FzHQC9gNoEQlilkGoKhB3ZgZb7QFOl07g88T7O4=; b=NnrAkRmkkGs1l2fJb7F76ZxR6X+tSpwHM6wM3Dr0ZyAvOuc0ObhMAkx3i7kONna9Sd w+2Y1XiJexy79RV9/jcAyni4RtGZ3Q7ueWnVVPH6ylXGWzYrq4LZnj5r7AAbcWJINWWx RVkGoeBqF/k8jGeeAVEajt5UnCy2lFMwYNgag= 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=hs83FzHQC9gNoEQlilkGoKhB3ZgZb7QFOl07g88T7O4=; b=MpEdrmzZYj3ixwfQDAcKIgUXxQCnmJ+aJp5CogSKLGGFIxWdYLImCqVsfyksiVfXah V0LOCMGw/M0lxSCettl/8vmgs3xA6XdKszgJ/b1C34vs12ECk6snX/r6ZRXyWyIY+1qc Mn7bTXNWjEwQEcdqlkbPxoYNMSIAFc7VaXmh8aSowrh/OCnO5JOMItdDA1fvvvtO4y3K 5oZyBSWlLD2/aMKIrGGaBpv00Wc6HlTanaSmjxtj/G8ody0ycK1aggUjGgmcmtIcftxd GLXmygvjAiNwTX/U1rJscAqdA54JL1MUmSvHw+UtBfOSIGXjR5OINCWntkJ8pFAaD+kq uxkA== X-Gm-Message-State: AG10YORYL79Hatndz4nPiNJkPvquXru5dwMXx5YS4SNe1I9jywor93GSOMQusb2NRviyZ19Z9GQ= X-Received: by 10.25.148.76 with SMTP id w73mr631690lfd.31.1455286274413; Fri, 12 Feb 2016 06:11:14 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id rx3sm1876740lbb.35.2016.02.12.06.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:11:13 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org Date: Fri, 12 Feb 2016 16:10:04 +0100 Message-Id: <1455289804-1821-6-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455289804-1821-1-git-send-email-christophe.milard@linaro.org> References: <1455289804-1821-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH 5/5] linux-generic: drv: adding standard types 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Christophe Milard --- include/odp_drv.h | 2 ++ platform/linux-generic/include/odp/drv/std_types.h | 42 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 platform/linux-generic/include/odp/drv/std_types.h diff --git a/include/odp_drv.h b/include/odp_drv.h index b78fa9d..51fca7a 100644 --- a/include/odp_drv.h +++ b/include/odp_drv.h @@ -18,6 +18,8 @@ extern C { #endif +#include + #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/drv/std_types.h b/platform/linux-generic/include/odp/drv/std_types.h new file mode 100644 index 0000000..5b0815b --- /dev/null +++ b/platform/linux-generic/include/odp/drv/std_types.h @@ -0,0 +1,42 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * Standard C language types and definitions for ODP driver interface. + */ + +#ifndef ODPDRV_PLAT_STD_TYPES_H_ +#define ODPDRV_PLAT_STD_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include +#include +#include + +/** @addtogroup odpdrv_system ODPDRV SYSTEM + * @{ + */ + +typedef int odpdrv_bool_t; + +/** + * @} + */ + +#include + +#ifdef __cplusplus +} +#endif + +#endif