Re: [9fans] Pegasus 2.6 is released

2009-02-01 Thread lucio
well, i say modules, but of course the language pre-dates them. people pretend. it uses import/export tables with type signatures. those are stashed in the a.out (viz. DYN_MAGIC in a.out.h) so they stay together. It's not what the OP suggested. Nor are Nemo's reservation valid. We're

Re: [9fans] Pegasus 2.6 is released

2009-02-01 Thread erik quanstrom
On Sun Feb 1 06:57:13 EST 2009, lu...@proxima.alt.za wrote: well, i say modules, but of course the language pre-dates them. people pretend. it uses import/export tables with type signatures. those are stashed in the a.out (viz. DYN_MAGIC in a.out.h) so they stay together. It's not

Re: [9fans] Pegasus 2.6 is released

2009-02-01 Thread Charles Forsyth
using a variant of something we developed and then re-developed for Inferno, you can dynamically load C modules at run time, and unusually, with type checking, with support in the compilers and loaders. well, i say modules, but of course the language pre-dates them. people pretend. it uses

Re: [9fans] Pegasus 2.6 is released

2009-02-01 Thread erik quanstrom
the argument that if the normal extension mechanism for scripting languages is x, thereforenot having x is a weakness seems a version of argumentum ad populum. doesn't dynamic loading seem at odds with the tools approach? the more complex the interface, the less general the tool.

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread ron minnich
On Sat, Jan 31, 2009 at 11:31 PM, lu...@proxima.alt.za wrote: (b) Construct a start-up module for Plan 9's ELF libc (to be) that accepts arguments as passed by the kernel and sets up the execution environment required by, at this stage, statically-linked ELF binary

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread Dave Eckhardt
Secondly, Cinap and I agree that based on the Linux emulation it becomes useful to implement MMAP on Plan 9. If you do pay costs on that scale, it might be nice to get something better than just mmap() when you're done. http://9fans.net/archive/2008/07/729 http://9fans.net/archive/2008/07/535

[9fans] 9vx as a cpu server?

2009-02-01 Thread Mathieu
Hello, Simple question: how hard would it be to modify 9vx so it can be used as a cpu server? As I naively see it, the two main problems are: 1) to have 9vx running a cpu server kernel instead of a stand alone terminal one (I don't even know if that's the case actually). 2) to have the host

Re: [9fans] 9vx as a cpu server?

2009-02-01 Thread erik quanstrom
As I naively see it, the two main problems are: 1) to have 9vx running a cpu server kernel instead of a stand alone terminal one (I don't even know if that's the case actually). i think there would be a little work in getting this going. 2) to have the host forwarding whatever packets should

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread lucio
If you do pay costs on that scale, it might be nice to get something better than just mmap() when you're done. I'm sure Cinap will drive this in the right direction. He certainly made it clear to me that his vision for MMAP is an improvement on the present model for Linux emulation. But I

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread lucio
This is what I'm doing on bg/p now. I've got a small program that reads in an elf binary, sets up the argv/env/aux vector(ppc thing) and jumps to main. It works. I use libmach. Can you share documentation and code? Although I would have to limit my experimentation to the 386 platform rather

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread ron minnich
On Sun, Feb 1, 2009 at 10:42 AM, lu...@proxima.alt.za wrote: This is what I'm doing on bg/p now. I've got a small program that reads in an elf binary, sets up the argv/env/aux vector(ppc thing) and jumps to main. It works. I use libmach. Can you share documentation and code? Although I

Re: [9fans] 9vx as a cpu server?

2009-02-01 Thread Mathieu
As I naively see it, the two main problems are: 1) to have 9vx running a cpu server kernel instead of a stand alone terminal one (I don't even know if that's the case actually). i think there would be a little work in getting this going. Ok, so it's possible then. :) I'll see if I can

Re: [9fans] 9vx as a cpu server?

2009-02-01 Thread Devon H. O'Dell
2009/2/1 Mathieu lejat...@gmail.com: As I naively see it, the two main problems are: 1) to have 9vx running a cpu server kernel instead of a stand alone terminal one (I don't even know if that's the case actually). i think there would be a little work in getting this going. Ok, so it's

[9fans] boot problem fixed

2009-02-01 Thread erik quanstrom
diff -c /sys/src/boot/pc-e820/sdata.c /n/sources/plan9/sys/src/boot/pc/ (other stuff) /sys/src/boot/pc-e820/sdata.c:875,882 - /n/sources/plan9/sys/src/boot/pc//sdata.c:875,881 qlock(ctlr); as = ataready(cmdport, ctlport, drive-dev, Bsy|Drq, Drdy, 107*1000); - /* used

Re: [9fans] 9vx as a cpu server?

2009-02-01 Thread Russ Cox
On Sun, Feb 1, 2009 at 10:19 AM, Mathieu lejat...@gmail.com wrote: Hello, Simple question: how hard would it be to modify 9vx so it can be used as a cpu server? As I naively see it, the two main problems are: 1) to have 9vx running a cpu server kernel instead of a stand alone terminal one

[9fans] Flash Video

2009-02-01 Thread Akshat Kumar
What are the details of, and/or what might be involved in, composing some Flash Video player for Plan 9? Likewise, how feasible is a port of such a thing (i.e., how closed or open is the technology)? if I push hard enough, I just might give birth to a monster ak