xref: /openbmc/qemu/include/hw/pci-host/remote.h (revision 6fbd84d63299b86e2a60ee7f257838d411112b87)
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 REMOTE_PCIHOST_H
12 #define REMOTE_PCIHOST_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 };
28 
29 #endif
30