Petr Stehlik dixit:

>Could you show me the source code of nfimvirt, please? Seems like it

I attached it.

>passed in an invalid pointer. You do know it needs to pass in physical
>(not MMU mapped) addresses, right?

The specs specifically say the contrary: they must be in virtual
addresses, but still in physical memory:

“On emulators implementing MMU and where physical addresses differ from
logical addresses, the memory that will be accessed by native features
uses the logical addresses (that is, exactly the same memory than that
seen by the CPU).”

However: “All 68k memory accessed during the execution of a native
function, either directly (the stack), or indirectly (following
pointers) must reside in physical memory before the native function is
called.” – I added a call to mlock() before the NatFeat calls to ensure
that.

Nevertheless, a user-space application absolutely MUST NOT crash the
emulator. Throw a SIGBUS if you must.


@Debian: I suggest we tag this wheezy-ignore, because ⓐ it’s not a
regression, ⓑ the impact is low, and ⓒ some MIPS machines have (had?)
similar issues, so we have precedent.


bye,
//mirabilos
-- 
☎ <Natureshadow> Ich glaub ich hab mir grad mit dem [Ham]Burger die Nase abge‐
putzt… <mirabilos> Ich glaub ich hab ne neue eMail-Signatur
<Natureshadow> Scheiße, warum passiert mir sowas immer, wenn ich mit dir spre‐
che? *hust* Das war Schnodderburger… *hust*


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to