Gregory Nutt
|
254a906409
|
libs/libc/builtin/: builtint_isavail() should not set the errno variable because this functions may be used by internal OS logic for which setting the rrno variable would be inappropriate.
|
2019-09-11 12:37:29 -06:00 |
Gregory Nutt
|
da9433a4c7
|
Fix another warnings and an error in typing introduced in the previous commit related to BINFS in PROTECTED mode.
|
2019-08-25 18:37:23 -06:00 |
Gregory Nutt
|
19b94da468
|
Fix a couple of warnings in last commit (one was really an error).
|
2019-08-25 17:37:13 -06:00 |
Gregory Nutt
|
f751aff7fe
|
boards/boardctl.c and libs/libc/builtin: The BINFS file system uses the same builtin library and builtin arrays as does NSH. The builtin arrays are simple name-value pairs that map builtin function names with the user-space entry point. In the FLAT build, the builtin arrays are available everywhere via the backdoor left open by the FLAT address space. In the PROTECTED build, however, the kernel must maintain its own reference to the user-space builtin array. This commits adds those kernel globals and a new boardctl(BOARDIOC_BUILTINS) that can be used by applications to the provide the builtin list reference to the kernel.
|
2019-08-25 16:58:43 -06:00 |