Message ID | 20210412133003.146438-3-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | OvmfXen: Set PcdFSBClock at runtime | expand |
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Anthony > PERARD via groups.io > 发送时间: 2021年4月12日 21:30 > 收件人: devel@edk2.groups.io > 抄送: Laszlo Ersek <lersek@redhat.com>; Jordan Justen > <jordan.l.justen@intel.com>; Ard Biesheuvel <ardb+tianocore@kernel.org>; > xen-devel@lists.xenproject.org; Anthony PERARD > <anthony.perard@citrix.com>; Julien Grall <julien@xen.org>; Michael D > Kinney <michael.d.kinney@intel.com>; Liming Gao > <gaoliming@byosoft.com.cn>; Zhiguang Liu <zhiguang.liu@intel.com>; Liming > Gao <liming.gao@intel.com> > 主题: [edk2-devel] [PATCH v3 2/7] MdePkg: Allow PcdFSBClock to by > Dynamic > > We are going to want to change the value of PcdFSBClock at run time in > OvmfXen, so move it to the PcdsDynamic section. > > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> > Reviewed-by: Laszlo Ersek <lersek@redhat.com> > Reviewed-by: Liming Gao <liming.gao@intel.com> > --- > > Notes: > CC: Michael D Kinney <michael.d.kinney@intel.com> > CC: Liming Gao <gaoliming@byosoft.com.cn> > CC: Zhiguang Liu <zhiguang.liu@intel.com> > > MdePkg/MdePkg.dec | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec > index f4156920e599..8965e903e093 100644 > --- a/MdePkg/MdePkg.dec > +++ b/MdePkg/MdePkg.dec > @@ -2265,10 +2265,6 @@ [PcdsFixedAtBuild,PcdsPatchableInModule] > # @ValidList 0x80000001 | 8, 16, 32 > gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth|8|UINT8|0x0000002d > > - ## This value is used to configure X86 Processor FSB clock. > - # @Prompt FSB Clock. > - > gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c > - > ## The maximum printable number of characters. UefLib functions: > AsciiPrint(), AsciiErrorPrint(), > # PrintXY(), AsciiPrintXY(), Print(), ErrorPrint() base on this PCD value to > print characters. > # @Prompt Maximum Printable Number of Characters. > @@ -2372,5 +2368,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, > PcdsDynamic, PcdsDynamicEx] > # @Prompt Boot Timeout (s) > > gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000 > 002c > > + ## This value is used to configure X86 Processor FSB clock. > + # @Prompt FSB Clock. > + > gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c > + > [UserExtensions.TianoCore."ExtraFiles"] > MdePkgExtra.uni > -- > Anthony PERARD > > > > -=-=-=-=-=-=-=-=-=-=-=- > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#73954): https://edk2.groups.io/g/devel/message/73954 > Mute This Topic: https://groups.io/mt/82037830/4905953 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaoliming@byosoft.com.cn] > -=-=-=-=-=-=-=-=-=-=-=- >
On 04/13/21 02:59, gaoliming wrote: > Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Thanks, I've updated the email address in your existent R-b on the patch. Laszlo > >> -----邮件原件----- >> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Anthony >> PERARD via groups.io >> 发送时间: 2021年4月12日 21:30 >> 收件人: devel@edk2.groups.io >> 抄送: Laszlo Ersek <lersek@redhat.com>; Jordan Justen >> <jordan.l.justen@intel.com>; Ard Biesheuvel <ardb+tianocore@kernel.org>; >> xen-devel@lists.xenproject.org; Anthony PERARD >> <anthony.perard@citrix.com>; Julien Grall <julien@xen.org>; Michael D >> Kinney <michael.d.kinney@intel.com>; Liming Gao >> <gaoliming@byosoft.com.cn>; Zhiguang Liu <zhiguang.liu@intel.com>; Liming >> Gao <liming.gao@intel.com> >> 主题: [edk2-devel] [PATCH v3 2/7] MdePkg: Allow PcdFSBClock to by >> Dynamic >> >> We are going to want to change the value of PcdFSBClock at run time in >> OvmfXen, so move it to the PcdsDynamic section. >> >> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 >> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> >> Reviewed-by: Laszlo Ersek <lersek@redhat.com> >> Reviewed-by: Liming Gao <liming.gao@intel.com> >> --- >> >> Notes: >> CC: Michael D Kinney <michael.d.kinney@intel.com> >> CC: Liming Gao <gaoliming@byosoft.com.cn> >> CC: Zhiguang Liu <zhiguang.liu@intel.com> >> >> MdePkg/MdePkg.dec | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec >> index f4156920e599..8965e903e093 100644 >> --- a/MdePkg/MdePkg.dec >> +++ b/MdePkg/MdePkg.dec >> @@ -2265,10 +2265,6 @@ [PcdsFixedAtBuild,PcdsPatchableInModule] >> # @ValidList 0x80000001 | 8, 16, 32 >> gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth|8|UINT8|0x0000002d >> >> - ## This value is used to configure X86 Processor FSB clock. >> - # @Prompt FSB Clock. >> - >> gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c >> - >> ## The maximum printable number of characters. UefLib functions: >> AsciiPrint(), AsciiErrorPrint(), >> # PrintXY(), AsciiPrintXY(), Print(), ErrorPrint() base on this PCD > value to >> print characters. >> # @Prompt Maximum Printable Number of Characters. >> @@ -2372,5 +2368,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, >> PcdsDynamic, PcdsDynamicEx] >> # @Prompt Boot Timeout (s) >> >> gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000 >> 002c >> >> + ## This value is used to configure X86 Processor FSB clock. >> + # @Prompt FSB Clock. >> + >> gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c >> + >> [UserExtensions.TianoCore."ExtraFiles"] >> MdePkgExtra.uni >> -- >> Anthony PERARD >> >> >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Groups.io Links: You receive all messages sent to this group. >> View/Reply Online (#73954): https://edk2.groups.io/g/devel/message/73954 >> Mute This Topic: https://groups.io/mt/82037830/4905953 >> Group Owner: devel+owner@edk2.groups.io >> Unsubscribe: https://edk2.groups.io/g/devel/unsub >> [gaoliming@byosoft.com.cn] >> -=-=-=-=-=-=-=-=-=-=-=- >> > > >
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index f4156920e599..8965e903e093 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2265,10 +2265,6 @@ [PcdsFixedAtBuild,PcdsPatchableInModule] # @ValidList 0x80000001 | 8, 16, 32 gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth|8|UINT8|0x0000002d - ## This value is used to configure X86 Processor FSB clock. - # @Prompt FSB Clock. - gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c - ## The maximum printable number of characters. UefLib functions: AsciiPrint(), AsciiErrorPrint(), # PrintXY(), AsciiPrintXY(), Print(), ErrorPrint() base on this PCD value to print characters. # @Prompt Maximum Printable Number of Characters. @@ -2372,5 +2368,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] # @Prompt Boot Timeout (s) gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000002c + ## This value is used to configure X86 Processor FSB clock. + # @Prompt FSB Clock. + gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c + [UserExtensions.TianoCore."ExtraFiles"] MdePkgExtra.uni