]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/AcpiTimerLib: don't use possibly unset PMBA register (PEI phase)
authorLaszlo Ersek <lersek@redhat.com>
Tue, 17 May 2016 14:08:23 +0000 (16:08 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 17 May 2016 18:46:59 +0000 (20:46 +0200)
commitac759060e6272c3e451808c9ba40927d76890f26
treea63836e274353224d86bda4d5a8725d284897056
parentb41ef32518095f783d0c2343b496cc857c6f3dff
OvmfPkg/AcpiTimerLib: don't use possibly unset PMBA register (PEI phase)

We should store the right value to the PMBA (if the PMBA needs
initialization) before setting mAcpiTimerIoAddr from the PMBA.

Cc: Gabriel Somlo <somlo@cmu.edu>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Fixes: f122712b42af3d63902c2c141e90d2c200df6790
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c