From: Adam L. <ag...@li...> - 2000-02-17 08:58:18
|
On Wed, Feb 16, 2000 at 07:37:10PM +0100, Kasper Verdich Lund wrote: > Hi guys, > > I've added user-level IRQ handling stuff to the Elysium kernel. The > 'init' module shows how to hook the interrupt generated from an IRQ - in > this particular case IRQ 1 (keyboard) - and I'll be implementing a > keyboard driver in a few days. Before this week is over we'll have a > primitive shell up and running :-) > > We still need to work on PCT (protected control transfer) - anyone? Well, I've got some free time coming up. I've got some other stuff to do but I'll take a look. I've lost my Insight CD (damm!) but can you explain how the upcalling works? I've only used TSS before. popl %eax popl %eax movl %cr3,%eax iret I think that's the code (from memory), it sets up the page tables but does the iret pop stuff off the argument stack? And does that drop the privelage level? AGL |