Update of /cvsroot/blob/blob/include/blob
In directory usw-pr-cvs1:/tmp/cvs-serv7633/include/blob
Modified Files:
Makefile.am time.h
Added Files:
icache.h
Log Message:
Move initcalls to separate file because other the linker will not
pick them up.
--- NEW FILE: icache.h ---
/*
* icache.h: header file for icache.c
*
* Copyright (C) 2001 Erik Mouw (J.A...@it...)
*
* $Id: icache.h,v 1.1 2001/10/07 20:16:57 erikm Exp $
*
* 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
*
*/
#ident "$Id: icache.h,v 1.1 2001/10/07 20:16:57 erikm Exp $"
#ifndef BLOB_ICACHE_H
#define BLOB_ICACHE_H
void enable_icache(void);
void disable_icache(void);
#endif
Index: Makefile.am
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am 2001/10/07 15:17:49 1.2
+++ Makefile.am 2001/10/07 20:16:57 1.3
@@ -16,6 +16,7 @@
errno.h \
error.h \
flash.h \
+ icache.h \
init.h \
led.h \
linux.h \
Index: time.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/time.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- time.h 2001/10/07 15:17:49 1.1
+++ time.h 2001/10/07 20:16:57 1.2
@@ -37,7 +37,7 @@
-#include "types.h"
+#include <blob/types.h>
@@ -45,6 +45,9 @@
#define TICKS_PER_SECOND 3686400
+
+
+void TimerInit(void);
/* returns the time in 1/TICKS_PER_SECOND seconds */
u32 TimerGetTime(void);
|