[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using the JanosVM with any of the other Janos components



> 
> Dear Janos Team:
> 
> on your website http://www.cs.utah.edu/flux/janos/janosvm.html, there is a note:
> NOTE: If you want to use the JanosVM with any of the other Janos components (OSKit, Moab, Janos Java NodeOS, or ANTSR) please contact the janos-discuss mailing list. We have some patches for the OSKit and Moab that are not yet released. 
> I want to know how to get the patches?
> thank you very mych.


It's still a bit shaky and complicated doing this with the currently
released version's, what are you interested in doing?  You can get pretty
far just running the individual versions on a unix box...

Anyways, the following patches should get you pretty far:

You'll need this oskit patch:

http://www.cs.utah.edu/flux/janos/downloads/oskit-console-patch.txt

For janosvm, you'll need to change line 121 in
janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c to:

  jsiPlexWindowRecvPacket(pil, 0, &rc.plc, plp);

(just add the 0 in the middle)

And the following for the src/channel.c file in moab (the nodeos):

--- channel.c   Fri Jan 19 14:25:06 2001
+++ channel.c     Wed Oct 10 11:45:34 2001
@@ -230,7 +230,8 @@
        err = chan->ops->create(chan);
        if (ani_error_occured(err)) {
                ani_chan_unlock(chan);
-               ani_demuxkey_removechannel(demux, chan);
+               if (ctype == CHAN_IN)
+                       ani_demuxkey_removechannel(demux, chan);
                ani_ilock_deinit(&chan->lock);
                return err;
        }

> Sincerely 
> Dick Liu

tim stack




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah