Changed Contiki File System (cfs) from a service to a plain library.

This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
This commit is contained in:
oliverschmidt 2007-05-19 21:16:08 +00:00
parent 9f97290665
commit d4528e427f
7 changed files with 12 additions and 24 deletions

View file

@ -29,13 +29,12 @@
*
* This file is part of the Contiki OS
*
* $Id: contiki-main.c,v 1.4 2007/04/13 23:08:52 oliverschmidt Exp $
* $Id: contiki-main.c,v 1.5 2007/05/19 21:18:10 oliverschmidt Exp $
*
*/
#include "contiki.h"
#include "cfs/cfs-posix.h"
#include "net/uip.h"
#ifdef __CYGWIN__
#include "net/wpcap-service.h"
@ -44,9 +43,9 @@
#endif
#ifdef __CYGWIN__
PROCINIT(&etimer_process, &cfs_posix_process, &tcpip_process, &wpcap_process);
PROCINIT(&etimer_process, &tcpip_process, &wpcap_process);
#else
PROCINIT(&etimer_process, &cfs_posix_process, &tcpip_process, &tapdev_process);
PROCINIT(&etimer_process, &tcpip_process, &tapdev_process);
#endif
/*---------------------------------------------------------------------------*/