From 7bfdcaa22bd60cd34f11b0592c53fc5da1a37617 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 1 Sep 2014 13:21:15 -0600 Subject: Remove final traces of the 8015 from the NuttX source tree --- NxWidgets/libnxwidgets/src/cnxserver.cxx | 2 +- NxWidgets/nxwm/src/cnxconsole.cxx | 2 +- apps/examples/cc3000/telnetd_daemon.c | 4 +- apps/examples/ftpd/ftpd_main.c | 2 +- apps/examples/hidkbd/hidkbd_main.c | 5 -- apps/examples/nxconsole/nxcon_main.c | 2 +- apps/examples/ostest/fpu.c | 4 +- apps/examples/ostest/ostest_main.c | 5 -- apps/examples/ostest/restart.c | 2 +- apps/examples/ostest/waitpid.c | 2 +- apps/netutils/discover/discover.c | 2 +- apps/netutils/ntpclient/ntpclient.c | 2 +- apps/netutils/telnetd/telnetd_daemon.c | 4 +- apps/netutils/thttpd/libhttpd.c | 5 -- apps/netutils/thttpd/thttpd_cgi.c | 5 -- apps/system/stackmonitor/stackmonitor.c | 2 +- apps/system/usbmonitor/usbmonitor.c | 2 +- nuttx/Documentation/NuttX.html | 17 +++--- nuttx/Documentation/NuttxPortingGuide.html | 21 +------- nuttx/Documentation/README.html | 2 - nuttx/README.txt | 2 - nuttx/TODO | 61 ++-------------------- nuttx/arch/Kconfig | 12 ----- nuttx/arch/README.txt | 3 -- nuttx/binfmt/binfmt_execmodule.c | 13 ----- nuttx/configs/16z/nsh/defconfig | 2 - nuttx/configs/Kconfig | 12 ----- nuttx/configs/README.txt | 4 -- nuttx/configs/amber/hello/defconfig | 2 - nuttx/configs/arduino-due/nsh/defconfig | 2 - nuttx/configs/avr32dev1/nsh/defconfig | 2 - nuttx/configs/avr32dev1/ostest/defconfig | 2 - nuttx/configs/c5471evm/httpd/defconfig | 2 - nuttx/configs/c5471evm/nettest/defconfig | 2 - nuttx/configs/c5471evm/nsh/defconfig | 2 - nuttx/configs/cc3200-launchpad/nsh/defconfig | 2 - nuttx/configs/cloudctrl/nsh/defconfig | 2 - nuttx/configs/cloudctrl/src/up_usb.c | 2 +- nuttx/configs/compal_e86/nsh_highram/defconfig | 2 - nuttx/configs/compal_e88/nsh_highram/defconfig | 2 - nuttx/configs/compal_e99/nsh_compalram/defconfig | 2 - nuttx/configs/compal_e99/nsh_highram/defconfig | 2 - nuttx/configs/demo9s12ne64/ostest/defconfig | 2 - nuttx/configs/ea3131/nsh/defconfig | 2 - nuttx/configs/ea3131/pgnsh/defconfig | 2 - nuttx/configs/ea3131/src/up_usbhost.c | 2 +- nuttx/configs/ea3131/usbserial/defconfig | 2 - nuttx/configs/ea3152/ostest/defconfig | 2 - nuttx/configs/eagle100/httpd/defconfig | 2 - nuttx/configs/eagle100/nettest/defconfig | 2 - nuttx/configs/eagle100/nsh/defconfig | 2 - nuttx/configs/eagle100/nxflat/defconfig | 2 - nuttx/configs/eagle100/thttpd/defconfig | 2 - nuttx/configs/ekk-lm3s9b96/nsh/defconfig | 2 - nuttx/configs/ez80f910200kitg/ostest/defconfig | 2 - nuttx/configs/ez80f910200zco/dhcpd/defconfig | 2 - nuttx/configs/ez80f910200zco/httpd/defconfig | 2 - nuttx/configs/ez80f910200zco/nettest/defconfig | 2 - nuttx/configs/ez80f910200zco/nsh/defconfig | 2 - nuttx/configs/ez80f910200zco/poll/defconfig | 2 - nuttx/configs/fire-stm32v2/nsh/defconfig | 2 - nuttx/configs/freedom-kl25z/minnsh/defconfig | 2 - nuttx/configs/freedom-kl25z/nsh/defconfig | 2 - nuttx/configs/hymini-stm32v/buttons/defconfig | 2 - nuttx/configs/hymini-stm32v/nsh/defconfig | 2 - nuttx/configs/hymini-stm32v/nsh2/defconfig | 2 - nuttx/configs/hymini-stm32v/usbmsc/defconfig | 2 - nuttx/configs/hymini-stm32v/usbnsh/defconfig | 2 - nuttx/configs/hymini-stm32v/usbserial/defconfig | 2 - nuttx/configs/kwikstik-k40/ostest/defconfig | 2 - nuttx/configs/lincoln60/nsh/defconfig | 2 - nuttx/configs/lm3s6432-s2e/nsh/defconfig | 2 - nuttx/configs/lm3s6965-ek/discover/defconfig | 2 - nuttx/configs/lm3s6965-ek/nsh/defconfig | 2 - nuttx/configs/lm3s6965-ek/nx/defconfig | 2 - nuttx/configs/lm3s6965-ek/tcpecho/defconfig | 2 - nuttx/configs/lm3s8962-ek/nsh/defconfig | 2 - nuttx/configs/lm3s8962-ek/nx/defconfig | 2 - nuttx/configs/lm4f120-launchpad/nsh/defconfig | 2 - nuttx/configs/lpc4330-xplorer/nsh/defconfig | 2 - nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig | 2 - nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig | 2 - nuttx/configs/lpcxpresso-lpc1768/nx/defconfig | 2 - nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig | 2 - nuttx/configs/lpcxpresso-lpc1768/usbmsc/defconfig | 2 - nuttx/configs/maple/nsh/defconfig | 2 - nuttx/configs/maple/nx/defconfig | 2 - nuttx/configs/maple/usbnsh/defconfig | 2 - nuttx/configs/mbed/hidkbd/defconfig | 2 - nuttx/configs/mbed/nsh/defconfig | 2 - nuttx/configs/mcu123-lpc214x/composite/defconfig | 2 - nuttx/configs/mcu123-lpc214x/nsh/defconfig | 2 - nuttx/configs/mcu123-lpc214x/usbmsc/defconfig | 2 - nuttx/configs/mcu123-lpc214x/usbserial/defconfig | 2 - nuttx/configs/micropendous3/hello/defconfig | 2 - nuttx/configs/mikroe-stm32f4/fulldemo/defconfig | 2 - nuttx/configs/mikroe-stm32f4/kostest/defconfig | 2 - nuttx/configs/mikroe-stm32f4/nsh/defconfig | 2 - nuttx/configs/mikroe-stm32f4/nx/defconfig | 2 - nuttx/configs/mikroe-stm32f4/nxlines/defconfig | 2 - nuttx/configs/mikroe-stm32f4/nxtext/defconfig | 2 - nuttx/configs/mikroe-stm32f4/src/up_usb.c | 2 +- nuttx/configs/mikroe-stm32f4/usbnsh/defconfig | 2 - nuttx/configs/mirtoo/nsh/defconfig | 2 - nuttx/configs/mirtoo/nxffs/defconfig | 2 - nuttx/configs/mx1ads/ostest/defconfig | 2 - nuttx/configs/ne64badge/ostest/defconfig | 2 - nuttx/configs/ntosd-dm320/nettest/defconfig | 2 - nuttx/configs/ntosd-dm320/nsh/defconfig | 2 - nuttx/configs/ntosd-dm320/poll/defconfig | 2 - nuttx/configs/ntosd-dm320/thttpd/defconfig | 2 - nuttx/configs/ntosd-dm320/udp/defconfig | 2 - nuttx/configs/ntosd-dm320/webserver/defconfig | 2 - nuttx/configs/nucleo-f401re/nsh/defconfig | 2 - nuttx/configs/nucleus2g/nsh/defconfig | 2 - nuttx/configs/nucleus2g/usbmsc/defconfig | 2 - nuttx/configs/nucleus2g/usbserial/defconfig | 2 - nuttx/configs/nutiny-nuc120/nsh/defconfig | 2 - nuttx/configs/olimex-lpc-h3131/nsh/defconfig | 2 - nuttx/configs/olimex-lpc-h3131/src/lpc31_usbhost.c | 2 +- nuttx/configs/olimex-lpc1766stk/ftpc/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/hidmouse/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/nettest/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/nsh/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/nx/defconfig | 2 - .../configs/olimex-lpc1766stk/slip-httpd/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/src/lpc17_nsh.c | 5 -- nuttx/configs/olimex-lpc1766stk/thttpd/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/usbmsc/defconfig | 2 - .../configs/olimex-lpc1766stk/usbserial/defconfig | 2 - nuttx/configs/olimex-lpc1766stk/zmodem/defconfig | 2 - nuttx/configs/olimex-lpc2378/nsh/defconfig | 2 - nuttx/configs/olimex-stm32-h405/nshusb/defconfig | 2 - nuttx/configs/olimex-stm32-p107/nsh/defconfig | 2 - nuttx/configs/olimex-stm32-p207/nsh/defconfig | 2 - nuttx/configs/olimex-stm32-p207/src/up_usb.c | 2 +- nuttx/configs/olimex-strp711/nettest/defconfig | 2 - nuttx/configs/olimex-strp711/nsh/defconfig | 2 - nuttx/configs/open1788/knsh/defconfig | 2 - nuttx/configs/open1788/nsh/defconfig | 2 - nuttx/configs/open1788/nxlines/defconfig | 2 - nuttx/configs/open1788/src/lpc17_nsh.c | 5 -- nuttx/configs/p112/ostest/defconfig | 2 - nuttx/configs/pcblogic-pic32mx/nsh/defconfig | 2 - nuttx/configs/pcduino-a10/nsh/defconfig | 2 - nuttx/configs/pic32-starterkit/nsh/defconfig | 2 - nuttx/configs/pic32-starterkit/nsh2/defconfig | 2 - nuttx/configs/pic32-starterkit/src/up_nsh.c | 5 -- nuttx/configs/pic32mx7mmb/nsh/defconfig | 2 - nuttx/configs/pic32mx7mmb/src/up_nsh.c | 5 -- nuttx/configs/pirelli_dpl10/nsh_highram/defconfig | 2 - nuttx/configs/px4fmu-v2_upstream/nsh/defconfig | 2 - nuttx/configs/qemu-i486/nsh/defconfig | 2 - nuttx/configs/qemu-i486/ostest/defconfig | 2 - nuttx/configs/rgmp/arm/default/defconfig | 2 - nuttx/configs/rgmp/arm/nsh/defconfig | 2 - nuttx/configs/rgmp/x86/cxxtest/defconfig | 2 - nuttx/configs/rgmp/x86/default/defconfig | 2 - nuttx/configs/rgmp/x86/helloxx/defconfig | 2 - nuttx/configs/rgmp/x86/nsh/defconfig | 2 - nuttx/configs/sam3u-ek/knsh/defconfig | 2 - nuttx/configs/sam3u-ek/nsh/defconfig | 2 - nuttx/configs/sam3u-ek/nx/defconfig | 2 - nuttx/configs/sam3u-ek/nxwm/defconfig | 2 - nuttx/configs/sam4e-ek/nsh/defconfig | 2 - nuttx/configs/sam4e-ek/nxwm/defconfig | 2 - nuttx/configs/sam4e-ek/usbnsh/defconfig | 2 - nuttx/configs/sam4l-xplained/nsh/defconfig | 2 - nuttx/configs/sam4s-xplained-pro/nsh/defconfig | 2 - nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c | 2 +- nuttx/configs/sam4s-xplained/nsh/defconfig | 2 - nuttx/configs/sama5d3-xplained/nsh/defconfig | 2 - nuttx/configs/sama5d3-xplained/src/sam_usb.c | 4 +- nuttx/configs/sama5d3x-ek/demo/defconfig | 2 - nuttx/configs/sama5d3x-ek/hello/defconfig | 2 - nuttx/configs/sama5d3x-ek/norboot/defconfig | 2 - nuttx/configs/sama5d3x-ek/nsh/defconfig | 2 - nuttx/configs/sama5d3x-ek/nx/defconfig | 2 - nuttx/configs/sama5d3x-ek/nxplayer/defconfig | 2 - nuttx/configs/sama5d3x-ek/nxwm/defconfig | 2 - nuttx/configs/sama5d3x-ek/ov2640/defconfig | 2 - nuttx/configs/sama5d3x-ek/src/sam_usb.c | 4 +- nuttx/configs/sama5d4-ek/at25boot/defconfig | 2 - nuttx/configs/sama5d4-ek/dramboot/defconfig | 2 - nuttx/configs/sama5d4-ek/elf/defconfig | 2 - nuttx/configs/sama5d4-ek/kernel/defconfig | 2 - nuttx/configs/sama5d4-ek/nsh/defconfig | 2 - nuttx/configs/sama5d4-ek/nxwm/defconfig | 2 - nuttx/configs/sama5d4-ek/ramtest/defconfig | 2 - nuttx/configs/sama5d4-ek/src/sam_usb.c | 4 +- nuttx/configs/samd20-xplained/nsh/defconfig | 2 - nuttx/configs/shenzhou/nsh/defconfig | 2 - nuttx/configs/shenzhou/nxwm/defconfig | 2 - nuttx/configs/shenzhou/src/up_usb.c | 2 +- nuttx/configs/shenzhou/thttpd/defconfig | 2 - nuttx/configs/sim/configdata/defconfig | 2 - nuttx/configs/sim/cxxtest/defconfig | 2 - nuttx/configs/sim/mount/defconfig | 2 - nuttx/configs/sim/mtdpart/defconfig | 2 - nuttx/configs/sim/nettest/defconfig | 2 - nuttx/configs/sim/nsh/defconfig | 2 - nuttx/configs/sim/nsh2/defconfig | 2 - nuttx/configs/sim/nx/defconfig | 2 - nuttx/configs/sim/nx11/defconfig | 2 - nuttx/configs/sim/nxffs/defconfig | 2 - nuttx/configs/sim/nxlines/defconfig | 2 - nuttx/configs/sim/nxwm/defconfig | 2 - nuttx/configs/sim/ostest/defconfig | 2 - nuttx/configs/sim/pashello/defconfig | 2 - nuttx/configs/sim/touchscreen/defconfig | 2 - nuttx/configs/skp16c26/ostest/defconfig | 2 - nuttx/configs/spark/composite/defconfig | 2 - nuttx/configs/spark/nsh/defconfig | 2 - nuttx/configs/spark/usbmsc/defconfig | 2 - nuttx/configs/spark/usbnsh/defconfig | 2 - nuttx/configs/spark/usbserial/defconfig | 2 - nuttx/configs/stm3210e-eval/buttons/defconfig | 2 - nuttx/configs/stm3210e-eval/composite/defconfig | 2 - nuttx/configs/stm3210e-eval/nsh/defconfig | 2 - nuttx/configs/stm3210e-eval/nsh2/defconfig | 2 - nuttx/configs/stm3210e-eval/nx/defconfig | 2 - nuttx/configs/stm3210e-eval/nxconsole/defconfig | 2 - nuttx/configs/stm3210e-eval/pm/defconfig | 2 - nuttx/configs/stm3210e-eval/usbmsc/defconfig | 2 - nuttx/configs/stm3210e-eval/usbserial/defconfig | 2 - nuttx/configs/stm3220g-eval/dhcpd/defconfig | 2 - nuttx/configs/stm3220g-eval/nettest/defconfig | 2 - nuttx/configs/stm3220g-eval/nsh/defconfig | 2 - nuttx/configs/stm3220g-eval/nsh2/defconfig | 2 - nuttx/configs/stm3220g-eval/nxwm/defconfig | 2 - nuttx/configs/stm3220g-eval/src/up_usb.c | 2 +- nuttx/configs/stm3220g-eval/telnetd/defconfig | 2 - nuttx/configs/stm3240g-eval/dhcpd/defconfig | 2 - nuttx/configs/stm3240g-eval/discover/defconfig | 2 - nuttx/configs/stm3240g-eval/knxwm/defconfig | 2 - nuttx/configs/stm3240g-eval/nettest/defconfig | 2 - nuttx/configs/stm3240g-eval/nsh/defconfig | 2 - nuttx/configs/stm3240g-eval/nsh2/defconfig | 2 - nuttx/configs/stm3240g-eval/nxconsole/defconfig | 2 - nuttx/configs/stm3240g-eval/nxwm/defconfig | 2 - nuttx/configs/stm3240g-eval/src/up_boot.c | 2 +- nuttx/configs/stm3240g-eval/src/up_usb.c | 2 +- nuttx/configs/stm3240g-eval/telnetd/defconfig | 2 - nuttx/configs/stm3240g-eval/webserver/defconfig | 2 - nuttx/configs/stm3240g-eval/xmlrpc/defconfig | 2 - nuttx/configs/stm32_tiny/nsh/defconfig | 2 - nuttx/configs/stm32_tiny/usbnsh/defconfig | 2 - nuttx/configs/stm32f100rc_generic/nsh/defconfig | 2 - nuttx/configs/stm32f3discovery/nsh/defconfig | 2 - nuttx/configs/stm32f3discovery/usbnsh/defconfig | 2 - nuttx/configs/stm32f429i-disco/extflash/defconfig | 2 - nuttx/configs/stm32f429i-disco/nsh/defconfig | 2 - nuttx/configs/stm32f429i-disco/src/stm32_usb.c | 2 +- nuttx/configs/stm32f429i-disco/usbmsc/defconfig | 2 - nuttx/configs/stm32f429i-disco/usbnsh/defconfig | 2 - nuttx/configs/stm32f4discovery/cxxtest/defconfig | 2 - nuttx/configs/stm32f4discovery/elf/defconfig | 2 - nuttx/configs/stm32f4discovery/kostest/defconfig | 2 - nuttx/configs/stm32f4discovery/nsh/defconfig | 2 - nuttx/configs/stm32f4discovery/nxlines/defconfig | 2 - nuttx/configs/stm32f4discovery/pm/defconfig | 2 - .../configs/stm32f4discovery/posix_spawn/defconfig | 2 - nuttx/configs/stm32f4discovery/src/stm32_usb.c | 2 +- nuttx/configs/stm32f4discovery/usbnsh/defconfig | 2 - nuttx/configs/stm32f4discovery/winbuild/defconfig | 2 - nuttx/configs/stm32ldiscovery/nsh/defconfig | 2 - nuttx/configs/stm32vldiscovery/nsh/defconfig | 2 - nuttx/configs/sure-pic32mx/nsh/defconfig | 2 - nuttx/configs/sure-pic32mx/src/pic32mx_nsh.c | 5 -- nuttx/configs/sure-pic32mx/usbnsh/defconfig | 2 - nuttx/configs/teensy/hello/defconfig | 2 - nuttx/configs/teensy/nsh/defconfig | 2 - nuttx/configs/teensy/usbmsc/defconfig | 2 - nuttx/configs/tm4c123g-launchpad/nsh/defconfig | 2 - nuttx/configs/twr-k60n512/nsh/defconfig | 2 - nuttx/configs/ubw32/nsh/defconfig | 2 - nuttx/configs/us7032evb1/nsh/defconfig | 2 - nuttx/configs/us7032evb1/ostest/defconfig | 2 - nuttx/configs/viewtool-stm32f107/highpri/defconfig | 2 - nuttx/configs/viewtool-stm32f107/netnsh/defconfig | 2 - nuttx/configs/viewtool-stm32f107/nsh/defconfig | 2 - nuttx/configs/vsn/nsh/defconfig | 2 - nuttx/configs/xtrs/nsh/defconfig | 2 - nuttx/configs/xtrs/ostest/defconfig | 2 - nuttx/configs/xtrs/pashello/defconfig | 2 - nuttx/configs/z16f2800100zcog/nsh/defconfig | 2 - nuttx/configs/z16f2800100zcog/ostest/defconfig | 2 - nuttx/configs/z16f2800100zcog/pashello/defconfig | 2 - nuttx/configs/z80sim/nsh/defconfig | 2 - nuttx/configs/z80sim/ostest/defconfig | 2 - nuttx/configs/z80sim/pashello/defconfig | 2 - nuttx/configs/z8encore000zco/ostest/defconfig | 2 - nuttx/configs/z8f64200100kit/ostest/defconfig | 2 - nuttx/configs/zkit-arm-1769/hello/defconfig | 2 - nuttx/configs/zkit-arm-1769/nsh/defconfig | 2 - nuttx/configs/zkit-arm-1769/nxhello/defconfig | 2 - nuttx/configs/zkit-arm-1769/thttpd/defconfig | 2 - nuttx/configs/zp214xpa/nsh/defconfig | 2 - nuttx/configs/zp214xpa/nxlines/defconfig | 2 - nuttx/drivers/net/slip.c | 12 +---- nuttx/drivers/usbdev/usbmsc.c | 2 +- nuttx/drivers/usbhost/usbhost_hidkbd.c | 5 -- nuttx/drivers/usbhost/usbhost_hidmouse.c | 5 -- nuttx/graphics/nxmu/nx_start.c | 2 +- nuttx/include/nuttx/arch.h | 9 +--- nuttx/include/nuttx/kthread.h | 17 ------ nuttx/include/nuttx/sched.h | 5 +- nuttx/include/sched.h | 25 --------- nuttx/libc/wqueue/work_usrstart.c | 2 +- nuttx/sched/init/os_bringup.c | 10 ++-- nuttx/sched/init/os_start.c | 5 +- nuttx/sched/sched/sched_releasetcb.c | 10 ++-- nuttx/sched/task/task_create.c | 25 --------- nuttx/sched/task/task_init.c | 7 --- nuttx/sched/task/task_posixspawn.c | 2 +- nuttx/sched/task/task_setup.c | 15 +++--- nuttx/sched/task/task_spawn.c | 6 +-- 318 files changed, 76 insertions(+), 854 deletions(-) diff --git a/NxWidgets/libnxwidgets/src/cnxserver.cxx b/NxWidgets/libnxwidgets/src/cnxserver.cxx index 8dd448b87..e87c0fdf6 100644 --- a/NxWidgets/libnxwidgets/src/cnxserver.cxx +++ b/NxWidgets/libnxwidgets/src/cnxserver.cxx @@ -217,7 +217,7 @@ bool CNxServer::connect(void) // Start the server task gvdbg("CNxServer::connect: Starting server task\n"); - pid_t serverId = TASK_CREATE("NX Server", CONFIG_NXWIDGETS_SERVERPRIO, + pid_t serverId = task_create("NX Server", CONFIG_NXWIDGETS_SERVERPRIO, CONFIG_NXWIDGETS_SERVERSTACK, server, (FAR char * const *)0); if (serverId < 0) diff --git a/NxWidgets/nxwm/src/cnxconsole.cxx b/NxWidgets/nxwm/src/cnxconsole.cxx index b8577b635..be0718a10 100644 --- a/NxWidgets/nxwm/src/cnxconsole.cxx +++ b/NxWidgets/nxwm/src/cnxconsole.cxx @@ -250,7 +250,7 @@ bool CNxConsole::run(void) g_nxconvars.nxcon = 0; sched_lock(); - m_pid = TASK_CREATE("NxConsole", CONFIG_NXWM_NXCONSOLE_PRIO, + m_pid = task_create("NxConsole", CONFIG_NXWM_NXCONSOLE_PRIO, CONFIG_NXWM_NXCONSOLE_STACKSIZE, nxconsole, (FAR char * const *)0); diff --git a/apps/examples/cc3000/telnetd_daemon.c b/apps/examples/cc3000/telnetd_daemon.c index 2adadc60a..223774190 100644 --- a/apps/examples/cc3000/telnetd_daemon.c +++ b/apps/examples/cc3000/telnetd_daemon.c @@ -239,7 +239,7 @@ static int telnetd_daemon(int argc, char *argv[]) */ nllvdbg("Starting the telnet session\n"); - pid = TASK_CREATE("Telnet session", daemon->priority, daemon->stacksize, + pid = task_create("Telnet session", daemon->priority, daemon->stacksize, daemon->entry, NULL); if (pid < 0) { @@ -319,7 +319,7 @@ int telnetd_start(FAR struct telnetd_config_s *config) /* Then start the new daemon */ g_telnetdcommon.daemon = daemon; - pid = TASK_CREATE("Telnet daemon", config->d_priority, config->d_stacksize, + pid = task_create("Telnet daemon", config->d_priority, config->d_stacksize, telnetd_daemon, NULL); if (pid < 0) { diff --git a/apps/examples/ftpd/ftpd_main.c b/apps/examples/ftpd/ftpd_main.c index 507d90e5f..8054c3207 100644 --- a/apps/examples/ftpd/ftpd_main.c +++ b/apps/examples/ftpd/ftpd_main.c @@ -256,7 +256,7 @@ int ftpd_main(int s_argc, char **s_argv) if (!g_ftpdglob.running) { printf("Starting the FTP daemon\n"); - g_ftpdglob.pid = TASK_CREATE("FTP daemon", CONFIG_EXAMPLES_FTPD_PRIO, + g_ftpdglob.pid = task_create("FTP daemon", CONFIG_EXAMPLES_FTPD_PRIO, CONFIG_EXAMPLES_FTPD_STACKSIZE, ftpd_daemon, NULL); if (g_ftpdglob.pid < 0) diff --git a/apps/examples/hidkbd/hidkbd_main.c b/apps/examples/hidkbd/hidkbd_main.c index 67778f683..f1885744f 100644 --- a/apps/examples/hidkbd/hidkbd_main.c +++ b/apps/examples/hidkbd/hidkbd_main.c @@ -306,14 +306,9 @@ int hidkbd_main(int argc, char *argv[]) printf("hidkbd_main: Start hidkbd_waiter\n"); -#ifndef CONFIG_CUSTOM_STACK pid = task_create("usbhost", CONFIG_EXAMPLES_HIDKBD_DEFPRIO, CONFIG_EXAMPLES_HIDKBD_STACKSIZE, (main_t)hidkbd_waiter, (FAR char * const *)NULL); -#else - pid = task_create("usbhost", CONFIG_EXAMPLES_HIDKBD_DEFPRIO, - (main_t)hidkbd_waiter, (FAR char * const *)NULL); -#endif UNUSED(pid); /* Now just sleep. Eventually logic here will open the kbd device and diff --git a/apps/examples/nxconsole/nxcon_main.c b/apps/examples/nxconsole/nxcon_main.c index 45223dcb1..550ce4912 100644 --- a/apps/examples/nxconsole/nxcon_main.c +++ b/apps/examples/nxconsole/nxcon_main.c @@ -389,7 +389,7 @@ int nxcon_main(int argc, char **argv) * from this task. */ - g_nxcon_vars.pid = TASK_CREATE("NxConsole", CONFIG_EXAMPLES_NXCONSOLE_PRIO, + g_nxcon_vars.pid = task_create("NxConsole", CONFIG_EXAMPLES_NXCONSOLE_PRIO, CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE, nxcon_task, NULL); ASSERT(g_nxcon_vars.pid > 0); diff --git a/apps/examples/ostest/fpu.c b/apps/examples/ostest/fpu.c index 2729348ed..47b668524 100644 --- a/apps/examples/ostest/fpu.c +++ b/apps/examples/ostest/fpu.c @@ -308,7 +308,7 @@ void fpu_test(void) g_fpuno = 0; printf("Starting task FPU#1\n"); - task1 = TASK_CREATE("FPU#1", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); + task1 = task_create("FPU#1", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); if (task1 < 0) { printf("fpu_test: ERROR Failed to start task FPU#1\n"); @@ -321,7 +321,7 @@ void fpu_test(void) usleep(250); printf("Starting task FPU#2\n"); - task2 = TASK_CREATE("FPU#2", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); + task2 = task_create("FPU#2", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); if (task2 < 0) { printf("fpu_test: ERROR Failed to start task FPU#1\n"); diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index f7879ed3a..8e78e5d2d 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -552,13 +552,8 @@ int ostest_main(int argc, FAR char *argv[]) /* Verify that we can spawn a new task */ -#ifndef CONFIG_CUSTOM_STACK result = task_create("ostest", PRIORITY, STACKSIZE, user_main, (FAR char * const *)g_argv); -#else - result = task_create("ostest", PRIORITY, user_main, - (FAR char * const *)g_argv); -#endif if (result == ERROR) { printf("ostest_main: ERROR Failed to start user_main\n"); diff --git a/apps/examples/ostest/restart.c b/apps/examples/ostest/restart.c index 0d0f90d07..703dbd90e 100644 --- a/apps/examples/ostest/restart.c +++ b/apps/examples/ostest/restart.c @@ -166,7 +166,7 @@ void restart_test(void) /* Start the task */ - ret = TASK_CREATE("ostest", PRIORITY, STACKSIZE, restart_main, g_argv); + ret = task_create("ostest", PRIORITY, STACKSIZE, restart_main, g_argv); if (ret < 0) { printf("restart_main: ERROR Failed to start restart_main\n"); diff --git a/apps/examples/ostest/waitpid.c b/apps/examples/ostest/waitpid.c index 0649748a2..6b6de7908 100644 --- a/apps/examples/ostest/waitpid.c +++ b/apps/examples/ostest/waitpid.c @@ -84,7 +84,7 @@ static void waitpid_start_children(void) for (i = 0; i < NCHILDREN; i++) { - ret = TASK_CREATE("waitpid", PRIORITY, STACKSIZE, waitpid_main, NULL); + ret = task_create("waitpid", PRIORITY, STACKSIZE, waitpid_main, NULL); if (ret < 0) { printf("waitpid_start_child: ERROR Failed to start waitpid_main\n"); diff --git a/apps/netutils/discover/discover.c b/apps/netutils/discover/discover.c index dcd008a48..41e7ecd1e 100644 --- a/apps/netutils/discover/discover.c +++ b/apps/netutils/discover/discover.c @@ -452,7 +452,7 @@ int discover_start(struct discover_info_s *info) /* Then start the new daemon */ - pid = TASK_CREATE("Discover daemon", CONFIG_DISCOVER_PRIORITY, + pid = task_create("Discover daemon", CONFIG_DISCOVER_PRIORITY, CONFIG_DISCOVER_STACK_SIZE, discover_daemon, NULL); if (pid < 0) { diff --git a/apps/netutils/ntpclient/ntpclient.c b/apps/netutils/ntpclient/ntpclient.c index ea016067c..a0d8d19f6 100644 --- a/apps/netutils/ntpclient/ntpclient.c +++ b/apps/netutils/ntpclient/ntpclient.c @@ -491,7 +491,7 @@ int ntpc_start(void) g_ntpc_daemon.state = NTP_STARTED; g_ntpc_daemon.pid = - TASK_CREATE("NTP daemon", CONFIG_NETUTILS_NTPCLIENT_SERVERPRIO, + task_create("NTP daemon", CONFIG_NETUTILS_NTPCLIENT_SERVERPRIO, CONFIG_NETUTILS_NTPCLIENT_STACKSIZE, ntpc_daemon, NULL); diff --git a/apps/netutils/telnetd/telnetd_daemon.c b/apps/netutils/telnetd/telnetd_daemon.c index 94b340290..e08d23d04 100644 --- a/apps/netutils/telnetd/telnetd_daemon.c +++ b/apps/netutils/telnetd/telnetd_daemon.c @@ -239,7 +239,7 @@ static int telnetd_daemon(int argc, char *argv[]) */ nllvdbg("Starting the telnet session\n"); - pid = TASK_CREATE("Telnet session", daemon->priority, daemon->stacksize, + pid = task_create("Telnet session", daemon->priority, daemon->stacksize, daemon->entry, NULL); if (pid < 0) { @@ -319,7 +319,7 @@ int telnetd_start(FAR struct telnetd_config_s *config) /* Then start the new daemon */ g_telnetdcommon.daemon = daemon; - pid = TASK_CREATE("Telnet daemon", config->d_priority, config->d_stacksize, + pid = task_create("Telnet daemon", config->d_priority, config->d_stacksize, telnetd_daemon, NULL); if (pid < 0) { diff --git a/apps/netutils/thttpd/libhttpd.c b/apps/netutils/thttpd/libhttpd.c index 2b4b9767c..4abf9473e 100644 --- a/apps/netutils/thttpd/libhttpd.c +++ b/apps/netutils/thttpd/libhttpd.c @@ -1865,14 +1865,9 @@ static int ls(httpd_conn *hc) snprintf(arg, 16, "%p", hc); /* task_create doesn't handle binary arguments. */ argv[0] = arg; -#ifndef CONFIG_CUSTOM_STACK child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, CONFIG_THTTPD_CGI_STACKSIZE, (main_t)ls_child, (FAR char * const *)argv); -#else - child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, - (main_t)ls_child, (FAR char * const *)argv); -#endif if (child < 0) { ndbg("task_create: %d\n", errno); diff --git a/apps/netutils/thttpd/thttpd_cgi.c b/apps/netutils/thttpd/thttpd_cgi.c index 1c931bb22..27eb470cf 100644 --- a/apps/netutils/thttpd/thttpd_cgi.c +++ b/apps/netutils/thttpd/thttpd_cgi.c @@ -1021,14 +1021,9 @@ int cgi(httpd_conn *hc) argv[0] = arg; argv[1] = NULL; -#ifndef CONFIG_CUSTOM_STACK child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, CONFIG_THTTPD_CGI_STACKSIZE, (main_t)cgi_child, (FAR char * const *)argv); -#else - child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, - (main_t)cgi_child, (FAR char * const *)argv); -#endif if (child < 0) { ndbg("task_create: %d\n", errno); diff --git a/apps/system/stackmonitor/stackmonitor.c b/apps/system/stackmonitor/stackmonitor.c index 2c912fcbf..8587fda63 100644 --- a/apps/system/stackmonitor/stackmonitor.c +++ b/apps/system/stackmonitor/stackmonitor.c @@ -152,7 +152,7 @@ int stackmonitor_start(int argc, char **argv) g_stackmonitor.started = true; g_stackmonitor.stop = false; - ret = TASK_CREATE("Stack Monitor", CONFIG_SYSTEM_STACKMONITOR_PRIORITY, + ret = task_create("Stack Monitor", CONFIG_SYSTEM_STACKMONITOR_PRIORITY, CONFIG_SYSTEM_STACKMONITOR_STACKSIZE, (main_t)stackmonitor_daemon, (FAR char * const *)NULL); if (ret < 0) diff --git a/apps/system/usbmonitor/usbmonitor.c b/apps/system/usbmonitor/usbmonitor.c index 252a5890d..25bc681e5 100644 --- a/apps/system/usbmonitor/usbmonitor.c +++ b/apps/system/usbmonitor/usbmonitor.c @@ -197,7 +197,7 @@ int usbmonitor_start(int argc, char **argv) g_usbmonitor.started = true; g_usbmonitor.stop = false; - ret = TASK_CREATE("USB Monitor", CONFIG_SYSTEM_USBMONITOR_PRIORITY, + ret = task_create("USB Monitor", CONFIG_SYSTEM_USBMONITOR_PRIORITY, CONFIG_SYSTEM_USBMONITOR_STACKSIZE, (main_t)usbmonitor_daemon, (FAR char * const *)NULL); if (ret < 0) diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 049d4294e..276ae22a7 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: August 15, 2014

+

Last Updated: September 1, 2014

@@ -1254,7 +1254,7 @@
  • Intel
  • @@ -1330,7 +1330,7 @@
  • Intel
  • @@ -3622,8 +3622,7 @@ Mem: 29232 5920 23312 23312

    PJRC 87C52 Development Board. - This port uses the PJRC 87C52 development system - and the SDCC toolchain under Linux or Cygwin. + This port uses the PJRC 87C52 development system and the SDCC toolchain under Linux or Cygwin.

    diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 7bbadfaed..07996d513 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -607,10 +607,6 @@ This is a work in progress. -
  • arch/8051: - 8051 Microcontroller. This port is not quite ready for prime time. -
  • -
  • arch/z16f: Zilog z16f Microcontroller. This port uses the Zilog z16f2800100zcog Development Kit. @@ -950,12 +946,6 @@ (PICkit 2 does not work with the PIC32).
  • -
  • configs/pjrc-8051: - 8051 Microcontroller. This port uses the PJRC 87C52 development system - and the SDCC toolchain under Linux or Cygwin. - This port is not quite ready for prime time. -
  • -
  • configs/qemu-i486: Port of NuttX to QEMU in i486 mode. This port will also run on real i486 hardware (Google the Bifferboard). @@ -1806,9 +1796,6 @@ The system can be re-made subsequently by just typing make.
  • adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The initial value of the stack pointer. -

    - This API is NOT required if CONFIG_CUSTOM_STACK is defined. -

    Input Parameters:

    -

    - This API is NOT required if CONFIG_CUSTOM_STACK is defined. -

    Input Parameters:

    - This API is NOT required if CONFIG_BUILD_PROTECTED and CONFIG_BUILD_KERNEL are undefined or if CONFIG_CUSTOM_STACK is defined. + This API is NOT required if CONFIG_BUILD_PROTECTED and CONFIG_BUILD_KERNEL are undefined.

    Input Parameters: