]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Factor out platform detection (q35 vs. piix4)
authorGabriel Somlo <somlo@cmu.edu>
Fri, 14 Nov 2014 00:37:16 +0000 (00:37 +0000)
committerjljusten <jljusten@Edk2>
Fri, 14 Nov 2014 00:37:16 +0000 (00:37 +0000)
commit4e48c72c4cbbd24be3ec9835a7a428dce8064567
tree40e3db4760e9b58d385fefbd2ade26f085760957
parent4a50c2728540b9c487c9eccf19548f5322851212
OvmfPkg: Factor out platform detection (q35 vs. piix4)

Introduce macros to detect the underlying platform and access its
ACPI power management registers, based on querying the host bridge
device ID.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16372 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Include/OvmfPlatforms.h [new file with mode: 0644]