Revision 976b2037 target-i386/machine.c
b/target-i386/machine.c | ||
---|---|---|
116 | 116 |
qemu_put_be16s(f, &exp); |
117 | 117 |
} |
118 | 118 |
|
119 |
const VMStateInfo vmstate_fpreg = { |
|
119 |
static const VMStateInfo vmstate_fpreg = {
|
|
120 | 120 |
.name = "fpreg", |
121 | 121 |
.get = get_fpreg, |
122 | 122 |
.put = put_fpreg, |
... | ... | |
133 | 133 |
return 0; |
134 | 134 |
} |
135 | 135 |
|
136 |
const VMStateInfo vmstate_fpreg_1_mmx = { |
|
136 |
static const VMStateInfo vmstate_fpreg_1_mmx = {
|
|
137 | 137 |
.name = "fpreg_1_mmx", |
138 | 138 |
.get = get_fpreg_1_mmx, |
139 | 139 |
.put = put_fpreg_error, |
... | ... | |
149 | 149 |
return 0; |
150 | 150 |
} |
151 | 151 |
|
152 |
const VMStateInfo vmstate_fpreg_1_no_mmx = { |
|
152 |
static const VMStateInfo vmstate_fpreg_1_no_mmx = {
|
|
153 | 153 |
.name = "fpreg_1_no_mmx", |
154 | 154 |
.get = get_fpreg_1_no_mmx, |
155 | 155 |
.put = put_fpreg_error, |
... | ... | |
307 | 307 |
qemu_put_be32(f, *v); |
308 | 308 |
} |
309 | 309 |
|
310 |
const VMStateInfo vmstate_hack_uint64_as_uint32 = { |
|
310 |
static const VMStateInfo vmstate_hack_uint64_as_uint32 = {
|
|
311 | 311 |
.name = "uint64_as_uint32", |
312 | 312 |
.get = get_uint64_as_uint32, |
313 | 313 |
.put = put_uint64_as_uint32, |
... | ... | |
387 | 387 |
return 0; |
388 | 388 |
} |
389 | 389 |
|
390 |
const VMStateDescription vmstate_cpu = { |
|
390 |
static const VMStateDescription vmstate_cpu = {
|
|
391 | 391 |
.name = "cpu", |
392 | 392 |
.version_id = CPU_SAVE_VERSION, |
393 | 393 |
.minimum_version_id = 3, |
Also available in: Unified diff