xref: /openbmc/qemu/include/hw/pci-host/remote.h (revision d695918f)
1 /*
2  * PCI Host for remote device
3  *
4  * Copyright © 2018, 2021 Oracle and/or its affiliates.
5  *
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.
8  *
9  */
10 
11 #ifndef PCI_HOST_REMOTE_H
12 #define PCI_HOST_REMOTE_H
13 
14 #include "exec/memory.h"
15 #include "hw/pci/pcie_host.h"
16 
17 #define TYPE_REMOTE_PCIHOST "remote-pcihost"
18 OBJECT_DECLARE_SIMPLE_TYPE(RemotePCIHost, REMOTE_PCIHOST)
19 
20 struct RemotePCIHost {
21     /*< private >*/
22     PCIExpressHost parent_obj;
23     /*< public >*/
24 
25     MemoryRegion *mr_pci_mem;
26     MemoryRegion *mr_sys_io;
27     MemoryRegion *mr_sys_mem;
28 };
29 
30 #endif
31