Skip to content

Commit 5262f4b

Browse files
authored
Added some notes on usage to readme
1 parent 9988e85 commit 5262f4b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,19 @@ As a rather simple test, try:
2525
<target rootfs>/bin/ls
2626
```
2727

28+
### notes
29+
30+
IRIX threading uses a local TLS storage area named PRDA which is privately mapped
31+
into each thread at address 0x20000. qemu-irix will emulate this behaviour if
32+
QEMU_IRIXPRDA is set in the environment. You most probably need to do so for any
33+
IRIX software using multithreading. Be aware that this will noticably harm the
34+
performance of the emulation since every memory access is checked for PRDA access
35+
(AFAIK it isn't possible to emulate this directly on linux or BSD).
36+
37+
For conveniance I have also extended the handling of QEMU_LD_PREFIX to allow
38+
the specification of multiple paths separated by ':'. That way you can keep the
39+
target os root separate from additional software. Moreover, for a noticable
40+
speed gain at qemu startup, QEMU_LD_PREFIX is not pre-scanned anymore. Instead,
41+
it is now caching any directories accessed by the emulated program.
42+
2843
send bug reports, fixes etc to Kai-Uwe Bloem (<[email protected]>)

0 commit comments

Comments
 (0)