This website requires JavaScript.
Explore
Mirrors
Help
Sign In
Apple-2-SW
/
contiki
Watch
1
Star
0
Fork
0
You've already forked contiki
mirror of
https://github.com/oliverschmidt/contiki.git
synced
2024-12-23 01:29:33 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
e757cae8ea
contiki
/
cpu
History
adamdunkels
fc6d059d24
Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format. On platforms like the MSP430, which has a 16 bit native datatype, this cannot be implemented with an interrupt tick that increments a 32 bit value because access is not atomic. Instead, the MSP430 code increments 16 bit seconds value and converts this into a 32 bit value through an offset calculation. If the new value is smaller than the last check, the offset is incremented by 65536. This change also means that CLOCK_CONF_SECOND must be a power of two because a modulo operation is used inside the periodic tick interrupt handler.
2008-07-07 23:38:09 +00:00
..
6502
Added cfs_seek to the preprocessor level implementation of the cfs API.
2008-07-06 07:28:05 +00:00
at91sam7s
avr
Removed (now obsolete) PROCESS_LOADABLE.
2008-02-07 19:56:56 +00:00
msp430
Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format. On platforms like the MSP430, which has a 16 bit native datatype, this cannot be implemented with an interrupt tick that increments a 32 bit value because access is not atomic. Instead, the MSP430 code increments 16 bit seconds value and converts this into a 32 bit value through an offset calculation. If the new value is smaller than the last check, the offset is incremented by 65536. This change also means that CLOCK_CONF_SECOND must be a power of two because a modulo operation is used inside the periodic tick interrupt handler.
2008-07-07 23:38:09 +00:00
native
removed unnecessary inclusion
2008-07-04 03:03:41 +00:00
x86
z80
CC_CONST_FUNCTION replaces some const keywords in order to workaround a sdcc bug, which cannot handle function pointers as const.
2008-07-02 15:02:33 +00:00