I've managed to get basic file IO working (reading file streams from the
local filesystem) and have prepared the way for native kernel threads and
garbage collection. (last 2 not working yet though). 

Following on my previous message, I've uploaded the source and class files
for the classpath files that the kissme/teaseme JVM depends on. 

Check out the module "classpath" in CVS. (See instructions in previous
email). 

You can build the kernel module yourself (see the
"current" module). You'll need the makeme utility
(http://makeme.sourceforge.net), and you might find
http://teaseme.sourceforget.net/antlr.jar useful for running that. 

I've also built a binary object file, it's at:

http://teaseme.sourceforge.net/teaseme.o 

I run it with:

insmod -v -x teaseme.o 

You may have a version conflict, or a need to force it.

Before you run it, make sure you unpack the classpath files in:

/usr/share/teaseme/classpath

ie, java/lang/String.class would be at:

/usr/share/teaseme/classpath/java/lang/String.class

It will print messages to the console. (It is hardwired to run
kissme_test.hello)

Type rmmod teaseme to unload it. 

The VM does clean up the GC heap when you unload it, but it will still eat
up kernel memory if you do this too many times. 

As you should know, installing a kernel module is dangerous and could
destroy all your data. You have been warned. 

I'm going away on holiday for a week and am limited to 1 pc (I need two to
work on this), so I'll only be able to resume work then. 


Have fun, all questions / comments welcome.

John Leuner


_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to