X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=scheduler_host.c;fp=scheduler_host.c;h=0000000000000000000000000000000000000000;hb=57895b3bb2fe0582c589685b7df34f3968b346ec;hp=965007fd0e76f102377554ad2bee70cf235cbd40;hpb=9a9b64112aee5ab26398b46cb13b7e49c292a355;p=protos%2Fxbee-avr.git diff --git a/scheduler_host.c b/scheduler_host.c deleted file mode 100644 index 965007f..0000000 --- a/scheduler_host.c +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Revision : $Id: scheduler_host.c,v 1.5.10.2 2007-03-05 14:41:07 zer0 Exp $ - * - */ - -#include -#include -#include - -#include -#include -#include - -/* this file is compiled for host version only */ - -/** declared in scheduler.c in case of AVR version */ -struct event_t g_tab_event[SCHEDULER_NB_MAX_EVENT]; - -#ifdef CONFIG_MODULE_SCHEDULER_STATS -struct scheduler_stats sched_stats; -#endif - -/** init all global data */ -void scheduler_init(void) -{ - memset(g_tab_event, 0, sizeof(g_tab_event)); - printf("Scheduler init (host). Warning, you have to call\n" - "scheduler_interrupt() by yourself on host version\n"); - DUMP_EVENTS(); -} -