]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: add and use industry standard macro PIIX4_PMBA_MASK
authorLaszlo Ersek <lersek@redhat.com>
Mon, 9 May 2016 18:05:18 +0000 (20:05 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 17 May 2016 18:48:35 +0000 (20:48 +0200)
commit07d3ba07709d8aa417f5f887b84ec78a908c6d2a
tree448d18b9d1d57a9cf316327751c4980ce99dbbf1
parentb2f4da3956debf656279a0836500b6989a85e276
OvmfPkg: add and use industry standard macro PIIX4_PMBA_MASK

We already have the identical purpose (but different value) macro for
ICH9, namely ICH9_PMBASE_MASK in
"OvmfPkg/Include/IndustryStandard/Q35MchIch9.h".

Also, stop bit-negating signed integer constants.

Cc: Gabriel Somlo <somlo@cmu.edu>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1333238
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/Include/IndustryStandard/I440FxPiix4.h
OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c
OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.c
OvmfPkg/PlatformPei/Platform.c