Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / seabios / src / fw / dev-piix.h
1 #ifndef __DEV_PIIX_H
2 #define __DEV_PIIX_H
3
4 #define I440FX_PAM0               0x59
5 #define I440FX_SMRAM              0x72
6
7 #define PIIX_PMBASE               0x40
8 #define PIIX_PMREGMISC            0x80
9 #define PIIX_SMBHSTBASE           0x90
10 #define PIIX_SMBHSTCFG            0xd2
11 #define PIIX_DEVACTB              0x58
12 #define PIIX_DEVACTB_APMC_EN      (1 << 25)
13
14 #define PIIX_PORT_ELCR1           0x4d0
15 #define PIIX_PORT_ELCR2           0x4d1
16
17 /* ICH9 PM I/O registers */
18 #define PIIX_GPE0_BLK            0xafe0
19 #define PIIX_GPE0_BLK_LEN        4
20 #define PIIX_PMIO_GLBCTL         0x28
21 #define PIIX_PMIO_GLBCTL_SMI_EN  1
22
23 /* FADT ACPI_ENABLE/ACPI_DISABLE */
24 #define PIIX_ACPI_ENABLE         0xf1
25 #define PIIX_ACPI_DISABLE        0xf0
26
27 #define PIIX_PM_INTRRUPT         9       // irq 9
28
29 #endif // dev-piix.h