mips_cpc.c (33c11879fd422b759483ed25fef133ea900ea8d7) mips_cpc.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * Cluster Power Controller emulation
3 *
4 * Copyright (c) 2016 Imagination Technologies
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

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

15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "qemu/osdep.h"
21#include "qapi/error.h"
22#include "cpu.h"
1/*
2 * Cluster Power Controller emulation
3 *
4 * Copyright (c) 2016 Imagination Technologies
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

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

15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "qemu/osdep.h"
21#include "qapi/error.h"
22#include "cpu.h"
23#include "qemu/log.h"
23#include "hw/sysbus.h"
24
25#include "hw/misc/mips_cpc.h"
26
27static inline uint64_t cpc_vp_run_mask(MIPSCPCState *cpc)
28{
29 return (1ULL << cpc->num_vp) - 1;
30}

--- 148 unchanged lines hidden ---
24#include "hw/sysbus.h"
25
26#include "hw/misc/mips_cpc.h"
27
28static inline uint64_t cpc_vp_run_mask(MIPSCPCState *cpc)
29{
30 return (1ULL << cpc->num_vp) - 1;
31}

--- 148 unchanged lines hidden ---