This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
docs on using free bsd API port ?
- From: Philippe Moutarlier <philippe at alliantnetworks dot com>
- To: Ecos list <ecos-discuss at sources dot redhat dot com>
- Date: 18 Jul 2003 10:50:29 -0400
- Subject: [ECOS] docs on using free bsd API port ?
- Organization:
I am having some questions about the right way to interface with the
stack at the interface level. For example, is it safe to use the
if_attach function without data protection mechanism ? I found splnet
call in if_detach but not in if_attach.
I am also a little confused about the re-definition of malloc in kernel
mode. Can we still use the "classic" method when interfacing with the
stack (i.e. can I do "normal" malloc to create an ifnet before calling
if_attach ?).
More generally, is there documentation I could refer to at that level ?
The code itself doesn't seem to have too much of it..
Thanks
--
Philippe Moutarlier <philippe@alliantnetworks.com>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss