]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/Include/OvmfPlatforms.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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#include <IndustryStandard/CloudHv.h>\r
20\r
21//\r
22// OVMF Host Bridge DID Address\r
23//\r
24#define OVMF_HOSTBRIDGE_DID \\r
25 PCI_LIB_ADDRESS (0, 0, 0, PCI_DEVICE_ID_OFFSET)\r
26\r
27//\r
28// Values we program into the PM base address registers\r
29//\r
30#define PIIX4_PMBA_VALUE 0xB000\r
31#define ICH9_PMBASE_VALUE 0x0600\r
32\r
33//\r
34// Common bits in same-purpose registers\r
35//\r
36#define PMBA_RTE BIT0\r
37\r
38//\r
39// Common IO ports relative to the Power Management Base Address\r
40//\r
41#define ACPI_TIMER_OFFSET 0x8\r
42\r
43#endif\r