From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] [PATCH v2 2/7] MdePkg: Allow PcdFSBClock to by Dynamic To: Anthony PERARD ,devel@edk2.groups.io From: ray_linn@hotmail.com X-Originating-Location: Shanghai, CN (58.247.171.4) X-Originating-Platform: Windows Chrome 103 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 06 Jul 2022 21:12:46 -0700 References: <20210325154713.670104-3-anthony.perard@citrix.com> In-Reply-To: <20210325154713.670104-3-anthony.perard@citrix.com> Message-ID: <637.1657167166070739073@groups.io> Content-Type: multipart/alternative; boundary="Y5yHu6xDcaouCalTC4JH" --Y5yHu6xDcaouCalTC4JH Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2021 at 11:47 PM, Anthony PERARD wrote: >=20 > - ## This value is used to configure X86 Processor FSB clock. > - # @Prompt FSB Clock. > - gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c hi, Sir This change caused the OVMF failed to load in QEMU when compiled with "SOUR= CE_DEBUG_ENABLE" as True. the verbose message of QEMU shows: >=20 > ASSERT [SecMain] > d:\myedk2\edk2\MdePkg\Library\BasePcdLibNull\PcdLib.c(95): > ((BOOLEAN)(0=3D=3D1)) The failure point is=C2=A0 PcdGet32 (PcdFSBClock) of debugtimer.c,=C2=A0 I= =C2=A0 rolled back above change, then issue disappeared. --Y5yHu6xDcaouCalTC4JH Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2021 at 11:47 PM, Anthony PERARD wrote:
- ## This value is used to configure X86 Processor FSB clock.- # @Prompt FSB Clock.
- gEfiMdePkgTokenSpaceGuid.PcdFSBClock|2000= 00000|UINT32|0x0000000c
hi, Sir

This change caused the OVMF failed to load in QEMU when = compiled with "SOURCE_DEBUG_ENABLE" as True.

the verbose message= of QEMU shows:
ASSERT [SecMain] d:\myedk2\edk2\MdePkg\Library\BasePcdLibNull\P= cdLib.c(95): ((BOOLEAN)(0=3D=3D1))
The failure point is  PcdGet32 (PcdFSBClock) of debugtimer.c,  I&= nbsp; rolled back above change, then issue disappeared.


--Y5yHu6xDcaouCalTC4JH--