On Mar 2, 2013, at 7:27 AM, Peter Maydell wrote:
> 2013/3/2 Sanjay Lal :
>> +static void gt64xxx_save(QEMUFile *f, void *opaque)
>> +{
>> +GT64120State *s = opaque;
>> +
>> +/* CPU Configuration */
>> +qemu_put_be32s(f, &s->regs[GT_CPU]);
>> +qemu_put_be32s(f, &s->regs[GT_MULTI]);
2013/3/2 Sanjay Lal :
> +static void gt64xxx_save(QEMUFile *f, void *opaque)
> +{
> +GT64120State *s = opaque;
> +
> +/* CPU Configuration */
> +qemu_put_be32s(f, &s->regs[GT_CPU]);
> +qemu_put_be32s(f, &s->regs[GT_MULTI]);
Definitely no new save/load functions like this in new co
---
hw/gt64xxx.c | 317 +++
1 file changed, 317 insertions(+)
diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c
index 977a2c5..3583ca8 100644
--- a/hw/gt64xxx.c
+++ b/hw/gt64xxx.c
@@ -31,6 +31,8 @@
//#define DEBUG
+#define GT64XXX_VM_VERSION