TianoCore EDK2 master
Loading...
Searching...
No Matches
I440FxPiix4.h
Go to the documentation of this file.
1
14#ifndef __I440FX_PIIX4_H__
15#define __I440FX_PIIX4_H__
16
17#include <Library/PciLib.h>
18
19//
20// Host Bridge Device ID (DID) value for I440FX
21//
22#define INTEL_82441_DEVICE_ID 0x1237
23
24//
25// B/D/F/Type: 0/0/0/PCI
26//
27#define PMC_REGISTER_PIIX4(Offset) PCI_LIB_ADDRESS (0, 0, 0, (Offset))
28
29#define PIIX4_PAM0 0x59
30#define PIIX4_PAM1 0x5A
31#define PIIX4_PAM2 0x5B
32#define PIIX4_PAM3 0x5C
33#define PIIX4_PAM4 0x5D
34#define PIIX4_PAM5 0x5E
35#define PIIX4_PAM6 0x5F
36
37//
38// B/D/F/Type: 0/1/3/PCI
39//
40#define POWER_MGMT_REGISTER_PIIX4(Offset) PCI_LIB_ADDRESS (0, 1, 3, (Offset))
41
42#define PIIX4_PMBA 0x40
43#define PIIX4_PMBA_MASK (BIT15 | BIT14 | BIT13 | BIT12 | BIT11 | \
44 BIT10 | BIT9 | BIT8 | BIT7 | BIT6)
45
46#define PIIX4_PMREGMISC 0x80
47#define PIIX4_PMREGMISC_PMIOSE BIT0
48
49//
50// IO ports
51//
52#define PIIX4_CPU_HOTPLUG_BASE 0xAF00
53
54#endif