Code of IPC between driver servers and user processes

11 views
Skip to first unread message

maillis...@gmail.com

unread,
May 10, 2009, 2:08:42 AM5/10/09
to minix3
Hi all,

I am new to Minix3.

I am interested in the IPC code in Minix3, which deals with the
communication of driver servers and user processes. But I don't find
the implementation but two "ipc.h" files in the code base from
"minix3.org".

So is there anyone know where the "*.c" files on IPC are?

Thanks in advance,
Dafu

Guanqun Lu

unread,
May 10, 2009, 7:24:23 AM5/10/09
to min...@googlegroups.com
Not sure what you're looking after.
Do you mean by "receive" and "send" implementations?
If yes, it's not implemented by *.c files, instead, it's written by assembly,
you can find it in ./lib/i86/rts/_sendrec.s.

HTH
--
Guanqun

Bianco Zandbergen

unread,
May 10, 2009, 8:25:08 AM5/10/09
to minix3
In fact the real implementation is written in C.
The assembly lib files just make the kernel trap.
You can find the implementation of IPC in /usr/src/kernel/proc.c
(mini_send, mini_receive, mini_notify etc.).

Bianco

On May 10, 1:24 pm, Guanqun Lu <guanqun...@gmail.com> wrote:
> Not sure what you're looking after.
> Do you mean by "receive" and "send" implementations?
> If yes, it's not implemented by *.c files, instead, it's written by assembly,
> you can find it in ./lib/i86/rts/_sendrec.s.
>
> HTH
>
> On Sun, May 10, 2009 at 2:08 PM, maillist.mi...@gmail.com
Reply all
Reply to author
Forward
0 new messages