]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Allow PcdFSBClock to by Dynamic
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 12 Apr 2021 13:29:58 +0000 (14:29 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 13 Apr 2021 11:54:58 +0000 (11:54 +0000)
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>
Message-Id: <20210412133003.146438-3-anthony.perard@citrix.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/MdePkg.dec

index f4156920e5997f59797fecf3a0470745299a2e8f..8965e903e0939c3a732f176f11fc19294378251e 100644 (file)
   # @ValidList  0x80000001 | 8, 16, 32\r
   gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth|8|UINT8|0x0000002d\r
 \r
-  ## This value is used to configure X86 Processor FSB clock.\r
-  # @Prompt FSB Clock.\r
-  gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c\r
-\r
   ## The maximum printable number of characters. UefLib functions: AsciiPrint(), AsciiErrorPrint(),\r
   #  PrintXY(), AsciiPrintXY(), Print(), ErrorPrint() base on this PCD value to print characters.\r
   # @Prompt Maximum Printable Number of Characters.\r
   # @Prompt Boot Timeout (s)\r
   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000002c\r
 \r
+  ## This value is used to configure X86 Processor FSB clock.\r
+  # @Prompt FSB Clock.\r
+  gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c\r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   MdePkgExtra.uni\r