]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/Include/OvmfPlatforms.h
OvmfPkg: extract some bits and port offsets common to Q35 and I440FX
authorLaszlo Ersek <lersek@redhat.com>
Wed, 13 May 2015 09:31:53 +0000 (09:31 +0000)
committerlersek <lersek@Edk2>
Wed, 13 May 2015 09:31:53 +0000 (09:31 +0000)
commitcc5e0aa9caa97d2cf0cac6ed929919f4283b5b98
treed10feaa56e5f955c5ed7c8c0b653f6ad9c0d5171
parentda372167684822ddd0cce01e5282502da28538a4
OvmfPkg: extract some bits and port offsets common to Q35 and I440FX

The PMBA_RTE and ACPI_TIMER_OFFSET macros apply equally to both boards,
plus they are triplicated between the various AcpiTimerLib instances.
Define them centrally in "OvmfPlatforms.h".

Cc: Gabriel Somlo <somlo@cmu.edu>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17436 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Include/OvmfPlatforms.h
OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c
OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.c
OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c