pnv.h (4f9924c4d4cf9c039e247c5cdbbf71bce4e573c3) pnv.h (9ae1329ee2fee95f201ca219090d7c742eaf6a90)
1/*
2 * QEMU PowerPC PowerNV various definitions
3 *
4 * Copyright (c) 2014-2016 BenH, IBM Corporation.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 16 unchanged lines hidden (view full) ---

25#include "hw/ipmi/ipmi.h"
26#include "hw/ppc/pnv_lpc.h"
27#include "hw/ppc/pnv_pnor.h"
28#include "hw/ppc/pnv_psi.h"
29#include "hw/ppc/pnv_occ.h"
30#include "hw/ppc/pnv_homer.h"
31#include "hw/ppc/pnv_xive.h"
32#include "hw/ppc/pnv_core.h"
1/*
2 * QEMU PowerPC PowerNV various definitions
3 *
4 * Copyright (c) 2014-2016 BenH, IBM Corporation.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 16 unchanged lines hidden (view full) ---

25#include "hw/ipmi/ipmi.h"
26#include "hw/ppc/pnv_lpc.h"
27#include "hw/ppc/pnv_pnor.h"
28#include "hw/ppc/pnv_psi.h"
29#include "hw/ppc/pnv_occ.h"
30#include "hw/ppc/pnv_homer.h"
31#include "hw/ppc/pnv_xive.h"
32#include "hw/ppc/pnv_core.h"
33#include "hw/pci-host/pnv_phb3.h"
33#include "hw/pci-host/pnv_phb4.h"
34
35#define TYPE_PNV_CHIP "pnv-chip"
36#define PNV_CHIP(obj) OBJECT_CHECK(PnvChip, (obj), TYPE_PNV_CHIP)
37#define PNV_CHIP_CLASS(klass) \
38 OBJECT_CLASS_CHECK(PnvChipClass, (klass), TYPE_PNV_CHIP)
39#define PNV_CHIP_GET_CLASS(obj) \
40 OBJECT_GET_CLASS(PnvChipClass, (obj), TYPE_PNV_CHIP)

--- 31 unchanged lines hidden (view full) ---

72 /*< public >*/
73 MemoryRegion icp_mmio;
74
75 PnvLpcController lpc;
76 Pnv8Psi psi;
77 PnvOCC occ;
78 PnvHomer homer;
79
34#include "hw/pci-host/pnv_phb4.h"
35
36#define TYPE_PNV_CHIP "pnv-chip"
37#define PNV_CHIP(obj) OBJECT_CHECK(PnvChip, (obj), TYPE_PNV_CHIP)
38#define PNV_CHIP_CLASS(klass) \
39 OBJECT_CLASS_CHECK(PnvChipClass, (klass), TYPE_PNV_CHIP)
40#define PNV_CHIP_GET_CLASS(obj) \
41 OBJECT_GET_CLASS(PnvChipClass, (obj), TYPE_PNV_CHIP)

--- 31 unchanged lines hidden (view full) ---

73 /*< public >*/
74 MemoryRegion icp_mmio;
75
76 PnvLpcController lpc;
77 Pnv8Psi psi;
78 PnvOCC occ;
79 PnvHomer homer;
80
81#define PNV8_CHIP_PHB3_MAX 4
82 PnvPHB3 phbs[PNV8_CHIP_PHB3_MAX];
83
80 XICSFabric *xics;
81} Pnv8Chip;
82
83#define TYPE_PNV9_CHIP "pnv9-chip"
84#define PNV9_CHIP(obj) OBJECT_CHECK(Pnv9Chip, (obj), TYPE_PNV9_CHIP)
85
86typedef struct Pnv9Chip {
87 /*< private >*/

--- 256 unchanged lines hidden ---
84 XICSFabric *xics;
85} Pnv8Chip;
86
87#define TYPE_PNV9_CHIP "pnv9-chip"
88#define PNV9_CHIP(obj) OBJECT_CHECK(Pnv9Chip, (obj), TYPE_PNV9_CHIP)
89
90typedef struct Pnv9Chip {
91 /*< private >*/

--- 256 unchanged lines hidden ---