qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 24/25] vmstate: port arm cpu


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH 24/25] vmstate: port arm cpu
Date: Tue, 25 Oct 2011 21:39:07 +0100
User-agent: KMail/1.13.7 (Linux/3.0.0-1-amd64; KDE/4.6.5; x86_64; ; )

> >> +    env->uncached_cpsr = env->cpsr_vmstate & CPSR_M;
> >> +    cpsr_write(env, env->cpsr_vmstate, 0xffffffff);
> > 
> > [1] Maybe a necessary hack, but still a wart from requiring static table
> > driven vmstate descriptions.
> 
> I wonder if we shouldn't make it easier to do what I do for Alpha
> with the rather different hack for the fpcr.
>
> That might avoid some of the other pre/post_load hooks, and the
> extra data fields that requires in the cpu structure.

Sounds reasonable.

Having either woraround is a bit lame.  Having ARM and Alpha use different 
workarounds for the same problem really sucks.

Paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]