Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / pci-host / i440fx.h
blobc988f708901ec9c66ae951ccd24509b85ba991bf
1 /*
2 * QEMU i440FX North Bridge Emulation
4 * Copyright (c) 2006 Fabrice Bellard
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
9 */
11 #ifndef HW_PCI_I440FX_H
12 #define HW_PCI_I440FX_H
14 #include "hw/pci/pci_device.h"
15 #include "hw/pci-host/pam.h"
16 #include "qom/object.h"
18 #define I440FX_HOST_PROP_PCI_TYPE "pci-type"
20 #define TYPE_I440FX_PCI_HOST_BRIDGE "i440FX-pcihost"
21 #define TYPE_I440FX_PCI_DEVICE "i440FX"
23 OBJECT_DECLARE_SIMPLE_TYPE(PCII440FXState, I440FX_PCI_DEVICE)
25 struct PCII440FXState {
26 /*< private >*/
27 PCIDevice parent_obj;
28 /*< public >*/
30 PAMMemoryRegion pam_regions[PAM_REGIONS_COUNT];
31 MemoryRegion smram_region;
32 MemoryRegion smram, low_smram;
35 #define TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE "igd-passthrough-i440FX"
37 #endif