osd-contiki/core/sys
matsutsuka 9d4fc0a1a8 Support for z80(sdcc) port.
In order to support, some core modules are modified as follows:

core/sys/dsc.h
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.
- DSC_HEADER is changed to remove extra semicolon.

core/sys/process.h
- process_data_t is expressed by void* in signatures (known bug on sdcc).

core/sys/autostart.h
- autostart_processes is changed to remove extra semicolon.

core/sys/cc.h
- CC_CONF_ASSIGN_AGGREGATE is introduced.
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
  of sdcc bug for an increment.

core/net/hc.c
core/net/uip_arp.c
core/net/uaodv.c
- Aggregation assignments are changed to uip_ipaddr_copy.

core/net/psock.c
core/net/uipbuf.c
core/net/dhcpc.c
apps/shell/shell.c
core/ctk/vnc-server.c
core/ctk/vnc-out.c
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

core/net/uip-over-mesh.c
- An extra semicolon is removed.

apps/dhcp/dhcp-dsc.c
apps/shell/shell-dsc.
apps/ftp/ftp-dsc.c
apps/process-list/process-list-dsc.c
apps/email/email-dsc.c
apps/webserver/webserver-dsc.c
apps/vnc/vnc-dsc.c
apps/vnc/vnc-viewer.h
apps/webbrowser/www-dsc.c
apps/about/about-dsc.c
apps/irc/irc-dsc.c
apps/telnet/telnet-dsc.c
apps/telnetd/telnetd-dsc.c
apps/netconf/netconf-dsc.c
apps/directory/directory-dsc.c
pps/calc/calc-dsc.c
- Modify an extern type to a real declaration, which is static
  to prevent a compile error.

core/net/mac/xmac.c
- Variables cannot be defined in a head of block on sdcc.

core/ctk/ctk.h
core/ctk/ctk.c
apps/program-handler/program-handler.c
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.

Makefile.include
- Add a set of configuration for an assembler.
- $(CLEAN) variable is introduced for customized cleanup.

apps/process-list/process-list.c
- PROCESSLIST_CONF_HEIGHT is introduced to address smaller screen size.

core/lib/ctk-filedialog.c
- FILES_CONF_HEIGHT is introduced to address smaller screen size.
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

apps/vnc/vnc-viewer.c
- A cast is added to prevent a compile error.
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

apps/webbrowser/webclient.c
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
  of sdcc bug for an increment.

core/loader/elfloader.c
- A cast is added to prevent a compile error.

core/net/rime/rimeaddr.c
- An initialization is added to prevent a compile error.

core/net/rime/rudolph0.c
- NULL is changed to 0, because NULL causes a compile error.

core/net/rime/route-discovery.c
- Add an argument to match the definition of nf_callbacks.

cpu/z80/strcasecmp.h
cpu/z80/strcasecmp.c
cpu/z80/contiki-sdcc-conf.h
cpu/z80/mtarch.c
cpu/z80/mtarch.h
cpu/z80/Makefile.z80
- New files to make compilation availble on sdcc.
- Added support for multithreading.
2007-08-30 14:39:16 +00:00
..
arg.c Added main header include. 2006-08-14 23:39:23 +00:00
arg.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
autostart.c Debug output 2007-03-25 17:16:57 +00:00
autostart.h Support for z80(sdcc) port. 2007-08-30 14:39:16 +00:00
cc.h Support for z80(sdcc) port. 2007-08-30 14:39:16 +00:00
clock.h Added experimental clock_fine() function 2007-03-25 21:51:31 +00:00
dsc.h Support for z80(sdcc) port. 2007-08-30 14:39:16 +00:00
etimer.c major bug fix: arithmetic was done incorrectly in update_time() + process already expired timers when adding timers 2006-10-09 16:05:58 +00:00
etimer.h Added the CCIF (Contiki Core InterFace) declarations used by the applications which are currently part of the Win32 build. 2006-08-26 23:54:00 +00:00
lc-addrlabels.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
lc-switch.h Spelling error fix 2007-03-28 19:52:50 +00:00
lc.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
loader.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
log.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
mt.c Removed unused code 2007-05-22 20:58:14 +00:00
mt.h Added mt_stop() calling mtarch_stop() to allow for thread resource cleanup. 2007-04-03 18:47:21 +00:00
process.c corrected comment 2007-04-04 09:19:18 +00:00
process.h Support for z80(sdcc) port. 2007-08-30 14:39:16 +00:00
procinit.c Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
procinit.h Changed macros to not include a trailing semicolon. 2007-08-22 10:49:48 +00:00
pt-sem.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
pt.h Fixed the behaviour of PT_SCHEDULE() so that it returns true if a protothread is still active (yielded or waiting). Thanks to Kevin Collins for fixing. 2006-09-26 20:57:58 +00:00
rtimer.c Documentation fix. Number of rtimers configurable with contiki-conf.h 2007-05-22 20:58:38 +00:00
rtimer.h Documentation fix. 2007-05-22 20:58:49 +00:00
subprocess.h A module that allows Contiki processes to have subprocesses. A subprocess is defined within another process and is created on the fly when needed. 2006-09-26 20:53:27 +00:00
timer.c Fixed typo. 2007-05-27 11:11:28 +00:00
timer.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00