Gregory Nutt
|
2407008b6e
|
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
|
2015-02-01 07:24:16 -06:00 |
|
Gregory Nutt
|
771bbc1be8
|
Cosmetic change to debug output
|
2014-12-08 09:43:01 -06:00 |
|
Gregory Nutt
|
d9344793a9
|
Remove unused setting of a variable
|
2014-12-07 07:16:20 -06:00 |
|
Gregory Nutt
|
bd1b5094b4
|
Trivial binfmt logic clean-up
|
2014-11-14 10:38:58 -06:00 |
|
Gregory Nutt
|
9e290c10b5
|
Fix some compile issues introduces with removal of CONFIG_MAX_TASK_ARGS
|
2014-11-14 09:53:11 -06:00 |
|
Gregory Nutt
|
7c119ba787
|
Binfmt no longer depends on a fixed sized argv[] list
|
2014-11-12 18:31:32 -06:00 |
|
Gregory Nutt
|
179fabb019
|
Add description of work queues to the porting guide. Update comments
|
2014-10-14 10:21:18 -06:00 |
|
Gregory Nutt
|
dd9e42ec0c
|
Fix a compile problem noted by Marco Cruz
|
2014-10-13 12:07:40 -06:00 |
|
Gregory Nutt
|
2311a97ad6
|
Remaining files under nuttx/binfmt changed to use the corrected syslog interfaces
|
2014-10-08 15:34:51 -06:00 |
|
Gregory Nutt
|
dadbbb8ac5
|
Fix some misleading debug output
|
2014-09-26 14:58:03 -06:00 |
|
Gregory Nutt
|
b33c2d9cef
|
Move include/nuttx/mm.h to include/nuttx/mm/mm.h
|
2014-09-24 07:29:09 -06:00 |
|
Gregory Nutt
|
1863370672
|
Move include/nuttx/shm.h to include/nuttx/mm/shm.h
|
2014-09-24 07:05:02 -06:00 |
|
Gregory Nutt
|
2fa7431ee7
|
Move include/nuttx/gran.h to include/nuttx/mm/gran.h
|
2014-09-24 06:55:26 -06:00 |
|
Gregory Nutt
|
835c91b03a
|
Add support for a per-process virtual page allocator. This is a new member of the task_group_s structure. The allocaor must be initialized when a new user process is started and uninitialize when the process group is finally destroyed. It is used by shmat() and shmdt() to pick the virtual address onto which to map the shared physical memory.
|
2014-09-23 16:04:39 -06:00 |
|
Gregory Nutt
|
398f7b594f
|
execv() is a basic system interface. It should not be in libc/ but rather in sched/task. Its symboltable helper logic also belongs in the kernel but belings in binfmt/ with the other symbol table logic
|
2014-09-15 10:15:47 -06:00 |
|
Gregory Nutt
|
da7a440b35
|
execv() is a basic system interface. It should not be in libc/ but rather in sched/task. Its symboltable helper logic also belongs in the kernel but belings in binfmt/ with the other symbol table logic
|
2014-09-15 10:15:19 -06:00 |
|
Gregory Nutt
|
62880f60c4
|
In kernel mode, we have to duplicate the callers argv[] buffer when exec'ing new tasks. When the argv[] buffer is needed, the caller's address environment will not longer be in place
|
2014-09-14 14:10:23 -06:00 |
|
Gregory Nutt
|
2eb71d5a35
|
Fix an ordering problem in integration of kernel stack logic
|
2014-09-14 12:40:09 -06:00 |
|
Gregory Nutt
|
3649dab9bd
|
Initial integration of kernel stack (does not work)
|
2014-09-14 11:19:34 -06:00 |
|
Gregory Nutt
|
1329c29ecd
|
ELF: Critical bugfix.. BSS was not being cleared
|
2014-09-12 10:32:23 -06:00 |
|
Gregory Nutt
|
67838239c4
|
Update some comments/function headers
|
2014-09-11 17:15:26 -06:00 |
|
Gregory Nutt
|
0fc55d042f
|
Misc fixes to repair some of the breakage to the SAMA5D4-EK elf configuration caused by changes for the knsh configuration
|
2014-09-11 10:31:12 -06:00 |
|
Gregory Nutt
|
205c23b9d6
|
Add logic to initialize the per-process user heap when each user process is started
|
2014-09-10 15:55:36 -06:00 |
|
Gregory Nutt
|
df4682fd1f
|
Add configuration to use the fixed DRAM mapping for the page pool (if available) instead of remapping dynamically to access L2 page tables and page data. Also, add logic in address environment creation to initialize the shared data at the beginning of the .bss/.data process memory region.
|
2014-09-10 08:41:01 -06:00 |
|
Gregory Nutt
|
76957599a2
|
When allocating a stack for a new process using the user-sapce allocator, need to select the address environment first
|
2014-09-09 17:32:32 -06:00 |
|
Gregory Nutt
|
c458e72b70
|
ELF relocations. Some relocation types do not have a named symbol associated with them. The design did not account for that case
|
2014-09-09 16:52:51 -06:00 |
|
Gregory Nutt
|
b63eea45b6
|
Improved binfmt debug output
|
2014-09-07 13:47:01 -06:00 |
|
Gregory Nutt
|
39c95050ab
|
Fix typo in ELF variable name (only see it when C++ support is enabled)
|
2014-09-07 13:46:13 -06:00 |
|
Gregory Nutt
|
23147c40a5
|
Remove final traces of the 8015 from the NuttX source tree
|
2014-09-01 13:21:15 -06:00 |
|
Gregory Nutt
|
205260d5e2
|
Reanem kzalloc to kmm_zalloc for consistency
|
2014-08-31 17:34:44 -06:00 |
|
Gregory Nutt
|
1780810d3d
|
Rename kmalloc to kmm_malloc for consistency
|
2014-08-31 17:26:36 -06:00 |
|
Gregory Nutt
|
54fa3b0b59
|
Rename kfree to kmm_free for consistency with other naming conventions
|
2014-08-31 17:04:02 -06:00 |
|
Gregory Nutt
|
9aca0c1c84
|
Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming
|
2014-08-31 16:24:24 -06:00 |
|
Gregory Nutt
|
9ad7dae4c1
|
Rename kufree to kumm_free for consistency with other naming
|
2014-08-31 16:15:11 -06:00 |
|
Gregory Nutt
|
9cd1ddada4
|
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
|
2014-08-31 15:27:37 -06:00 |
|
Gregory Nutt
|
e3ff0689bb
|
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
|
2014-08-29 14:47:22 -06:00 |
|
Gregory Nutt
|
89593969be
|
nuttx/sched: Remove explicit references to errno. That is a problem from within the kernel for certain configurations
|
2014-08-28 17:00:43 -06:00 |
|
Gregory Nutt
|
ad53cabf34
|
ADDRENV: Use a group flag to determine if there is an address environment (instead of the thread type)
|
2014-08-27 09:37:28 -06:00 |
|
Gregory Nutt
|
0db7da1858
|
Add up_addrenv_coherent which will be called before address environment switches
|
2014-08-26 14:53:19 -06:00 |
|
Gregory Nutt
|
b13d9b4161
|
Rename up_addrenv_assign() to up_addrenv_clone() and generalize its arguments so that can be used for other purposes
|
2014-08-26 12:16:05 -06:00 |
|
Gregory Nutt
|
7e0ce83e47
|
Can't dump loaded code unless we first establish the mappings
|
2014-08-26 10:42:42 -06:00 |
|
Gregory Nutt
|
d52599fe8e
|
Change when address environment is instantiated; there are/were locations where access is made to the allocation address environment when it is not yet in place
|
2014-08-26 07:57:30 -06:00 |
|
Gregory Nutt
|
66a5328a68
|
Cortex-A address environment: Fix some section mapping and address increments
|
2014-08-26 06:33:26 -06:00 |
|
Gregory Nutt
|
1725946447
|
Misc changed to get the SAMA5 ELF configuration with address environments working
|
2014-08-25 13:28:13 -06:00 |
|
Gregory Nutt
|
e0a48b60b6
|
Change naming of ELF interfaces from arch_ to up_ for consistency
|
2014-08-25 06:47:14 -06:00 |
|
Gregory Nutt
|
7aea220ebf
|
After cached related fix, the ELF example is now functional
|
2014-08-24 14:12:45 -06:00 |
|
Gregory Nutt
|
1708a133f5
|
Fix some compilation errors in ELF logic that were introduced in a recent commit
|
2014-08-24 12:57:02 -06:00 |
|
Gregory Nutt
|
241a7e17bd
|
addrenv interface changes: up_addrenv_create() may need to create .text and .bss/.data separately because of differing access privileges (read/execute vs read/write). And, as a consequence, up_addrenv_vaddr() needs to be split into up_addrenv_vtext(0 and up_addrenv_vdata().
|
2014-08-24 11:54:14 -06:00 |
|
Gregory Nutt
|
2cb9d5c7b0
|
Add addrenv.h; First cut at Cortex-A address environment structures; Add configuration options to setup address enviornment
|
2014-08-24 09:57:53 -06:00 |
|
Gregory Nutt
|
1624e2fbcf
|
Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support
|
2014-08-24 06:42:11 -06:00 |
|
Gregory Nutt
|
e79d6e3c8b
|
A few fixes for compilation errors due to recent address environment fixes
|
2014-08-22 15:55:00 -06:00 |
|
Gregory Nutt
|
1d586e6136
|
An address environment is the property of a task group, not of a thread
|
2014-08-22 12:32:34 -06:00 |
|
Gregory Nutt
|
d798dd37a7
|
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
|
2014-08-08 17:53:55 -06:00 |
|
Gregory Nutt
|
2dd9ce50c8
|
Clean-up up some warning
|
2014-07-11 11:58:46 -06:00 |
|
Gregory Nutt
|
5df891ff28
|
Fix an error in exec(). argv[] has not being passed
|
2014-06-15 13:22:44 -06:00 |
|
Gregory Nutt
|
d864c38e31
|
ELF: Fix compilation error when CONFIG_ELF_DUMPBUFFER is defined. From Pelle Windestam
|
2014-06-12 07:53:31 -06:00 |
|
Gregory Nutt
|
8ef77ac3d9
|
Updated README and comments
|
2014-05-10 11:36:20 -06:00 |
|
Gregory Nutt
|
806aee8247
|
Move prun from interpreters/ to system/; And an NSH built-in appliation that can be used to execute P-Code files from the NSH command line
|
2014-05-09 12:30:07 -06:00 |
|
Gregory Nutt
|
a3e2598d90
|
Move P-Code execution logic from interpreters/prun to system/prun
|
2014-05-09 11:09:43 -06:00 |
|
Gregory Nutt
|
415500c6d9
|
Make sure apps/examples/pashello still builds; update comments; refresh configurations
|
2014-05-09 10:33:23 -06:00 |
|
Gregory Nutt
|
ed2e4a15dc
|
Create P-Code execution helper in apps/interpreters/prun; The P-Code binary format is functional except that there are still some modularity and kernel build issues that need to be addressed.
|
2014-05-09 08:52:11 -06:00 |
|
Gregory Nutt
|
e18844de32
|
P-code BINFMT: Add logic to pass information from the binfmt logic to the P-code interpreter. This includes some extension to the binfmt interfaces.
|
2014-05-08 16:58:10 -06:00 |
|
Gregory Nutt
|
93629d7192
|
Minor fix to debug format
|
2014-05-08 11:18:55 -06:00 |
|
Gregory Nutt
|
7fffa72ee5
|
Add a ROMFS file system for testing the P-Code binary format
|
2014-05-08 11:08:01 -06:00 |
|
Gregory Nutt
|
b6f264488a
|
BINFMT: A framework to support a P-code binary format (a work in progress)
|
2014-05-07 13:47:52 -06:00 |
|
Gregory Nutt
|
f2ac4d6403
|
STM32: Add more complication to STM32 Kconfig so the correct ADC and CAN options presented for the F401RE. There are still invalid peripheral options being presented
|
2014-05-06 08:32:21 -06:00 |
|
Gregory Nutt
|
227cd6ca66
|
BINFMT: Fix an error in the symbol search function. Noted by Pelle Windestam
|
2014-05-06 07:49:52 -06:00 |
|
Gregory Nutt
|
f8024cf409
|
More trailing whilespace removal
|
2014-04-13 16:22:22 -06:00 |
|
Gregory Nutt
|
303cc1902b
|
Make sure that there is one space between if and condition
|
2014-04-12 12:53:19 -06:00 |
|
Gregory Nutt
|
91b002a043
|
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
|
2014-02-10 18:08:49 -06:00 |
|
Gregory Nutt
|
95b63762fb
|
Fix a memory leak in dynamic loader
|
2014-01-11 14:11:41 -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
|
4748599a43
|
.dSYM only needs to be in the same .gitignore files as .exe
|
2013-05-30 15:02:04 -06:00 |
|
Gregory Nutt
|
7554d2888e
|
Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files
|
2013-05-30 14:45:31 -06:00 |
|
Gregory Nutt
|
db78b76102
|
Mostly updates and corrections to .gitignore files
|
2013-04-04 15:39:50 -06:00 |
|
Gregory Nutt
|
23db0682b7
|
Clone svn:ignore directory atributed to .gitignore files
|
2013-04-04 14:27:29 -06:00 |
|
patacongo
|
82b86f9c4a
|
binfmt_execmodule() calls to sched_releasttcb() was not updated to use the second, thread type parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5779 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-23 19:06:40 +00:00 |
|
patacongo
|
3bf2c1b355
|
Change prototypes of up_create_stack and up_release_stack to include a task type parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-20 18:22:21 +00:00 |
|
patacongo
|
1c52dce216
|
More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-09 21:12:20 +00:00 |
|
patacongo
|
64235de94a
|
Add a THTTPD configuratin for zkit-arm-1769
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5675 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-26 16:28:30 +00:00 |
|
patacongo
|
426f8f0214
|
LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-08 00:17:54 +00:00 |
|
patacongo
|
7b3ec4e146
|
Divide struct tcb_s into structs task_tcb_s and pthread_tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5611 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 21:24:00 +00:00 |
|
patacongo
|
b48009644f
|
Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 18:46:28 +00:00 |
|
patacongo
|
329328e5df
|
New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-02 19:31:30 +00:00 |
|
patacongo
|
ad430fc198
|
Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-28 21:55:16 +00:00 |
|
patacongo
|
151dfee1f9
|
Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-27 15:52:58 +00:00 |
|
patacongo
|
3888a00d2d
|
Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-18 01:52:42 +00:00 |
|
patacongo
|
4a801e4904
|
NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-17 18:32:13 +00:00 |
|
patacongo
|
956bded9c1
|
Add logic to automatically unload module on exit; Several patches from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5528 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-17 14:43:55 +00:00 |
|
patacongo
|
828c1c65c7
|
Change the way thread priority is handled in binfmt/ to better match the way that priority is set up for the builtin tasks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5527 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-17 00:30:12 +00:00 |
|
patacongo
|
86e99bb6cf
|
Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-16 19:08:23 +00:00 |
|
patacongo
|
e5908285c4
|
Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-16 17:05:00 +00:00 |
|
patacongo
|
5eafdabc5f
|
BINFS now supports open, close, and FIOC_FILENAME ioctl
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5522 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-16 14:14:14 +00:00 |
|
patacongo
|
c76795d32b
|
Add execv() and execl(); Move lm3s header files for compatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5492 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-08 16:25:30 +00:00 |
|
patacongo
|
2545f5c1a9
|
Verify PATH variable in apps/examples/elf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5445 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-19 22:18:30 +00:00 |
|
patacongo
|
d6f761430c
|
Some minor fixes for CONFIG_ADDRENV=y
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5444 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-19 21:16:03 +00:00 |
|
patacongo
|
a160442b78
|
Incorporate address environment interfaces in binfmt/ logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5443 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-19 17:54:26 +00:00 |
|
patacongo
|
a304329d46
|
Integrate PATH traversal logic and binary format logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5441 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-17 14:43:31 +00:00 |
|
patacongo
|
c2be20d319
|
Add basic hooks to support a PATH variable (more is needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5440 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-16 21:15:27 +00:00 |
|
patacongo
|
0f218d0e00
|
Add support for the Z180 MMU and generic hooks for processes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5428 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-11 18:04:04 +00:00 |
|