You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/accel/accel-cpu.h

24 lines
478 B
C

/*
* Accelerator interface, specializes CPUClass
*
* Copyright 2021 SUSE LLC
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ACCEL_CPU_H
#define ACCEL_CPU_H
#include "qom/object.h"
#include "hw/core/cpu.h"
typedef struct AccelCPUClass {
ObjectClass parent_class;
void (*cpu_class_init)(CPUClass *cc);
void (*cpu_instance_init)(CPUState *cpu);
bool (*cpu_target_realize)(CPUState *cpu, Error **errp);
} AccelCPUClass;
#endif /* ACCEL_CPU_H */