pnv.c (eb93c82888f4d19c00ac1aafaec23346c2e899b4) pnv.c (5bc67b052b511ef042bd420857227e1e5173c88a)
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

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

1955 mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power9_v2.0");
1956 xfc->match_nvt = pnv_match_nvt;
1957
1958 mc->alias = "powernv";
1959
1960 pmc->compat = compat;
1961 pmc->compat_size = sizeof(compat);
1962 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

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

1955 mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power9_v2.0");
1956 xfc->match_nvt = pnv_match_nvt;
1957
1958 mc->alias = "powernv";
1959
1960 pmc->compat = compat;
1961 pmc->compat_size = sizeof(compat);
1962 pmc->dt_power_mgt = pnv_dt_power_mgt;
1963
1964 machine_class_allow_dynamic_sysbus_dev(mc, TYPE_PNV_PHB4);
1963}
1964
1965static void pnv_machine_power10_class_init(ObjectClass *oc, void *data)
1966{
1967 MachineClass *mc = MACHINE_CLASS(oc);
1968 PnvMachineClass *pmc = PNV_MACHINE_CLASS(oc);
1969 static const char compat[] = "qemu,powernv10\0ibm,powernv";
1970

--- 196 unchanged lines hidden ---
1965}
1966
1967static void pnv_machine_power10_class_init(ObjectClass *oc, void *data)
1968{
1969 MachineClass *mc = MACHINE_CLASS(oc);
1970 PnvMachineClass *pmc = PNV_MACHINE_CLASS(oc);
1971 static const char compat[] = "qemu,powernv10\0ibm,powernv";
1972

--- 196 unchanged lines hidden ---