From patchwork Thu Oct 15 04:25:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 317754 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp122824ilm; Wed, 14 Oct 2020 21:26:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+vVEDEAhfSXG+6DsmvCwlkGojNtGIRPcVTMp8IXxQfhjwHrkDiV1vMmJDt5Fvrsq89igE X-Received: by 2002:a50:8fa3:: with SMTP id y32mr2474391edy.78.1602735979604; Wed, 14 Oct 2020 21:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602735979; cv=none; d=google.com; s=arc-20160816; b=F2QaUUbbMYFZwncvyii3GAfJOEWHJ3i4CQ5h8ZY6bhXexPLhRPnbO6JQTOcuBmC2mG 1TQ7tQFJlhvQw8akORxlyr9tINRml9dYEEtJOjg8vS466UES2NBegQq0GS57e+EKri6A /5ulH/5PtEgkAduubm3iY/3Ze8df5JzvcYnODZr2WgzHbUnXPyK/yLoybh7MfgYmTtwq JD/6C6p+boBZ01ENu2oh80WBiVWOsC9q6NMX5aeKWXOHHwoNFKkTXKtEiWgPjnc7WLKo qFWiMp+QVZO8aTzHEEiA4i795NUzPznjUcedOorIQBBc96kswF12JWEOBZ2Fz8d6ffuT XZIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=+woduzzEJxbTl/zLgO3juCiCTY6WHwko9iK83upDIbw=; b=FW/BXcTazjJ6x++mRJvV/Gw3l5RIoDZEgDi5bcj6YqhW7LNtfpY4kEq0K9N0etzjv7 xiCH6ZeLXuzMkNdql9loYvJ6jlk8LWG5pr9n73zO+nSTSF+n1gQmgI9Pti7q2Emnvpyd KLRASClmqfeOX4pS8RGAoZWRGgwsTsSEXX/ziZpW3lQnMpPMvXtueas0LgHT2QNcdPhq OZrwQnusI3LKqStXoi1ho/QA0nzZR0NJ1Vp31rD+V44yAK7jqe7lkl6Wico9UdvzjJRu k1F8UH+dbpQ+8a1LEnrqKn+eAEU66wTvekbz7TEWPM3vwF+3Af3ZXDHrA9TaMohafzsM I1Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tPrQqmLc; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id y22si1485482ejc.181.2020.10.14.21.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 21:26:19 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tPrQqmLc; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D7F83823C4; Thu, 15 Oct 2020 06:25:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="tPrQqmLc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA84F823CC; Thu, 15 Oct 2020 06:25:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 473BE82300 for ; Thu, 15 Oct 2020 06:25:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1041.google.com with SMTP id j8so1129851pjy.5 for ; Wed, 14 Oct 2020 21:25:50 -0700 (PDT) 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=+woduzzEJxbTl/zLgO3juCiCTY6WHwko9iK83upDIbw=; b=tPrQqmLcpECf8q3J/Rtb8aDsgpd2IzoqxEgJU+YkEHl+J0PnEt/GFDvop3jbqQ5sxa 6zAvnx9i1A8OE+M7mY/KwDubQ9dxYK5/NgusM5sS955/kn6tjLo4pNSKc/W6AnXwtTxb Cq8JZQY/cv/fRNUflqdKv5uBeOB6YruKs2hFlhsHYPrlV137wILVRoiByuhpq55KSq34 IpxKRr4XAZyEECwxBr/AB5vn3G17047bA+8IatgXad9QY3bB5RMkwy14cesvs/qCwkJG RpI+X7MFyHh67uI0ynLYMtQybnJaOV3d9h1VyaW6c1qXvD2r2Iil3Tky3SMIm8KlHGXa sLtA== 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=+woduzzEJxbTl/zLgO3juCiCTY6WHwko9iK83upDIbw=; b=UpZexCi7t3G/Okr35hYrOzezJr9RBj6Bggvv9nbfd5Q/mrBMC6+C5r1lj2J018OuGh guDFAwweR4SsGcxKT5IXLmRG8SZjTwMPzwRzzVKfhukAocdkJK9xN5wigA+ASKeDiTTz tBaBlysfsTjpUmvhVSiN+EKN5kV3HQfspdIaOt8dis/2FAoMD+NavOTOjm/hr1ArCuKI bg90vFFP26dI8zkCZo3P0iGrzKQUZea1BPaJUzECfsJuK7c8uJWq7lo0FEASYUC+toKp 2J+ZDZ6q/75bRUs8pbZ+ZlcYelf7Cd9D5g6xiDb80mgvKXtTiipbvl+2sbA38tvd2ZYO TJnA== X-Gm-Message-State: AOAM531ODmocpFYh46WnwWrBXKVMvCeOuihyce6cxVEaV1sr1XTsbibE +nUVutkm8Cegx5+YbPGXWWkSEg== X-Received: by 2002:a17:90a:a505:: with SMTP id a5mr2410789pjq.76.1602735948888; Wed, 14 Oct 2020 21:25:48 -0700 (PDT) Received: from localhost.localdomain (p784a66b9.tkyea130.ap.so-net.ne.jp. [120.74.102.185]) by smtp.gmail.com with ESMTPSA id w17sm1306489pga.16.2020.10.14.21.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 21:25:48 -0700 (PDT) From: AKASHI Takahiro To: anastasiia_lukianenko@epam.com, oleksandr_andrushchenko@epam.com Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH 3/4] xen: add definitions for console_io Date: Thu, 15 Oct 2020 13:25:15 +0900 Message-Id: <20201015042516.41197-4-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201015042516.41197-1-takahiro.akashi@linaro.org> References: <20201015042516.41197-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Those definitions added are used with HYPERVISOR_console_io(). Signed-off-by: AKASHI Takahiro --- include/xen/interface/xen.h | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.28.0 Reviewed-by: Peng Fan diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index eec8ab75b9ce..a7c8ed781b34 100644 --- a/include/xen/interface/xen.h +++ b/include/xen/interface/xen.h @@ -76,6 +76,12 @@ #define __HYPERVISOR_arch_6 54 #define __HYPERVISOR_arch_7 55 +/* + * Commands to HYPERVISOR_console_io(). + */ +#define CONSOLEIO_write 0 +#define CONSOLEIO_read 1 + #ifndef __ASSEMBLY__ typedef u16 domid_t;