From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 85FD87803CE for ; Thu, 28 Dec 2023 02:48:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=QFUEm5qxEKhm10FbmLO0vBA2/FXu0IY4I0T/Iz569To=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:In-Reply-To:References:MIME-Version:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1703731680; v=1; b=XzBjMRm6cHxedSi6UFf4P09Hq/6oH5cZHgad9xxK9aqkaJZorVxhpa9826cZ6ef+TwF3Wlbq o7jrnn6gr/3mzkTyca2Cmo/o/9Qp5e8dVDjC7qf/TLPzseePr3RFabnRyp4hCMzdbutah21fCaw 5PnpH0hVSkup8egUveqzHuVk= X-Received: by 127.0.0.2 with SMTP id EkGeYY7687511xq1Lqjq8Tnb; Wed, 27 Dec 2023 18:48:00 -0800 X-Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.232.28.96]) by mx.groups.io with SMTP id smtpd.web10.116544.1703731678374988691 for ; Wed, 27 Dec 2023 18:47:59 -0800 X-Received: from wangyang$bosc.ac.cn ( [123.114.53.210] ) by ajax-webmail-mail (Coremail) ; Thu, 28 Dec 2023 10:47:52 +0800 (GMT+08:00) X-Originating-IP: [123.114.53.210] Date: Thu, 28 Dec 2023 10:47:52 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?546L5rSL?= To: devel@edk2.groups.io, andrei.warkentin@intel.com Cc: "sunilvl@ventanamicro.com" , "Gao, Liming" , "Kinney, Michael D" , "Liu, Zhiguang" Subject: Re: [edk2-devel] [Resend PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform X-Priority: 3 In-Reply-To: References: <7ba1f115.42.18c9edddfd2.Coremail.wangyang@bosc.ac.cn> MIME-Version: 1.0 Message-ID: <49fd0178.44.18cae523420.Coremail.wangyang@bosc.ac.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwC3ntjY4YxlMSxfAA--.1315W X-CM-SenderInfo: 5zdqw5hdqjquxrvfhtffof0/1tbiAQAAE2WMID0GCwABsq X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,wangyang@bosc.ac.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: CLotwkk82GR0WObF5W7LaTjdx7686176AA= Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=XzBjMRm6; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io SGkgQW5kcmVpIFdhcmtlbnRpbjoKICAgICAgICAgVGhhbmsgeW91IHZlcnkgbXVjaCBmb3IgeW91 ciBhdHRlbnRpb27vvIEKCj4gLS0tLS3ljp/lp4vpgq7ku7YtLS0tLQo+IOWPkeS7tuS6ujogIkFu ZHJlaSBXYXJrZW50aW4iIDxhbmRyZWkud2Fya2VudGluQGludGVsLmNvbT4KPiDlj5HpgIHml7bp l7Q6IDIwMjMtMTItMjcgMDU6MTI6MDcgKOaYn+acn+S4iSkKPiDmlLbku7bkuro6IOeOi+a0iyA8 d2FuZ3lhbmdAYm9zYy5hYy5jbj4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