From patchwork Wed Feb 17 23:39:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 383937 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp3220652jao; Wed, 17 Feb 2021 15:47:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwX+gMhWIt9SPrbFqlSPHyKRF6/3Fdr2+UmmAK1P6KcRXtLjasSQNRy+hYV9vMH03h7NN9F X-Received: by 2002:a25:d64e:: with SMTP id n75mr2722764ybg.171.1613605636881; Wed, 17 Feb 2021 15:47:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613605636; cv=none; d=google.com; s=arc-20160816; b=bhpkfb8dMCxCCkjVK3sayiIev9S/0RBt5/LM0CbPwJtoPYmeiA0pbiUnnPN/2/gNCT ZeQVbkz+bz6dcgPsfNX51IuGA1c/2dA6dy9Qz0XNtEq7iuVdlC+6sO3RaEg/QdCUcK+9 5uEJNW8idQjS3Fzhbez+2OOjo9aUMu8cHq5zEwJ8uTL+R3Hb95VldoIpqfCyMbzLS7BU SbCL3AlrumIUXXyNplPibGmwovZMgQDeu9/7gOY4h6klTqpNaV9W1LNZOaz4XMurGMzF E/VeH3283bi77xBkvMxExj1+glYfaaxwv4EDjOej5IZv0K+UDoLhG5N0Iap7zdTfTBwr ZKPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=syEff87HhmL4pp5l8qJFx/wNBs45tn+PDuAIuUBTe6o=; b=zGpKK639zKdzkmYFkxMQCzzfn7nnaBST12xEt0o1XywoDn+z7723mAA3SN+HOj3u1r 81uZkVMOk+VJ4yhXNucQ4BE73VNxadjyT9uczdHVGsRkldDfnVVzElaDDypCdenp9O0N m9gH+OBtduGOro2bWSqSvuFwYTxsJUAYeRvjGerG/lWfs1sB6G53zb/3DvvwJ9TVSr0T PbNkemNqZR+tCBlHs+ehVbS5K/L4SwjyVSuJilaUFYq3Z5RANp+K4g7dBuy8vlkFgHad scE/xgoiYwzK+uG/2UYaPtCQBrN4tbx7lojJxrk/SnSxXFvZiaAd2Ymk93lmv8SwaaGy n1Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wVf25Jmo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k16si3600020ybp.314.2021.02.17.15.47.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Feb 2021 15:47:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wVf25Jmo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCWXM-0006dO-55 for patch@linaro.org; Wed, 17 Feb 2021 18:47:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCWRB-0008HF-MW for qemu-devel@nongnu.org; Wed, 17 Feb 2021 18:40:53 -0500 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:42136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCWR9-0004dQ-5c for qemu-devel@nongnu.org; Wed, 17 Feb 2021 18:40:53 -0500 Received: by mail-pf1-x42a.google.com with SMTP id w18so23604pfu.9 for ; Wed, 17 Feb 2021 15:40:50 -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 :mime-version:content-transfer-encoding; bh=syEff87HhmL4pp5l8qJFx/wNBs45tn+PDuAIuUBTe6o=; b=wVf25JmoVmwPwxn2dbzD53J63oqAeHHh1HjMCoM2wOTomO5v9e0npCxFvtGqbet/vg 8FepejFrfpD6rSajKOCDchLI56yQTZlnqIHJkb435N4inXclmlYSm1qqvCqyl0AVW+7M ZfE8drTY93SVQJQwAzgwMltNrxpWSnXKl6pr/3zy59fnUUUUsFnbtUQYUhArtPyGuqeJ V3PUxO59KlQbFboVD7+oy+m0dFi/cabngjdSHvRIW9GxbXKL4uqkHosnPhruFhK8+nfU 0j2Oc1HayuBU22L5VgGvvZjR50coJMwOjsFUmchufSWz6Ycw1QAqBy3K1nNjOVSaYZWF qrgg== 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:mime-version:content-transfer-encoding; bh=syEff87HhmL4pp5l8qJFx/wNBs45tn+PDuAIuUBTe6o=; b=oMzw2j9gUaBOdB/nNMDSdyJ3onS+9jkgoqvMLu2XfftMPjAfGtNPn24x5bDGAdtM+T R1hV8ze+i6u3TigfKDeoiE9hkFCxw3WMoW3D21XQeJtarV22/MON7V4fRiTgqd68lLSj FHzuUwXu83mRmjttNS1hUu7D6yw1OZ1MXi7NxJ8gUl7cUzCPSNSKQWmq8z+g6156dlnO yqeKFEcdleVFNLsi1wwEWlPiRX9+hQjA4PmS98Sgono2hyhRf/+LjlMav4qJSvZVM0gX Yf588prCGu8/lV95d5vzNNdIsd1SbLYqemfHKPTzMd2RQtoR2Ky3EY7cphjAb5rJefm8 RR1w== X-Gm-Message-State: AOAM532cDxG8tLRiIwzF6D3hbgZKLh3pr9bzjITaJdTLamP5bKvy6Pjh x3/vaauxnC75QszOEtqiybHW25jXDSluEQ== X-Received: by 2002:a62:bd05:0:b029:1ab:6d2:5edf with SMTP id a5-20020a62bd050000b02901ab06d25edfmr1467574pff.32.1613605249782; Wed, 17 Feb 2021 15:40:49 -0800 (PST) Received: from localhost.localdomain (047-051-160-125.biz.spectrum.com. [47.51.160.125]) by smtp.gmail.com with ESMTPSA id c21sm3950355pgh.0.2021.02.17.15.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 15:40:49 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 10/35] Hexagon (target/hexagon) architecture types Date: Wed, 17 Feb 2021 15:39:58 -0800 Message-Id: <20210217234023.1742406-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210217234023.1742406-1-richard.henderson@linaro.org> References: <20210217234023.1742406-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Taylor Simpson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Taylor Simpson Define types used in files imported from the Hexagon architecture library Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <1612763186-18161-10-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/hex_arch_types.h | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 target/hexagon/hex_arch_types.h -- 2.25.1 diff --git a/target/hexagon/hex_arch_types.h b/target/hexagon/hex_arch_types.h new file mode 100644 index 0000000000..d721e1f934 --- /dev/null +++ b/target/hexagon/hex_arch_types.h @@ -0,0 +1,38 @@ +/* + * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#ifndef HEXAGON_ARCH_TYPES_H +#define HEXAGON_ARCH_TYPES_H + +#include "qemu/osdep.h" +#include "qemu/int128.h" + +/* + * These types are used by the code imported from the Hexagon + * architecture library. + */ +typedef uint8_t size1u_t; +typedef int8_t size1s_t; +typedef uint16_t size2u_t; +typedef int16_t size2s_t; +typedef uint32_t size4u_t; +typedef int32_t size4s_t; +typedef uint64_t size8u_t; +typedef int64_t size8s_t; +typedef Int128 size16s_t; + +#endif