From: Kasper V. L. <ve...@da...> - 2000-02-14 09:06:11
|
> > [snipped something about a DSM system] > > This is great, since exokernels are so flexable we should be able to borrow > (read steal ;) their code. Do you know what licence this work might be done > under? I think I'll be working together with them on this one - and if I get my way the source code will be GPL'ed (at least open-source). > BTW: Do you update the CVS? It's very `stable' I've been working on implementing the IRQ handling stuff that has been discussed - once that is done we should be able to build the first drivers for our system: the keyboard driver, and the text mode video driver. It's nearly there... have patience. On the other hand I wouldn't mind if someone would try implementing a basic PCT (protected control transfer) mechanism. These system calls should do the trick: /* register an PCT upcall entry */ int sys_pct_register(uint32_t entry); /* do a PCT */ int sys_pct(pid_t pid); The semantics would be to transfer control to the other process donating the remaining time-slices of the current quantum to the other process. It should be fairly simple to implement - add the PCT entry to the process_s structure, implement the system calls (have a look at _process_run() for inspiration on doing the upcall).... /Kasper -- ------------------------------------------------------------------- Kasper Verdich Lund, Computer Science Department, Aarhus University Office: 34P.218 | Phone: (+45) 8942 5680 Email: ve...@da... | WWW: http://www.daimi.au.dk/~verdich |