From nobody Mon May 13 21:15:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+97777+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97777+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1672206367; cv=none; d=zohomail.com; s=zohoarc; b=U6dqCveNRrtVzWtnzqhpZwVp9fJ3mHyZyAVmdjdOCBfmYnLmnt7lRy52NAjnwxjXjIzNVBzu/86SQ/LGmZ0BfWv0/PuQXG7C+qozEQVGy1bxplTbDrD/5gfG8XYEGBQk05alVS7Kc+m7IXmhtRms6T8IVkNKMJLgAZ9lO/fU/NI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672206367; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=MF1eUInnwF9nbROwWuVD6eSI1i2V5mWcKs8WwJvvW2A=; b=m+74u85jv6eU5urGqLm5GMKVp2VuPj1jr02B33B2hrdPHYBf5J9huspSAjhnUDdtrt4MjtiFDBqN53StZBvJ5upybENKz5UWJ6ajnn3yCV1POwjtjbnbyKwDFxcrPiFLaVHBzf7BhBqn1mZIX3xuQZbTq7JQgx2eg/qrIyKLo9w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97777+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1672206366977912.9425379034789; Tue, 27 Dec 2022 21:46:06 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id TUeOYY1788612xYLIbqn3f8E; Tue, 27 Dec 2022 21:46:05 -0800 X-Received: from zg8tmja2lje4os4yms4ymjma.icoremail.net (zg8tmja2lje4os4yms4ymjma.icoremail.net [206.189.21.223]) by mx.groups.io with SMTP id smtpd.web10.175190.1672206364262224201 for ; Tue, 27 Dec 2022 21:46:04 -0800 X-Received: from localhost.localdomain (unknown [10.12.130.38]) by app1 (Coremail) with SMTP id EwgMCgCX01AY2KtjD58AAA--.3699S5; Wed, 28 Dec 2022 13:46:01 +0800 (CST) From: "Dongdong Zhang" To: devel@edk2.groups.io Cc: zhuwenjun@eswincomputing.com, zhengyu@eswincomputing.com, jinyanjiang@eswincomputing.com, Dongdong Zhang Subject: [edk2-devel] [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error Date: Wed, 28 Dec 2022 13:45:50 +0800 Message-Id: <20221228054550.6530-2-zhangdongdong@eswincomputing.com> In-Reply-To: <20221228054550.6530-1-zhangdongdong@eswincomputing.com> References: <20221228054550.6530-1-zhangdongdong@eswincomputing.com> X-CM-TRANSID: EwgMCgCX01AY2KtjD58AAA--.3699S5 X-Coremail-Antispam: 1UD129KBjvJXoWxGry7Zw4DuFWDCF43JFWDJwb_yoW5WFyfpF 1agw4xAryDGr4Iv348J3W8Xr4UCrnYkF15Crn8tw1UC3s8Wr1qqry7Kan5Crn7Cw1kJw4j qFWYkws8Za98uaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUBF14x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2048vs2IY020E87I2jVAFwI0_Jr4l82xGYIkIc2 x26xkF7I0E14v26r1Y6r1xM28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0 Y4vE2Ix0cI8IcVAFwI0_tr0E3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j6F4UJw A2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS 0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2 IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0 Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY02Avz4vE-syl42xK82IYc2 Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s02 6x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0x vE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x kF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x0JUHHq7UUUUU= X-CM-SenderInfo: x2kd0wpgrqwvxrqjqvxvzl0uprps33xlqjhudrp/1tbiAgEOCmOrPIEfpQAAsI Precedence: Bulk List-Unsubscribe: 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,zhangdongdong@eswincomputing.com X-Gm-Message-State: FqdTlkeovP752SJoMvOOkt4xx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1672206365; bh=iqmkqAi0i3tzIn0wpWwCVjIguq07SM0lWa1sLzjy2fI=; h=Cc:Date:From:Reply-To:Subject:To; b=hP1uvIu9muHCj1A5M7vBJ33t2+m0L9/vGXHwYodyZJibN71FZBPmsR6042dWF7x0Rgn jLzYocUDXKhvPbHJdrt2beh9soRWLctYJFB1fcU5ZxE7qgYviAw5l47xGmIizgXp0KZuU hIjF705XfM2l8o17/ZU3zxSdhN2rT/rE7aI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1672206369152000003 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Edk2OpensbiPlatformWrapperLib Library and RiscVSpecialPlatformLib Library mark the serial number in the figure is opposite to the text description, fix it and adjust the text order. Signed-off-by: Dongdong Zhang Acked-by: Abner Chang Reviewed-by: Sunil V L --- Platform/RISC-V/PlatformPkg/Readme.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Platform/RISC-V/PlatformPkg/Readme.md b/Platform/RISC-V/Platfo= rmPkg/Readme.md index 5a344a8..d7166ba 100644 --- a/Platform/RISC-V/PlatformPkg/Readme.md +++ b/Platform/RISC-V/PlatformPkg/Readme.md @@ -35,19 +35,21 @@ are from OpenSBI project. edk2 libraries are introduced= as the wrapper libraries [Indicated as #2 in the figure](#risc-v-edk2-port-design-diagrams) > ***OpenSbiPlatformLib*** provides the generic RISC-V platform initializa= tion code. Platform vendor can just utilize this library if they don't have= additional requirements on the platform initialization. =20 -##### RiscVSpecialPlatformLib Library -[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams) -> The major use case of this library is to facilitate the interfaces for p= latform vendors to provide the special -platform initialization based on the generic platform initialization libra= ry. - ##### Edk2OpensbiPlatformWrapperLib Library -[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams) + +[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams) > In order to providing the flexibility to edk2 RISC-V firmware solution, = ***Edk2OpensbiPlatformWrapperLib*** is the wrapper library of [OpenSbiPlatf= ormLib](#OpenSbiPlatformLib-library) to provide the interfaces for OEM. The= ***platform_ops_address***in the generic platform structure is replaced wi= th ***Edk2OpensbiplatformOps*** in SEC module. The platform function invoked by OpenSBI core is hooked to ***Edk2= OpensbiPlatformWrapperLib***. This gives a change to OEM for implementing platform-specific initialization before a= nd after the generic platform code. OEM can override this library under their platform folder on demand without to= uching ***RiscVOpensbiLib*** library source files and other common source files. =20 +##### RiscVSpecialPlatformLib Library + +[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams) +> The major use case of this library is to facilitate the interfaces for p= latform vendors to provide the special +platform initialization based on the generic platform initialization libra= ry. + ##### Next Phase Address and Privilege Mode [Indicated as #5 in the figure](#risc-v-edk2-port-design-diagrams) > Once OpenSBI finishes the boot initialization, it will jump to the next = phase with the default privilege set to --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#97777): https://edk2.groups.io/g/devel/message/97777 Mute This Topic: https://groups.io/mt/95916024/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-