Re: Anyone know why the syscall interface is using the doreti mechanism?

2000-03-25 Thread Warner Losh
In message [EMAIL PROTECTED] Matthew Dillon writes: : It's getting clean enough that you can almost understand the interrupt : code :-) Cool. That's one part of the kernel that I've not quite fully understood. I always figured there was something I was missing about the code and why

Re: Anyone know why the syscall interface is using the doreti mechanism?

2000-03-25 Thread Matthew Dillon
: :In message [EMAIL PROTECTED] Matthew Dillon writes: :: It's getting clean enough that you can almost understand the interrupt :: code :-) : :Cool. That's one part of the kernel that I've not quite fully :understood. I always figured there was something I was missing about :the code

Anyone know why the syscall interface is using the doreti mechanism?

2000-03-24 Thread Matthew Dillon
I understand why interrupts use the doreti mechanism. I don't understand why the syscall interface traps have to use it. As far as I can tell, the cpl stuff does not have to be checked at all, the spl does not have to be set to 0 (it damn well better already be 0!), pending