qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] /* XXX: suppress this hack */


From: Johannes Schindelin
Subject: Re: [Qemu-devel] /* XXX: suppress this hack */
Date: Mon, 11 Oct 2004 14:51:48 +0200 (CEST)

Hi,

On Sun, 10 Oct 2004, Magnus Damm wrote:

> Yeah, registers "r3" to "r12" are "caller save", ie these registers must
> be saved before a function is called. But what about "r16" to "r23",
> these are currently only used when CONFIG_USER_ONLY is set - I thought
> that they were supposed to be saved by the called function prior use,
> "callee save". But how does that affect the softmmu code in a bad way
> but the user code works? Any ideas?

*scratcheshishead* I cannot think of one way that code should work in user
mode... IMHO there is no protection to those registers when calling libc
or a syscall.

Ciao,
Dscho





reply via email to

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