RobT fork of EthernetNetIf library

Fork of EthernetNetIf by Donatien Garnier

Committer:
donatien
Date:
Fri Jun 11 16:25:22 2010 +0000
Revision:
0:422060928e37

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
donatien 0:422060928e37 1 /*
donatien 0:422060928e37 2 * Author: Adam Dunkels <adam@sics.se>
donatien 0:422060928e37 3 *
donatien 0:422060928e37 4 */
donatien 0:422060928e37 5 #ifndef __LWIP_SYS_ARCH_H__
donatien 0:422060928e37 6 #define __LWIP_SYS_ARCH_H__
donatien 0:422060928e37 7
donatien 0:422060928e37 8 typedef unsigned int u32_t;
donatien 0:422060928e37 9
donatien 0:422060928e37 10 #ifdef __cplusplus
donatien 0:422060928e37 11 extern "C" {
donatien 0:422060928e37 12 #endif
donatien 0:422060928e37 13
donatien 0:422060928e37 14 //DG 2010
donatien 0:422060928e37 15 void sys_init(void); /* To be called first */
donatien 0:422060928e37 16 u32_t sys_jiffies(void); /* since power up. */
donatien 0:422060928e37 17
donatien 0:422060928e37 18 /** Returns the current time in milliseconds,
donatien 0:422060928e37 19 * may be the same as sys_jiffies or at least based on it. */
donatien 0:422060928e37 20 u32_t sys_now(void);
donatien 0:422060928e37 21
donatien 0:422060928e37 22 #ifdef __cplusplus
donatien 0:422060928e37 23 }
donatien 0:422060928e37 24 #endif
donatien 0:422060928e37 25
donatien 0:422060928e37 26
donatien 0:422060928e37 27 #endif /* __LWIP_ARCH_CC_H__ */