From nobody Mon Feb 9 23:16:02 2026 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+93402+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+93402+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1662550618; cv=none; d=zohomail.com; s=zohoarc; b=Idg43Bq0fLP0mcVNNbJeDdsj1um+P+YNGjMK+NiHetQmzI+cicd/r+yBWuZzmkAVEOZJ12viSKyr8gy8iJJks5dE9sELPd8m5srDXnsedL/HTmwpbqLMjRvBuff9+OCBHIxXjYi1n5dICuNUqEjPjpqOd5On+MCc+/l4go5Q1yg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662550618; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=0gMuOtKtVydHWi6it73V0F8arHeEOXk8+rdc1+BFXxI=; b=adwLB+6184xSTXo30bXkWPmQyvMb0GXMEZRTBSHf34T4uyWKTCV00ITUf1m+EDdF+naY0oFrLpPu1ugHD3m+Kxs4oKF53lbNrXlf0UL/e6FVoHdTC3jZJn22GXY0S8Ih9x/O5AJl84EWO4LN4B5EZD2+5CtTY2B2JOC295vDU44= 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+93402+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1662550618425564.9962235484294; Wed, 7 Sep 2022 04:36:58 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 83WaYY1788612xluLcj5gv9E; Wed, 07 Sep 2022 04:36:58 -0700 X-Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx.groups.io with SMTP id smtpd.web11.6486.1662550617446108358 for ; Wed, 07 Sep 2022 04:36:57 -0700 X-Received: by mail-pg1-f171.google.com with SMTP id 73so13333717pga.1 for ; Wed, 07 Sep 2022 04:36:57 -0700 (PDT) X-Gm-Message-State: WYf2oFTx6QAGL7l9788c89WAx1787277AA= X-Google-Smtp-Source: AA6agR6xFgFmpM2QwW84bA1mM9blXZDbCvL3nuIkeFURWrOoDpq/P14AjIqxYmuL+xRVjPWarqUvZQ== X-Received: by 2002:a65:6491:0:b0:42a:c39a:e58e with SMTP id e17-20020a656491000000b0042ac39ae58emr2974273pgv.68.1662550616408; Wed, 07 Sep 2022 04:36:56 -0700 (PDT) X-Received: from localhost.localdomain ([49.206.11.92]) by smtp.gmail.com with ESMTPSA id 8-20020a17090a000800b001fd77933fb3sm10797230pja.17.2022.09.07.04.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 04:36:56 -0700 (PDT) From: "Sunil V L" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Eric Dong , Ray Ni , Rahul Kumar , Debkumar De , Catharine West , Daniel Schaefer , Abner Chang , Leif Lindholm , Andrew Fish , Ard Biesheuvel , Heinrich Schuchardt , Anup Patel , Sunil V L Subject: [edk2-devel] [RFC PATCH V2 04/19] MdeModulePkg/MdeModulePkg.dec: Add PCD variables for RISC-V Date: Wed, 7 Sep 2022 17:06:11 +0530 Message-Id: <20220907113626.540065-5-sunilvl@ventanamicro.com> In-Reply-To: <20220907113626.540065-1-sunilvl@ventanamicro.com> References: <20220907113626.540065-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 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,sunilvl@ventanamicro.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1662550618; bh=YIoftdWX4CtktPeQTgFyMixmPvElLMGDzFKnAXMyfDw=; h=Cc:Date:From:Reply-To:Subject:To; b=CriQgV4JFyq3l+RyeacbN7FzrZGfDrnJ7Jpz6pCwc7B6sB+5/VjB2kCOV1G8Y75S56X dg8j+jtt6PV2fS4Fy9Z+Nvtt4o1jccMMOIa4VVQndsy+YvF2+oAAAu4H1Uvmg0eAbCQpw ylluAwjc8gA7/YXCtri0602rgm/EHLtAYxg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1662550620453100001 Content-Type: text/plain; charset="utf-8" Add few PCD variables for RISC-V platforms to indicate the memory locations of the firmware volumes, temporary RAM etc. Signed-off-by: Sunil V L --- MdeModulePkg/MdeModulePkg.dec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 7d989108324a..557fc2f3d4a2 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -2176,5 +2176,18 @@ [PcdsDynamicEx] # @Prompt 64bit VPD base address. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress64|0x0|UINT64|0x00030006 =20 +[PcdsFixedAtBuild.RISCV64] + gEfiMdeModulePkgTokenSpaceGuid.PcdSecMemFvBase|0|UINT32|0x50000000 + gEfiMdeModulePkgTokenSpaceGuid.PcdSecMemFvSize|0|UINT32|0x50000001 + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiMemFvBase|0|UINT32|0x50000003 + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiMemFvSize|0|UINT32|0x50000004 + gEfiMdeModulePkgTokenSpaceGuid.PcdDxeMemFvBase|0|UINT32|0x50000005 + gEfiMdeModulePkgTokenSpaceGuid.PcdDxeMemFvSize|0|UINT32|0x50000006 + gEfiMdeModulePkgTokenSpaceGuid.PcdVariableFdBaseAddress|0|UINT32|0x50000= 007 + gEfiMdeModulePkgTokenSpaceGuid.PcdVariableFdSize|0|UINT32|0x50000008 + gEfiMdeModulePkgTokenSpaceGuid.PcdVariableFdBlockSize|0|UINT32|0x50000009 + gEfiMdeModulePkgTokenSpaceGuid.PcdSecPeiTempRamBase|0|UINT32|0x5000000a + gEfiMdeModulePkgTokenSpaceGuid.PcdSecPeiTempRamSize|0|UINT32|0x5000000b + [UserExtensions.TianoCore."ExtraFiles"] MdeModulePkgExtra.uni --=20 2.25.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 (#93402): https://edk2.groups.io/g/devel/message/93402 Mute This Topic: https://groups.io/mt/93522697/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-