xref: /qemu/include/hw/pci-bridge/simba.h (revision 8063396b)
1ffd9589eSMark Cave-Ayland /*
2ffd9589eSMark Cave-Ayland  * QEMU Simba PCI bridge
3ffd9589eSMark Cave-Ayland  *
4ffd9589eSMark Cave-Ayland  * Copyright (c) 2006 Fabrice Bellard
5ffd9589eSMark Cave-Ayland  * Copyright (c) 2012,2013 Artyom Tarasenko
6ffd9589eSMark Cave-Ayland  * Copyright (c) 2017 Mark Cave-Ayland
7ffd9589eSMark Cave-Ayland  *
8ffd9589eSMark Cave-Ayland  * Permission is hereby granted, free of charge, to any person obtaining a copy
9ffd9589eSMark Cave-Ayland  * of this software and associated documentation files (the "Software"), to deal
10ffd9589eSMark Cave-Ayland  * in the Software without restriction, including without limitation the rights
11ffd9589eSMark Cave-Ayland  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12ffd9589eSMark Cave-Ayland  * copies of the Software, and to permit persons to whom the Software is
13ffd9589eSMark Cave-Ayland  * furnished to do so, subject to the following conditions:
14ffd9589eSMark Cave-Ayland  *
15ffd9589eSMark Cave-Ayland  * The above copyright notice and this permission notice shall be included in
16ffd9589eSMark Cave-Ayland  * all copies or substantial portions of the Software.
17ffd9589eSMark Cave-Ayland  *
18ffd9589eSMark Cave-Ayland  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19ffd9589eSMark Cave-Ayland  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20ffd9589eSMark Cave-Ayland  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21ffd9589eSMark Cave-Ayland  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22ffd9589eSMark Cave-Ayland  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23ffd9589eSMark Cave-Ayland  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24ffd9589eSMark Cave-Ayland  * THE SOFTWARE.
25ffd9589eSMark Cave-Ayland  */
26ffd9589eSMark Cave-Ayland 
27f91005e1SMarkus Armbruster #ifndef HW_PCI_BRIDGE_SIMBA_H
28f91005e1SMarkus Armbruster #define HW_PCI_BRIDGE_SIMBA_H
29f91005e1SMarkus Armbruster 
30ffd9589eSMark Cave-Ayland #include "hw/pci/pci_bridge.h"
31db1015e9SEduardo Habkost #include "qom/object.h"
32ffd9589eSMark Cave-Ayland 
33ffd9589eSMark Cave-Ayland 
34db1015e9SEduardo Habkost struct SimbaPCIBridge {
35ffd9589eSMark Cave-Ayland     /*< private >*/
36ffd9589eSMark Cave-Ayland     PCIBridge parent_obj;
37db1015e9SEduardo Habkost };
38ffd9589eSMark Cave-Ayland 
3990302adaSMark Cave-Ayland #define TYPE_SIMBA_PCI_BRIDGE "pbm-bridge"
40*8063396bSEduardo Habkost OBJECT_DECLARE_SIMPLE_TYPE(SimbaPCIBridge, SIMBA_PCI_BRIDGE)
41f91005e1SMarkus Armbruster 
42f91005e1SMarkus Armbruster #endif
43