From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web08.1927.1662484149702268190 for ; Tue, 06 Sep 2022 10:09:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ventanamicro.com header.s=google header.b=MH1DQRqC; spf=pass (domain: ventanamicro.com, ip: 209.85.214.181, mailfrom: sunilvl@ventanamicro.com) Received: by mail-pl1-f181.google.com with SMTP id io18so3234510plb.10 for ; Tue, 06 Sep 2022 10:09:09 -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=fs5sLctuRX72Be1oaDLiRwyU07Dj4duuVxklrX0GTfI=; b=MH1DQRqC30DyAGWy0LkZgNi/GxvNYHU5d3XiYjA4CS04U57cVRBgyvTH01NgZ6svxo Emoc6K3w0mT1a3Q7A4ISH/KtTXHHxe4GPsBguFlDMMMFSbunyt84rQp60ZZY7Zb6djtI Efl6KmSba1vOl7RW1g4iWU+2HE8ERWuWuplLM546aTVWMcxOj5kRvDJN7yVNPUNUIJjn pAtBUTv5IxTHSS/AmQP697EtCjYIqYHjMhpsV8S4LKC7p0gcjIs7by7nOLFp6TvzqXV/ DHh1IgF2359Y/UwSrkVMdlJgDuTp1x7Am/qi8FT3p4bxY2fikCDiUvkJiv0Y6bt6htP2 hjmg== 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=fs5sLctuRX72Be1oaDLiRwyU07Dj4duuVxklrX0GTfI=; b=iCaC4lkc47rEy/gJKdez8oLvS8upfs3GNzuY+yeSlOYFjUNO9vrc3EOfK/3NVoxsip 1CEb5/sVisjZGAZmJ8nZe3CwSGaY/hlfhISCxb31GMffl1YKcfX3GOD/0/zcXaYr6sps NNFOduABP+iqdFVzT9fYhQJ2WdgM6zuhYefpDMBo8KCz/J2TrRw6UaZgl+TLKCaAlhLZ fudxx8ZRC/YK3hC5MSNg1kcQOVMgTRGP87WgXdvIpFSm0mWnmYvqxbU0xJOvIb3p5QOq SqCwi46/Sm3tL1psl9Xn6SfwgdaSOLpcoRcPJm7i8yZ8uNJSYaIktABpdmLlnd8VFEdz 0dKQ== X-Gm-Message-State: ACgBeo3sCO9MoKK/rRpD76Y+JcrYvKUr0PzlxMeWgTsjM+iOU3pYYIcD 8KsQMf365FD6on3KBsKXOSOyZincDY+Qcwvt X-Google-Smtp-Source: AA6agR4k9ClgM/HW/VZ9vJrWux6rT5jYhdoe7uQ2W3G1zGLWdUGkHdiZvFV4qQWIh8BLRJE09oWjgw== X-Received: by 2002:a17:902:a409:b0:176:a717:4d5d with SMTP id p9-20020a170902a40900b00176a7174d5dmr11518418plq.148.1662484149073; Tue, 06 Sep 2022 10:09:09 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([49.206.11.92]) by smtp.gmail.com with ESMTPSA id b17-20020a170903229100b00176be258f41sm3806567plh.91.2022.09.06.10.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 10:09:08 -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 , Ard Biesheuvel , Heinrich Schuchardt , Anup Patel , Sunil V L Subject: [RFC PATCH 05/17] UefiCpuPkg.dec: Add PCD variable for RISC-V Date: Tue, 6 Sep 2022 22:38:25 +0530 Message-Id: <20220906170837.491525-6-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220906170837.491525-1-sunilvl@ventanamicro.com> References: <20220906170837.491525-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable RISC-V platforms need PCD variable to indicate the mtimer frequency which will be consumed by CpuDxe and TimerLib. Signed-off-by: Sunil V L --- UefiCpuPkg/UefiCpuPkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index 718323d904..5e94bde5fe 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -350,6 +350,9 @@ # @Prompt Access to non-SMRAM memory is restricted to reserved, runtime = and ACPI NVS type after SmmReadyToLock.=0D gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmRestrictedMemoryAccess|TRUE|BOOLEAN|0= x3213210F=0D =0D +[PcdsFixedAtBuild.RISCV64]=0D + gUefiCpuPkgTokenSpaceGuid.PcdRiscVTimerFrequencyInHz|0|UINT32|0x50000000= =0D +=0D [PcdsDynamic, PcdsDynamicEx]=0D ## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DA= TA.=0D # @Prompt The pointer to a CPU S3 data buffer.=0D --=20 2.25.1