Commit Graph

136 Commits

Author SHA1 Message Date
Gregory Nutt
e10ab85d1d More changes to restore the native Windows build 2014-02-07 10:14:11 -06:00
Gregory Nutt
a5b8755bea Add a patch to work around the bug in the ZDS-II 5.0.1 toolchain 2014-01-24 11:58:30 -06:00
Gregory Nutt
297896fe0e getopt(): Could leave optind in undefined state if argc == 1 2014-01-20 13:13:36 -06:00
Gregory Nutt
e340fdb88c Minor documentation updates and other cosmetic changes 2014-01-20 13:10:30 -06:00
Gregory Nutt
be14ee1f95 Move strol(), stroul(), and friends from libc/string to libc/stdlib where they belong 2014-01-16 08:03:26 -06:00
Gregory Nutt
803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
46a94ce6c5 Cosmetic clean-up in preparation for TCP write buffering change 2014-01-13 08:21:18 -06:00
Gregory Nutt
25fd6d1904 NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line 2014-01-10 15:23:26 -06:00
Gregory Nutt
752068073a Forgot to add stpcpy.c in last commit 2014-01-10 07:09:59 -06:00
Gregory Nutt
4e2c140124 Add stpcpy() 2014-01-09 14:08:48 -06:00
Gregory Nutt
a0808e7b6d Minor fixes to lib_fgets() typing 2014-01-08 11:24:28 -06:00
Gregory Nutt
0bdee120a1 Add lib_libfgets() to better support the small differences between gets(), gets_s(), and fgets() 2014-01-08 10:47:34 -06:00
Gregory Nutt
e3b12cbaa9 Add x qualifier to fopen to support exlusive open 2014-01-07 17:18:38 -06:00
Gregory Nutt
c5f9b8768e Add type rsize_t and function gets_s() 2014-01-07 16:27:45 -06:00
Gregory Nutt
53ce920eae Add FAR to a couple of functions. The Z16F cares about such things 2014-01-02 12:36:20 -06:00
Gregory Nutt
a1f8bd0f58 The user-mode work queue was not being started 2013-12-31 12:48:11 -06:00
Gregory Nutt
90b269568b Fix some minor kernel mose NxWM build issues 2013-12-30 14:09:58 -06:00
Gregory Nutt
a457105a0b Move the NX components out of libc and into its own library, libnx 2013-12-28 08:40:03 -06:00
Gregory Nutt
090a18f863 Decoupling NX user interfaces to support NX kernel build (phase 5) 2013-12-27 16:30:18 -06:00
Gregory Nutt
ae29bcb5ab Decoupling NX user interfaces to support NX kernel build (phase 4) 2013-12-27 15:51:26 -06:00
Gregory Nutt
1e690c5a49 Decoupling NX user interfaces to support NX kernel build (phase 3) 2013-12-27 14:49:40 -06:00
Gregory Nutt
425d0cccaf Decoupling NX user interfaces to support NX kernel build (phase 2) 2013-12-27 14:30:13 -06:00
Gregory Nutt
2507017695 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt
c4380b5a8f ARMv7-A: If the page table does not like in same address range as .text and primary RAM, then we will need to set up an additional mapping for the page table at boot time. 2013-12-16 08:26:07 -06:00
Gregory Nutt
46b77e2544 Support /proc/uptime 2013-12-14 10:34:08 -06:00
Gregory Nutt
7aff059fd0 Move sleep() and usleep() from sched/ to libc/unistd/. These functions now are simple wrappers for nanosleep(). Remove sleep() and usleep() from system calls; add nanosleep() to system calls 2013-12-13 07:57:13 -06:00
Gregory Nutt
2e8b0d97e2 strftime should also return zero if the resulting string is truncated and/or not properly NUL terminated 2013-12-12 18:03:04 -06:00
Gregory Nutt
2fac3de49e strftime(): Need null-termination on generated string. From Max Holtzberg 2013-12-12 17:41:07 -06:00
Gregory Nutt
33a3bb0e37 Pattern matching logic extended by Ken Pettit 2013-12-12 08:40:54 -06:00
Gregory Nutt
bdf1ad69d6 libc logic should not directly assign errno, but should use set_errno() macro. This is because in the kernel build, errno is a system call 2013-12-11 14:54:22 -06:00
Gregory Nutt
692b087d07 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
78936f7260 Changes for ZDS-II ez80 build 2013-11-28 17:47:03 -06:00
Gregory Nutt
05d50e6379 A few changes needed for compilation with ZDS-II 2013-11-28 15:57:41 -06:00
Gregory Nutt
390378bfcf Remove unused apb_prepare function 2013-11-11 08:14:56 -06:00
Gregory Nutt
4ad7f73f54 libc/audio/lib_buffer.c must must correct allocation for execution domain 2013-11-10 12:22:01 -06:00
Gregory Nutt
725ef58a19 SAMA5 SSC: Add support for loopback mode. Plus unrelated Make.defs file from the last checkin 2013-11-10 11:46:45 -06:00
Gregory Nutt
8b73558ad7 Moved audio/buffer.c to libc/audio/lib_buffer.c so that it can be shared betweent he OS and applications in a kernel build 2013-11-10 11:20:06 -06:00
Gregory Nutt
545cef3223 scanf() fixes from kfrolov: 1) sscanf() function hangs in the following example: sscanf(2, %u,%u,%u,%u, ...), 2) sscanf() returns incorrect number of parsed numbers if some arguments can't be parsed: sscanf(=2, %u,%u,%u,%u,...)==1 instead of 0, and 3) using of char* instead of const char* in vsscanf function leads to warnings from GCC. 2013-10-21 10:41:15 -06:00
Gregory Nutt
566857bcbd Clean-up routing table design. 2013-10-05 12:05:51 -06:00
Gregory Nutt
02b8a8bf19 Clean up queue files so that they look more like others 2013-10-05 12:03:31 -06:00
Gregory Nutt
0ff3852b2f Add a user interface to manage the routing table 2013-10-02 10:51:48 -06:00
Gregory Nutt
30ffd2364c Remove some warnings 2013-10-01 12:10:09 -06:00
Gregory Nutt
dc4c6bcb57 When creating kernel dependencies, need to define __KERNEL__ 2013-09-29 15:03:10 -06:00
Gregory Nutt
c038f4efe0 Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00
Gregory Nutt
417f67c132 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
41f0c86cad Optimized sendfile() from Max Holtzberg 2013-09-28 14:47:49 -06:00
Gregory Nutt
bc46b447dc Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
352c313fa7 Fix typo/compilation error with USB device DMA memory allocation is enabled 2013-07-12 07:09:24 -06:00
Gregory Nutt
4d8a4b69a4 Add CRC16 support 2013-07-07 17:35:35 -06:00
Gregory Nutt
961837eaaf Fix an assertion 2013-06-02 16:49:41 -06:00