[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] F-ROFS

On Wed, Mar 13, 2002 at 01:47:52AM +0100, Yann Guidon wrote:
>  I also thought about using the trap/syscall instructions but it
> creates a little problem. I don't have the instruction map in hand
> but syscall has an immediate data word which indicates the service
> to request. So it jumps in kernel mode to service*64 + sr_syscall_base,
> and does its things. So it implies that the character is present in a
> previously specified register which must be read later. It also
> implies that the syscall mechanism is setup but what happens if
> there's an error at that time ?...

You can also encode the character in the syscall number ;-)

 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/