[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] checking if linux-user address is mapped (sparc)
From: |
Vince Weaver |
Subject: |
[Qemu-devel] checking if linux-user address is mapped (sparc) |
Date: |
Tue, 2 Sep 2008 17:01:49 -0400 (EDT) |
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
- [Qemu-devel] checking if linux-user address is mapped (sparc),
Vince Weaver <=