From patchwork Tue Oct 21 17:52:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 39213 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5B2692039B for ; Tue, 21 Oct 2014 17:53:08 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id w7sf1059870lbi.6 for ; Tue, 21 Oct 2014 10:53:05 -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:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=7ISaSz3rvUTFk4BwPPHBHPB/+tgAr+Js9Bd+IncHfkg=; b=EnLqthL+ZIRvtI5H5XwmR4/NFmXaj/s9nXdBk56U6waMumtUHFFVBdmf9xTD8ljRW+ 3TLn1lc0y8H5wgwMmzXdybxSxiYGSLaeokyOr+LLxuFshbAhWJubL9K8XAQ9m81sUvRr y1FRWlixbjX1HifgqBY8VkGDGGM6v896M5y8bSAOgjZNKFQMG5XkgDWnClV/rnVp1gEv dw4gFP51OoG84whpzCGEMo8+Ok2YZdjVMSb3tKOS7XAJjUqktqzuNxDGvuks1LEySnKv NA6XGPGhGVhVgUIYl+oh6e49ofcsv8u8xMR52AKCekUoklLd8vRq2XBLu7Iv7/ZaSDSr sBlQ== X-Gm-Message-State: ALoCoQkgNEXwhZ5YIG9KhLjU+6yKGVZk5bWFVemEPde+ahyIy7Muf7uTqxLv6xeHgmU8QrEdPd7y X-Received: by 10.194.241.232 with SMTP id wl8mr645673wjc.5.1413913985837; Tue, 21 Oct 2014 10:53:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.67 with SMTP id 3ls83132las.63.gmail; Tue, 21 Oct 2014 10:53:05 -0700 (PDT) X-Received: by 10.152.88.70 with SMTP id be6mr36707666lab.72.1413913985523; Tue, 21 Oct 2014 10:53:05 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id b11si20063868lbq.121.2014.10.21.10.53.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 10:53:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id b6so1473635lbj.3 for ; Tue, 21 Oct 2014 10:53:05 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr35981468laz.27.1413913985357; Tue, 21 Oct 2014 10:53:05 -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.84.229 with SMTP id c5csp551819lbz; Tue, 21 Oct 2014 10:53:04 -0700 (PDT) X-Received: by 10.224.160.83 with SMTP id m19mr48255820qax.17.1413913984109; Tue, 21 Oct 2014 10:53:04 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id e5si10758299qaf.36.2014.10.21.10.53.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 21 Oct 2014 10:53:02 -0700 (PDT) Received-SPF: temperror (google.com: error in processing during lookup of lng-odp-bounces@lists.linaro.org: DNS timeout) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XgdcB-00082K-Tt; Tue, 21 Oct 2014 17:52:59 +0000 Received: from mail-qg0-f53.google.com ([209.85.192.53]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xgdc4-00082F-TP for lng-odp@lists.linaro.org; Tue, 21 Oct 2014 17:52:52 +0000 Received: by mail-qg0-f53.google.com with SMTP id q107so1213495qgd.26 for ; Tue, 21 Oct 2014 10:52:40 -0700 (PDT) X-Received: by 10.224.164.204 with SMTP id f12mr47001433qay.60.1413913959688; Tue, 21 Oct 2014 10:52:39 -0700 (PDT) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id a97sm11255773qge.13.2014.10.21.10.52.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Oct 2014 10:52:39 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 21 Oct 2014 13:52:23 -0400 Message-Id: <1413913943-40964-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] odp_init.c: Add initial unimplemented term functionality X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@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.217.172 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 Initially implement the termination functions as ODP_UNIMPLEMENTED so that the unit test cases can call them without a change in behaviour. Signed-off-by: Mike Holmes --- platform/linux-generic/odp_init.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index c97c5aa..672b3d6 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -7,6 +7,7 @@ #include #include #include +#include int odp_init_global(odp_init_t *params ODP_UNUSED, @@ -57,6 +58,11 @@ int odp_init_global(odp_init_t *params ODP_UNUSED, return 0; } +int odp_term_global(void) +{ + ODP_UNIMPLEMENTED(); + return 0; +} int odp_init_local(void) { @@ -77,3 +83,9 @@ int odp_init_local(void) return 0; } + +int odp_term_local(void) +{ + ODP_UNIMPLEMENTED(); + return 0; +}