]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/Include/OvmfPlatforms.h
DynamicTablesPkg: Add CacheId to PPTT generator
[mirror_edk2.git] / OvmfPkg / Include / OvmfPlatforms.h
... / ...
CommitLineData
1/** @file\r
2 OVMF Platform definitions\r
3\r
4 Copyright (C) 2015, Red Hat, Inc.\r
5 Copyright (c) 2014, Gabriel L. Somlo <somlo@cmu.edu>\r
6\r
7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
8**/\r
9\r
10#ifndef __OVMF_PLATFORMS_H__\r
11#define __OVMF_PLATFORMS_H__\r
12\r
13#include <Library/PciLib.h>\r
14#include <IndustryStandard/Pci22.h>\r
15#include <IndustryStandard/Q35MchIch9.h>\r
16#include <IndustryStandard/I440FxPiix4.h>\r
17#include <IndustryStandard/Bhyve.h>\r
18#include <IndustryStandard/Microvm.h>\r
19\r
20//\r
21// OVMF Host Bridge DID Address\r
22//\r
23#define OVMF_HOSTBRIDGE_DID \\r
24 PCI_LIB_ADDRESS (0, 0, 0, PCI_DEVICE_ID_OFFSET)\r
25\r
26//\r
27// Values we program into the PM base address registers\r
28//\r
29#define PIIX4_PMBA_VALUE 0xB000\r
30#define ICH9_PMBASE_VALUE 0x0600\r
31\r
32//\r
33// Common bits in same-purpose registers\r
34//\r
35#define PMBA_RTE BIT0\r
36\r
37//\r
38// Common IO ports relative to the Power Management Base Address\r
39//\r
40#define ACPI_TIMER_OFFSET 0x8\r
41\r
42#endif\r