pnv.c (c1471772772499b36659a0785d9a3de759d5aee2) pnv.c (d786be3fe7466ff96db96b86e6fee437136d63d7)
1/*
2 * QEMU PowerPC PowerNV machine model
3 *
4 * Copyright (c) 2016, 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

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

2208
2209 xfc->match_nvt = pnv_match_nvt;
2210
2211 mc->alias = "powernv";
2212
2213 pmc->compat = compat;
2214 pmc->compat_size = sizeof(compat);
2215 pmc->dt_power_mgt = pnv_dt_power_mgt;
1/*
2 * QEMU PowerPC PowerNV machine model
3 *
4 * Copyright (c) 2016, 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

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

2208
2209 xfc->match_nvt = pnv_match_nvt;
2210
2211 mc->alias = "powernv";
2212
2213 pmc->compat = compat;
2214 pmc->compat_size = sizeof(compat);
2215 pmc->dt_power_mgt = pnv_dt_power_mgt;
2216
2217 machine_class_allow_dynamic_sysbus_dev(mc, TYPE_PNV_PHB);
2216}
2217
2218static void pnv_machine_power10_class_init(ObjectClass *oc, void *data)
2219{
2220 MachineClass *mc = MACHINE_CLASS(oc);
2221 PnvMachineClass *pmc = PNV_MACHINE_CLASS(oc);
2222 XiveFabricClass *xfc = XIVE_FABRIC_CLASS(oc);
2223 static const char compat[] = "qemu,powernv10\0ibm,powernv";

--- 209 unchanged lines hidden ---
2218}
2219
2220static void pnv_machine_power10_class_init(ObjectClass *oc, void *data)
2221{
2222 MachineClass *mc = MACHINE_CLASS(oc);
2223 PnvMachineClass *pmc = PNV_MACHINE_CLASS(oc);
2224 XiveFabricClass *xfc = XIVE_FABRIC_CLASS(oc);
2225 static const char compat[] = "qemu,powernv10\0ibm,powernv";

--- 209 unchanged lines hidden ---