Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
24 lines
478 B
C
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 */
|