]> Git Repo - qemu.git/blobdiff - cpu-common.h
cpu: Introduce CPUListState struct
[qemu.git] / cpu-common.h
index d2fbafac9c5a62c68ceb937c14a67cace81bdc9a..a62b6ea3f93d1f1c5d60ff198f3acc6a4af1f15a 100644 (file)
 #include "bswap.h"
 #include "qemu-queue.h"
 
+/**
+ * CPUListState:
+ * @cpu_fprintf: Print function.
+ * @file: File to print to using @cpu_fprint.
+ *
+ * State commonly used for iterating over CPU models.
+ */
+typedef struct CPUListState {
+    fprintf_function cpu_fprintf;
+    FILE *file;
+} CPUListState;
+
 #if !defined(CONFIG_USER_ONLY)
 
 enum device_endian {
This page took 0.023236 seconds and 4 git commands to generate.