From patchwork Fri Feb 12 15:10:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 61858 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp848928lbl; Fri, 12 Feb 2016 06:14:48 -0800 (PST) X-Received: by 10.140.132.149 with SMTP id 143mr2136485qhe.7.1455286487935; Fri, 12 Feb 2016 06:14:47 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c205si15905835qhc.97.2016.02.12.06.14.47; Fri, 12 Feb 2016 06:14:47 -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 6B16466847; Fri, 12 Feb 2016 14:14:47 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=WjMxtDUH; 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 8AE5766879; Fri, 12 Feb 2016 14:11:53 +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 34B776682B; Fri, 12 Feb 2016 14:11:47 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id 907AF6682B for ; Fri, 12 Feb 2016 14:11:14 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id 78so52347699lfy.3 for ; Fri, 12 Feb 2016 06:11:14 -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=YMlwYUkub07ls3CYcthIqInI0qXeg2C+xJPcCNgY3q0=; b=WjMxtDUHki/nVeVUkCjMp0RqNAz/x9uJCH6Y1Jml8TIo37H8UZJ7/Gc72pp1G2h/sF uBT+RJDWCtLpxtVJ8OZswbDWbPZmo95HxKb3UMd6h1x9s/anuj2HmnOa9Ljh6rswM3AN CNrNvG5UfMVLSD7KiacOCsKNVFMph8fXslSEE= 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=YMlwYUkub07ls3CYcthIqInI0qXeg2C+xJPcCNgY3q0=; b=ZnslBuLd3+7D+dllU3teC2HOxJ9Qv6cbbjGiQHdoAsgOzgDalFT18IpvOn5B+Dh2OC pcYC2X57+l1pYbNFyCsqE5B+MBkqXe9NWdzvlyfqYk8ZisBVACqsT94eMa+a+DwOxX+6 ypjBfifHS9AZrd8Up/kkzNa16R/fkES7DoOYfjdqTM0R76Jexsc1qvObAkYHYfSEQ+lw cSKq1V46hpJG6nVDGY3TzD5WewmybR4gLmMrxbO7/LxjS8f9330FE9O/dkzfRkt7N9HK 6Ba0H0IqZF2jpIQbvz56VJJrRBGdg8iRn+QqwIyXcrrMTjdVfPUjViKLg60K+V6BW65y Cx/g== X-Gm-Message-State: AG10YORvfrJQtDxVNfdP0EJ8cH14sssaNc4tasXiVf4nrTBe2pPDwmbGKdqDxnIhJSupaxKFc0E= X-Received: by 10.25.148.208 with SMTP id w199mr769526lfd.124.1455286273379; Fri, 12 Feb 2016 06:11:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:11:12 -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:03 +0100 Message-Id: <1455289804-1821-5-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 4/5] 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" Adding standard types to the ODP driver interface (drv). Signed-off-by: Christophe Milard --- include/odp/drv/spec/std_types.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 include/odp/drv/spec/std_types.h diff --git a/include/odp/drv/spec/std_types.h b/include/odp/drv/spec/std_types.h new file mode 100644 index 0000000..904a385 --- /dev/null +++ b/include/odp/drv/spec/std_types.h @@ -0,0 +1,40 @@ +/* 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_STD_TYPES_H_ +#define ODPDRV_STD_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odpdrv_system ODPDRV SYSTEM + * @{ + */ + +/** + * @typedef odpdrv_bool_t + * Use odpdrv boolean type to have it well-defined and known size, + * regardless which compiler is used as this facilities interoperability + * between e.g. different compilers. + */ + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif