From patchwork Fri Jun 30 17:01:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9820119 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2377E603F2 for ; Fri, 30 Jun 2017 17:03:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 100E8286B4 for ; Fri, 30 Jun 2017 17:03:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04DDE286BC; Fri, 30 Jun 2017 17:03:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD0A9286B4 for ; Fri, 30 Jun 2017 17:03:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQzIT-0002uP-Kd; Fri, 30 Jun 2017 17:01:33 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQzIS-0002sB-5P for xen-devel@lists.xenproject.org; Fri, 30 Jun 2017 17:01:32 +0000 Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id 29/F0-02181-BE386595; Fri, 30 Jun 2017 17:01:31 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRWlGSWpSXmKPExsXitHSDve7r5rB Igynt/Bbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8aXA7tZCxZxVpya9JS5gfE6WxcjJ4eEgL/E 0pZ57CA2m4CyxM/OXrC4iICeRNOB54wgNrNAnsTZ1YtYQWxhASOJr/eugdksAqoSl29eYQKxe QXMJdb+mwc1U15iV9tFsBpOAQuJSxumsYDYQkA1i6/uYYKwFSQ6ph+D6hWUODnzCQvELgmJgy 9eME9g5J2FJDULSWoBI9MqRo3i1KKy1CJdQwu9pKLM9IyS3MTMHF1DA2O93NTi4sT01JzEpGK 95PzcTYzA4KlnYGDcwfj7tOchRkkOJiVR3pXXQiOF+JLyUyozEosz4otKc1KLDzHKcHAoSfBm NIVFCgkWpaanVqRl5gDDGCYtwcGjJMLrVwuU5i0uSMwtzkyHSJ1i1OV4NeH/NyYhlrz8vFQpc V4tkBkCIEUZpXlwI2AxdYlRVkqYl5GBgUGIpyC1KDezBFX+FaM4B6OSMK8gyBSezLwSuE2vgI 5gAjpCeEYIyBEliQgpqQbG7B9OZR0pTCr1RyJ2xkfMSDWcbrruhNRh3wmR14xbVmn/XKOm3f5 0w4fYXcc4diy/bHm38oLwuubOJ1UCQRccapkuu2m19IukpvxyzzD5x7hK5IvqrqyGWbdzBZJY zCcKr/c8emhfwPxTJlvuXeRN8ZYW2dq+o+TkEiEhx4+9pUuzX/PFzFqmxFKckWioxVxUnAgAc JyiIKQCAAA= X-Env-Sender: prvs=347159f46=wei.liu2@citrix.com X-Msg-Ref: server-13.tower-31.messagelabs.com!1498842088!102764747!2 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 62270 invoked from network); 30 Jun 2017 17:01:30 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-13.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 30 Jun 2017 17:01:30 -0000 X-IronPort-AV: E=Sophos;i="5.40,287,1496102400"; d="scan'208";a="438494977" From: Wei Liu To: Xen-devel Date: Fri, 30 Jun 2017 18:01:11 +0100 Message-ID: <20170630170126.4148-4-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170630170126.4148-1-wei.liu2@citrix.com> References: <20170630170126.4148-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: Andrew Cooper , Wei Liu , Jan Beulich Subject: [Xen-devel] [PATCH 03/18] x86/debug.c: use plain bool X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Wei Liu --- xen/arch/x86/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/debug.c b/xen/arch/x86/debug.c index 2070077ec5..a5d85a92f9 100644 --- a/xen/arch/x86/debug.c +++ b/xen/arch/x86/debug.c @@ -156,7 +156,7 @@ dbg_pv_va2mfn(dbgva_t vaddr, struct domain *dp, uint64_t pgd3val) /* Returns: number of bytes remaining to be copied */ unsigned int dbg_rw_guest_mem(struct domain *dp, void * __user gaddr, void * __user buf, unsigned int len, - bool_t toaddr, uint64_t pgd3) + bool toaddr, uint64_t pgd3) { while ( len > 0 ) { @@ -207,7 +207,7 @@ unsigned int dbg_rw_guest_mem(struct domain *dp, void * __user gaddr, * Returns: number of bytes remaining to be copied. */ unsigned int dbg_rw_mem(void * __user addr, void * __user buf, - unsigned int len, domid_t domid, bool_t toaddr, + unsigned int len, domid_t domid, bool toaddr, uint64_t pgd3) { DBGP2("gmem:addr:%lx buf:%p len:$%u domid:%d toaddr:%x\n",