Gregory Nutt
c19aa094e1
C Library: Add setbuf() which is a trivial wrapper around setvbuf().
2017-02-09 15:04:53 -06:00
Alan Carvalho de Assis
248d5d3185
MMC/SD SDIO: Some drivers need to start DMA before sending CMD24 and some AFTER
2017-02-09 11:13:05 -06:00
Gregory Nutt
1d290c2b37
setvbuf: Add support for disabling I/O buffering. Initially cut; untested.
2017-02-09 09:24:44 -06:00
Gregory Nutt
9f859774a1
setvbuf: Add support for configuration of line buffering.
2017-02-08 11:28:24 -06:00
Gregory Nutt
51a14c9b2f
C Library: Add a very limited, first step implementation of setvbuf(). This is a collaborative effort. Alan Carvalho de Assis did the initial prototype.
2017-02-08 10:33:18 -06:00
Gregory Nutt
2d2fe301cb
Update some comments; link counter can be uint8_t; Add a debug assertion.
2017-02-07 15:50:54 -06:00
Gregory Nutt
b758176963
stat(): Add logic to avoid infinite recursive in circular paths containing soft links.
2017-02-07 12:32:45 -06:00
Gregory Nutt
62a1f6f110
up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list.
2017-02-07 10:35:04 -06:00
Gregory Nutt
36704b7d9c
FS: Argument is now a structure describing the search.
2017-02-04 11:21:44 -06:00
Gregory Nutt
982cfea490
Remove some unnecessary (and inappropriate) soft link logic
2017-02-03 15:50:41 -06:00
Gregory Nutt
4417e74977
Soft links: Add an (untested) implementation of readlink()
2017-02-03 13:57:12 -06:00
Gregory Nutt
60ba5a5261
Soft links: Fix logic and remove kludge of last commit. Rename inode_dereference() as inode_linktarget() and make global.
2017-02-03 13:22:33 -06:00
Gregory Nutt
7c59e05305
FS: Separate inode_search() and inode_free() from fs_inode.c and put in separate files. Flesh out symbolic link logic in stat() and readdir(). There are still some issues with stat().
2017-02-03 11:23:57 -06:00
Gregory Nutt
b39d962021
Soft links: Update Documentation, rename file, add system calls
2017-02-02 17:11:08 -06:00
Gregory Nutt
35d738d85f
Soft links: Fix compile problems on first build with soft links enabled.
2017-02-02 15:24:39 -06:00
Gregory Nutt
bdc002fadc
Finish implementation of soft links.
2017-02-02 13:01:21 -06:00
Gregory Nutt
92305e400a
Soft links: Initial, incompete implementation
2017-02-02 10:39:41 -06:00
Gregory Nutt
2a4791f4ee
Removed dmasupported() method from the SDIO interface. That is now a bit in the cpapability set.
2017-01-31 09:51:15 -06:00
Gregory Nutt
9ac00a355f
Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots.
2017-01-31 09:16:01 -06:00
Gregory Nutt
e30b2617e3
Shared Libs: Implement module based shared libraries for the PROTECTED mode build
2017-01-29 13:03:53 -06:00
Gregory Nutt
2c45f482b1
Module names are not needed in libc/modlib when the module library is used only for shared library support.
2017-01-29 12:23:24 -06:00
Gregory Nutt
86bdd0a4c7
Modules: Move last of many C files from sched/module to libc/modlib
2017-01-29 11:54:54 -06:00
Gregory Nutt
6da66fb5c8
Modules: Move next five of many C files from sched/module to libc/modlib
2017-01-29 11:17:29 -06:00
Gregory Nutt
5e94dd22bb
Modules: Move first five of many C files from sched/module to libc/modlib
2017-01-29 10:05:15 -06:00
Gregory Nutt
2717e781f0
libc/modlib: Add build a configuration logic for a shared module library.
2017-01-29 08:55:27 -06:00
Gregory Nutt
b79ca9dcdd
Modules: Move sched/module/module.h to include/nuttx/lib/modlib.h
2017-01-29 08:24:42 -06:00
Gregory Nutt
34e539926a
Syscalls: Remove modsym() syscall. There is no reason why appication code could ever use symbolic information from a symbol within a kernel module. The modsym() interface is only meaningful within the kernel.
2017-01-28 11:03:06 -06:00
Aleksandr Vyhovanec
c98db4ecd5
Fix return falue if x is NaN
2017-01-25 14:04:49 +03:00
Gregory Nutt
a06d26e044
Shared libraries: Add a non-standard dllfnc.h function to set the symbol table.
2017-01-23 08:20:24 -06:00
Gregory Nutt
c4acabaa74
In dlopen(), use the basename of the file as the module name
2017-01-22 16:01:03 -06:00
Gregory Nutt
4574a1ca42
Modules: Extend the module interface so that we can access symbols exported by the module.
2017-01-22 14:26:22 -06:00
Gregory Nutt
d90e66a024
Kernel Modules: Module initializer may now return a symbol table (not yet used for anything)
2017-01-22 11:37:49 -06:00
Gregory Nutt
2a284a95b1
C library: Add framework that may (or may not) eventually support shared libraries.
2017-01-22 09:14:18 -06:00
Gregory Nutt
7578382890
Add dllfcn.h header file (no implementation of shared objects yet in place).
2017-01-21 13:07:40 -06:00
Gregory Nutt
3c4684ef5f
Eliminate CONFIG_ARCH_OPTIMIZED_FUNCTIONS. Move options to select architectur-specific C library options from libc/Kconfig to libc/machine/Kconfig and rename.
2017-01-20 09:30:07 -06:00
Gregory Nutt
c07192df7e
Update some comments
2017-01-17 15:30:41 -06:00
Aleksandr Vyhovanec
bf528f2071
packed_struct replaced by begin_packed_struct and end_packed_struct
2017-01-09 14:17:49 +03:00
Gregory Nutt
7035d232f8
NX server: Correct message queue names. Should not be at /dev, but rather relative to /var/mqueue.
2017-01-08 09:14:11 -06:00
Gregory Nutt
d7173f2eb5
Font cache: Enforce mutually exclusive access to the font cache
2017-01-06 09:50:30 -06:00
Gregory Nutt
0b52e6f571
Font cache: Replace fixed-size array with variable size link list.
2017-01-06 09:07:25 -06:00
Gregory Nutt
dc05af6436
Graphics: Initial separation of font cache from graphics/nxterm. Now in libnx/nxfronts
2017-01-05 18:36:29 -06:00
Gregory Nutt
d91cf5736e
With last changes the Tom Thumb 3x5 font is now 4x6
2017-01-04 10:31:53 -06:00
Alan Carvalho de Assis
6c826bb209
Add support for Tom Thumb small mono-space font
2017-01-03 11:11:47 -06:00
Gregory Nutt
cfb876263a
SMP: There were certain conditions that we must avoid by preventing releasing the pending tasks while withn a critical section. But this logic was incomplete; there was no logic to prevent other CPUs from adding new, running tasks while on CPU is in a critical section.
...
This commit corrects this. This is matching logic in sched_addreadytorun to avoid starting new tasks within the critical section (unless the CPU is the holder of the lock). The holder of the IRQ lock must be permitted to do whatever it needs to do.
2016-12-27 08:49:07 -06:00
Lorenz Meier
b0fcf3abd7
termios.h: Fix CRTSCTS define to include input and output flow
2016-12-26 07:41:44 -06:00
Gregory Nutt
9e8b1f32d2
sched note: record ID enumeration now results on constant values; ID values do not change with configuration. This makes writing post-processing software much easier
2016-12-24 15:44:21 -06:00
Gregory Nutt
81697f2285
Xtensa ESP32: Fix APP CPU startup... Can't use semaphores on the IDLE thread.
2016-12-20 11:26:37 -06:00
Gregory Nutt
f063e4c5ac
Remove Calypso architecture support and support for Calypso SERCOMM driver.
2016-12-13 18:35:52 -06:00
Gregory Nutt
c83da3c48f
Remove minnsh configurations and support logic: up_getc() and lowinstream.
...
This was an interesting exercise to see just how small you could get NuttX, but otherwise it was not useful: (1) the NSH code violated the OS interface layer by callup up_getc and up_putc directly, and (2) while waiting for character input, NSH would call up_getc() which would hog all of the CPU. NOt a reasonably solution other than as a proof of concept.
2016-12-13 18:01:23 -06:00
Gregory Nutt
d648f9c8b4
Add task_testcancel()
2016-12-10 16:34:14 -06:00