xref: /qemu/include/hw/core/sysemu-cpu-ops.h (revision feece4d07021576a6037adfd597598851cf32bf0)
18b80bd28SPhilippe Mathieu-Daudé /*
28b80bd28SPhilippe Mathieu-Daudé  * CPU operations specific to system emulation
38b80bd28SPhilippe Mathieu-Daudé  *
48b80bd28SPhilippe Mathieu-Daudé  * Copyright (c) 2012 SUSE LINUX Products GmbH
58b80bd28SPhilippe Mathieu-Daudé  *
68b80bd28SPhilippe Mathieu-Daudé  * This work is licensed under the terms of the GNU GPL, version 2 or later.
78b80bd28SPhilippe Mathieu-Daudé  * See the COPYING file in the top-level directory.
88b80bd28SPhilippe Mathieu-Daudé  */
98b80bd28SPhilippe Mathieu-Daudé 
108b80bd28SPhilippe Mathieu-Daudé #ifndef SYSEMU_CPU_OPS_H
118b80bd28SPhilippe Mathieu-Daudé #define SYSEMU_CPU_OPS_H
128b80bd28SPhilippe Mathieu-Daudé 
138b80bd28SPhilippe Mathieu-Daudé #include "hw/core/cpu.h"
148b80bd28SPhilippe Mathieu-Daudé 
158b80bd28SPhilippe Mathieu-Daudé /*
168b80bd28SPhilippe Mathieu-Daudé  * struct SysemuCPUOps: System operations specific to a CPU class
178b80bd28SPhilippe Mathieu-Daudé  */
188b80bd28SPhilippe Mathieu-Daudé typedef struct SysemuCPUOps {
19*feece4d0SPhilippe Mathieu-Daudé     /**
20*feece4d0SPhilippe Mathieu-Daudé      * @legacy_vmsd: Legacy state for migration.
21*feece4d0SPhilippe Mathieu-Daudé      *               Do not use in new targets, use #DeviceClass::vmsd instead.
22*feece4d0SPhilippe Mathieu-Daudé      */
23*feece4d0SPhilippe Mathieu-Daudé     const VMStateDescription *legacy_vmsd;
24*feece4d0SPhilippe Mathieu-Daudé 
258b80bd28SPhilippe Mathieu-Daudé } SysemuCPUOps;
268b80bd28SPhilippe Mathieu-Daudé 
278b80bd28SPhilippe Mathieu-Daudé #endif /* SYSEMU_CPU_OPS_H */
28