Giter Site home page Giter Site logo

radetich / qemu-irix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from n64decomp/qemu-irix

0.0 0.0 0.0 180.11 MB

adding Irix (and, to a lesser extent, Solaris) userland emulation to QEMU

License: Other

Shell 1.28% C++ 1.06% Python 2.73% Perl 0.30% C 93.30% Emacs Lisp 0.01% Objective-C 0.12% Haxe 0.48% Assembly 0.45% Makefile 0.24% NSIS 0.01% GLSL 0.01% GDB 0.01% SmPL 0.02% Vim Script 0.01%

qemu-irix's Introduction

This QEMU patch introduces irix/solaris userland emulation. It currently runs only under linux (though BSD support would probably be feasable).

compiling

Configure QEMU for irix/solaris userland emulation and compile (see the original QEMU README for further instructions):

configure --target-list=irix-linux-user,irixn32-linux-user,irix64-linux-user,solaris-linux-user
make && make install

using

I recommend using binfmt. I have prepared some scripts for this which you can obtain from my qemu-irix-helpers repository at github. Adapt the wrapper scripts to your setup and install them somewhere in your executable path. Activate them with the binfmt install scripts.

Now you should be able to directly execute irix/solaris binaries from the shell. As a rather simple test, try:

<target rootfs>/bin/ls

notes

IRIX threading uses a local TLS storage area named PRDA which is privately mapped into each thread at address 0x20000. qemu-irix will emulate this behaviour if QEMU_IRIXPRDA is set in the environment. You most probably need to do so for any IRIX software using multithreading. Be aware that this will noticably harm the performance of the emulation since every memory access is checked for PRDA access (AFAIK it isn't possible to emulate this directly on linux or BSD).

For conveniance I have also extended the handling of QEMU_LD_PREFIX to allow the specification of multiple paths separated by ':'. That way you can keep the target os root separate from additional software. Moreover, for a noticable speed gain at qemu startup, QEMU_LD_PREFIX is not pre-scanned anymore. Instead, it is now caching any directories accessed by the emulated program.

send bug reports, fixes etc to Kai-Uwe Bloem ([email protected])

qemu-irix's People

Contributors

pm215 avatar bonzini avatar rth7680 avatar aliguori avatar kraxel avatar blueswirl avatar aurel32 avatar kevmw avatar afaerber avatar elmarco avatar mstsirkin avatar jan-kiszka avatar stefanharh avatar ebblake avatar ehabkost avatar xanclic avatar agraf avatar berrange avatar stweil avatar dgibson avatar edgarigl avatar balrog-kun avatar huth avatar avikivity avatar pete128 avatar jnsnow avatar aik avatar gkurz avatar dagrh avatar vivier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.