From nobody Mon Feb 9 04:45:20 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1579670096; cv=none; d=zohomail.com; s=zohoarc; b=G2mkBdF0MC97nOQ/ltccauqsqoHRAOIKnLohQkkTelkFYjeH61Gd5MAu/a0VQyyShvwD0mBftY0VWulKp1AO6ol44ETlMgShCvU8m9AoMExBqLA3RVDxJUNNaJRapNUNCcUWR3Qq0MmILRFWhjsJy2AUExObsyIzI6CVQ6JcWTc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579670096; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YP+ZvNUGrpmLrodD7861+AV6DHydZyxfvZJAevxVeS8=; b=igLPVrp1wIavIgzhuD/X8I4PQRzRV5fg8t8WgTbDXX51k5Oh0gHS7p71HyQn/XR858eVLLxhb/9I/G1HtKHY4iV46h3qCxnyNZxYkCwXqLnPcrP/e72e2CrRBaU35G03wkgdXAyWy79tZxhxF3ImEh2Uc1jncaSCpbdZO158uBU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1579670096505711.7161686516321; Tue, 21 Jan 2020 21:14:56 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iu8LB-00059k-4j; Wed, 22 Jan 2020 05:14:09 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iu5L7-0006As-6X for xen-devel@lists.xenproject.org; Wed, 22 Jan 2020 02:01:53 +0000 Received: from mail-yw1-xc42.google.com (unknown [2607:f8b0:4864:20::c42]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 08a21da4-3cbb-11ea-9fd7-bc764e2007e4; Wed, 22 Jan 2020 02:00:59 +0000 (UTC) Received: by mail-yw1-xc42.google.com with SMTP id u139so2474936ywf.13 for ; Tue, 21 Jan 2020 18:00:59 -0800 (PST) Received: from bobbye-pc.knology.net ([216.186.244.35]) by smtp.gmail.com with ESMTPSA id q185sm17504248ywh.61.2020.01.21.18.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 18:00:57 -0800 (PST) X-Inumbo-ID: 08a21da4-3cbb-11ea-9fd7-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lQW8WpM6nDg7eCGRrRQSBBTg+fii2UtRhhnRM6FRLVo=; b=GeetlQ3zdtUVcYllXYR/Gk6iwJG5F++cuGCrqOrRTNef6RaitnnXSEzHV68prG8fVo qoZWPB7fbFThT87VtRNGc3CKJ1rcaasd2puLM9E1NHap87Wd3BlSAaZPjQ45cpvhyZUM xurnGQg73Jn2lsfN10BcaZPOuAuCH7CprLtRU9f2SXBZWrMqolE6264AHPVAKVaJNpyF g5mqVYoaOHmhY5USmbT1fHpTivnW8WmwI3OUjQkYgwQvYsl1CS1kltcscqrs6cTm0IHf enpWIPcue7C63n7yP6qAhA3s9qx3mmkg3tmUQZPIFV/9hisJAsgjcqs4TI+BiW5TSrh5 W5Lw== 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=lQW8WpM6nDg7eCGRrRQSBBTg+fii2UtRhhnRM6FRLVo=; b=mKnS0nMFeiCOijLwmofCdXH7wrGtapjjRTibxHGBSAGR6rCP+gYuFDHTDhIDKPo0Im 6lwk09u/v5XXnU7D40tGNN6LiBvO/kQxFPuX+DxTDRJmKWY5Ek7OGoq8BfYbyPjhCJJT Elh3pxuA19aiMZUH5anDVpsq1lUGaiKjPh2sW91eUC/n5RyESpqTM37xkABS7ZCD4QR3 Xs9JCsfzElaisPsA5EUsBSaQpc1tvmvMarcvVu79vZkGBrJsDxAmlp8EJW+9fiso+rAo SKWMaMtm/aH9mDSqrRnptrGpK1vOgTpUdyLCyV5EcUx+bD1QUtmBSKwp0EdL8+xA+34V zxpQ== X-Gm-Message-State: APjAAAUyVxqQS/lppwY/ad8pjq6lOx2tmGgYXe4DBnUmEBzdxYHKMgPc fkry0mqZdM/yWJbbyHHCNtyUGWYf1Ch1uA== X-Google-Smtp-Source: APXvYqwkutGnfWpAoGl7+5WrmAsm3Q07wcNCyN0geOzPttU+UScZTpzVi09FdPcxFHHFtUCMN++zng== X-Received: by 2002:a81:6c92:: with SMTP id h140mr5613269ywc.246.1579658458339; Tue, 21 Jan 2020 18:00:58 -0800 (PST) From: Bobby Eshleman To: xen-devel@lists.xenproject.org Date: Tue, 21 Jan 2020 19:58:56 -0600 Message-Id: <71c1fc0cb432e13dd1ec739c3350efafe67e5591.1579615303.git.bobbyeshleman@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: References: MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 22 Jan 2020 05:14:01 +0000 Subject: [Xen-devel] [RFC XEN PATCH 17/23] riscv: Add vm_event.c X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Bobby Eshleman , Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Bobby Eshleman , Dan Robertson , Alistair Francis Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Alistair Francis Signed-off-by: Alistair Francis --- xen/arch/riscv/vm_event.c | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 xen/arch/riscv/vm_event.c diff --git a/xen/arch/riscv/vm_event.c b/xen/arch/riscv/vm_event.c new file mode 100644 index 0000000000..b0d3b9ccbd --- /dev/null +++ b/xen/arch/riscv/vm_event.c @@ -0,0 +1,42 @@ +/* + * Architecture-specific vm_event handling routines + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License v2 as published by the Free Software Foundation. + * + * 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 . + */ + +#include +#include + +void vm_event_fill_regs(vm_event_request_t *req) +{ + /* TODO */ +} + +void vm_event_set_registers(struct vcpu *v, vm_event_response_t *rsp) +{ + /* TODO */ +} + +void vm_event_monitor_next_interrupt(struct vcpu *v) +{ + /* Not supported on ARM. */ +} + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.25.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel