QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
478 B
23 lines
478 B
/*
|
|
* 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 */
|
|
|