From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@ventanamicro.com header.s=google header.b=R9jsOcIe; spf=pass (domain: ventanamicro.com, ip: 209.85.215.171, mailfrom: sunilvl@ventanamicro.com) Received: by mail-pg1-f171.google.com with SMTP id 73so13333717pga.1 for ; Wed, 07 Sep 2022 04:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Rgs0FTsbmoW+hAEDUgS4kI63TuJCqC+3a+zOtrQhFZQ=; b=R9jsOcIePM3SJj73blrYqPJCQRw+3EkqlioDZJW6Ww1jgsVgcUFxFtkbDeGZrzYdSf 8Y2YtAbYPsbLaOvybNCtogtIXm8Fa4YczOeH4FUDta6kOoIANdLDgpXdNghSe5WbkaLQ eeR6nhzvYMmnzaZ7zR0Aqz7KpAqW492nLz5SaoZZqNH1skN9587spW3mT5AIh9L/FJj7 QjDVir//rNyjFruj8QXNkGuKIIMnqwJPszMRPvIULV5gEM3RsnBIOg8gz3IqpWXXHTSt +fT/vmONwYMXD+KM1Ubdah6MQYaDoDn1vwD+V9eig9IKiZwpjp5PowCWlz6a5bWOr5Pa qw4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Rgs0FTsbmoW+hAEDUgS4kI63TuJCqC+3a+zOtrQhFZQ=; b=lsuRk9lRmFzcjPqflnSOuuEMA738tIR/VwqJiv3WRJjQDng+vncGcHKQ4OX7gGM+uE l8FvIpWDTNxBaVEhNU+fS/dDrdZ/8YCyFk3GJwW/euZxe8csdhehhcUi75EuAMx6uWvg S+IiQPW64vPBrO5ok9PoquSldHZIRM1CxZcZHyqSSDO95z15feQl3IcyhLboFQKNsfk2 PHsknvus5HMWwKeEBUmaMov6Nt+b/hkH7SjyJJFB30aQhKuaGADCrz/EyLW5vWvnjZTI lDubfBo7fTxT+vmWP3DFzfRLLvqoeSNP2J0umWH1yF0V06gF9XKJUvRk0fRdW5jzHpHP G+nQ== X-Gm-Message-State: ACgBeo3eJnV6yqu8yrHFrBE4kdWNSSR5+kPOpqUnlpGWYr1Tkw8zm0BH CrmkfMJajrEBrWMHA2peg0FjeNCz75v/ZY8S 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) Return-Path: 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: [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> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220907113626.540065-1-sunilvl@ventanamicro.com> References: <20220907113626.540065-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 +[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|0x50000007 + 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 -- 2.25.1