summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/OvmfXen.dsc
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2019-08-13 12:31:13 +0100
committerLaszlo Ersek <lersek@redhat.com>2019-08-21 18:03:49 +0200
commitc8395d27f754615b8f2a3d0cbeca3c7f287056f5 (patch)
treef4b7c1ff1ca5693a5c1b2e66d4f87e93f2e66c4a /OvmfPkg/OvmfXen.dsc
parentad256f9540e0ddef66e97b2a3802eeda5269e909 (diff)
downloadedk2-c8395d27f754615b8f2a3d0cbeca3c7f287056f5.tar.gz
edk2-c8395d27f754615b8f2a3d0cbeca3c7f287056f5.tar.bz2
edk2-c8395d27f754615b8f2a3d0cbeca3c7f287056f5.zip
OvmfPkg/OvmfXen: Override PcdFSBClock to Xen vLAPIC timer frequency
PcdFSBClock is used by SecPeiDxeTimerLibCpu, the TimerLib implementation. It will also be used by XenTimerDxe. Override PcdFSBClock to match Xen vLAPIC timer frequency. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689 Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20190813113119.14804-30-anthony.perard@citrix.com>
Diffstat (limited to 'OvmfPkg/OvmfXen.dsc')
-rw-r--r--OvmfPkg/OvmfXen.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc
index 22970eda5d..477d8c76a1 100644
--- a/OvmfPkg/OvmfXen.dsc
+++ b/OvmfPkg/OvmfXen.dsc
@@ -439,6 +439,9 @@
# Point to the MdeModulePkg/Application/UiApp/UiApp.inf
gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
+ ## Xen vlapic's frequence is 100 MHz
+ gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
+
################################################################################
#
# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform