qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] checking if linux-user address is mapped (sparc)
@ 2008-09-02 21:01 Vince Weaver
  2008-09-03 16:08 ` Blue Swirl
  0 siblings, 1 reply; 3+ messages in thread
From: Vince Weaver @ 2008-09-02 21:01 UTC (permalink / raw)
  To: qemu-devel

Hello

so now I'm trying to get the vpr spec2k benchmarks going under
sparc32plus-linux-user

In an optimized memory scanning routine the code is doing:

     ldxa  [ %o0 ] #ASI_PNF, %o3

Which is a load from the "no fault" address space.
What this means is that even if you are loading from an invalid address, 
no fault should occur.

qemu of course segfaults when the address is invalid.

Is there some way to check in linux-user if a virtual memory address is 
mapped?  That way it could be checked before the ldl_raw() is run?

hopefully I am not misunderstanding the bug here.

Vince

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-03 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-02 21:01 [Qemu-devel] checking if linux-user address is mapped (sparc) Vince Weaver
2008-09-03 16:08 ` Blue Swirl
2008-09-03 17:16   ` Vince Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).