]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/IndustryStandard/I440FxPiix4.h
OvmfPkg: VirtioRngDxe: adapt feature negotiation to virtio-1.0
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / I440FxPiix4.h
CommitLineData
cb2e3007
LE
1/** @file\r
2 Various register numbers and value bits based on the following publications:\r
3 - Intel(R) datasheet 290549-001\r
4 - Intel(R) datasheet 290562-001\r
5 - Intel(R) datasheet 297654-006\r
6 - Intel(R) datasheet 297738-017\r
7\r
8 Copyright (C) 2015, Red Hat, Inc.\r
9 Copyright (c) 2014, Gabriel L. Somlo <somlo@cmu.edu>\r
10\r
11 This program and the accompanying materials are licensed and made available\r
12 under the terms and conditions of the BSD License which accompanies this\r
13 distribution. The full text of the license may be found at\r
14 http://opensource.org/licenses/bsd-license.php\r
15\r
16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
17 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18**/\r
19\r
20#ifndef __I440FX_PIIX4_H__\r
21#define __I440FX_PIIX4_H__\r
22\r
23#include <Library/PciLib.h>\r
24\r
25//\r
26// Host Bridge Device ID (DID) value for I440FX\r
27//\r
28#define INTEL_82441_DEVICE_ID 0x1237\r
29\r
30//\r
31// B/D/F/Type: 0/1/3/PCI\r
32//\r
33#define POWER_MGMT_REGISTER_PIIX4(Offset) PCI_LIB_ADDRESS (0, 1, 3, (Offset))\r
34\r
6b225ace
LE
35#define PIIX4_PMBA 0x40\r
36\r
37#define PIIX4_PMREGMISC 0x80\r
38#define PIIX4_PMREGMISC_PMIOSE BIT0\r
39\r
cb2e3007 40#endif\r