TianoCore EDK2 master
Loading...
Searching...
No Matches
OvmfPlatforms.h
Go to the documentation of this file.
1
10#ifndef __OVMF_PLATFORMS_H__
11#define __OVMF_PLATFORMS_H__
12
13#include <Library/PciLib.h>
20
21//
22// OVMF Host Bridge DID Address
23//
24#define OVMF_HOSTBRIDGE_DID \
25 PCI_LIB_ADDRESS (0, 0, 0, PCI_DEVICE_ID_OFFSET)
26
27//
28// Values we program into the PM base address registers
29//
30#define PIIX4_PMBA_VALUE 0xB000
31#define ICH9_PMBASE_VALUE 0x0600
32
33//
34// Common bits in same-purpose registers
35//
36#define PMBA_RTE BIT0
37
38//
39// Common IO ports relative to the Power Management Base Address
40//
41#define ACPI_TIMER_OFFSET 0x8
42
43#endif