Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of skinGames_forktest by
EthernetNetIf/LPC1768/lwip/arch/sys_arch.h@0:345b3bc7a0ea, 2012-03-28 (annotated)
- Committer:
- mbedalvaro
- Date:
- Wed Mar 28 14:40:01 2012 +0000
- Revision:
- 0:345b3bc7a0ea
This version (using rigid frame, base and child classes, etc) works, but the blob is strangely smaller. Need to check this.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbedalvaro | 0:345b3bc7a0ea | 1 | /* |
mbedalvaro | 0:345b3bc7a0ea | 2 | * Author: Adam Dunkels <adam@sics.se> |
mbedalvaro | 0:345b3bc7a0ea | 3 | * |
mbedalvaro | 0:345b3bc7a0ea | 4 | */ |
mbedalvaro | 0:345b3bc7a0ea | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
mbedalvaro | 0:345b3bc7a0ea | 6 | #define __LWIP_SYS_ARCH_H__ |
mbedalvaro | 0:345b3bc7a0ea | 7 | |
mbedalvaro | 0:345b3bc7a0ea | 8 | typedef unsigned int u32_t; |
mbedalvaro | 0:345b3bc7a0ea | 9 | |
mbedalvaro | 0:345b3bc7a0ea | 10 | #ifdef __cplusplus |
mbedalvaro | 0:345b3bc7a0ea | 11 | extern "C" { |
mbedalvaro | 0:345b3bc7a0ea | 12 | #endif |
mbedalvaro | 0:345b3bc7a0ea | 13 | |
mbedalvaro | 0:345b3bc7a0ea | 14 | //DG 2010 |
mbedalvaro | 0:345b3bc7a0ea | 15 | void sys_init(void); /* To be called first */ |
mbedalvaro | 0:345b3bc7a0ea | 16 | u32_t sys_jiffies(void); /* since power up. */ |
mbedalvaro | 0:345b3bc7a0ea | 17 | |
mbedalvaro | 0:345b3bc7a0ea | 18 | /** Returns the current time in milliseconds, |
mbedalvaro | 0:345b3bc7a0ea | 19 | * may be the same as sys_jiffies or at least based on it. */ |
mbedalvaro | 0:345b3bc7a0ea | 20 | u32_t sys_now(void); |
mbedalvaro | 0:345b3bc7a0ea | 21 | |
mbedalvaro | 0:345b3bc7a0ea | 22 | #ifdef __cplusplus |
mbedalvaro | 0:345b3bc7a0ea | 23 | } |
mbedalvaro | 0:345b3bc7a0ea | 24 | #endif |
mbedalvaro | 0:345b3bc7a0ea | 25 | |
mbedalvaro | 0:345b3bc7a0ea | 26 | |
mbedalvaro | 0:345b3bc7a0ea | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |