Commit History

Author SHA1 Message Date
  Gregory Nutt bb623d1e04 This commit renames all internal OS functions defined under sched/task so that they begin with the prefix. For example, nxtask_exit() vs. task_exit(). 5 years ago
  Gregory Nutt 78c8485b0d Fix some warnings found in build testing. 5 years ago
  Xiang Xiao b7f958a02e binfmt/, binfmt/libelf: binfmt/elf: Call umm_initialize as soon as possible otherwise elf_loadctors/elf_loaddtors will fail to allocate memory. 5 years ago
  Gregory Nutt 20a86dfc1b binfmt/ and sched/group: Re-architect the way that loadable ELF or NXFLAT modules are unloaded. Memory resources must be recovered when the task loaded into memory exits. The originmal implementatino used the death-of-child SIGCHLD signal to perform the unload. There are several problems with this: It is overly complex, it requires that the parent task stay resident while the loaded task runs, and it has fatal logic flaws in the protected and kernel model builds because the user signal handler attempts to run in the kernel address space. This commit corrects with using a mindlessly simply BINFMT callback when the task exits. 6 years ago
  Gregory Nutt bc2cded397 Squashed commit of the following: 7 years ago
  Gregory Nutt 374f1bd46c binfmt: Don't schedule starthook if there are no constructors. 7 years ago
  Gregory Nutt a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 8 years ago
  Gregory Nutt 86b79b33cf Reserver the name 'err' for other purposes 8 years ago
  Gregory Nutt 1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 8 years ago
  Gregory Nutt fc3540cffe Replace all occurrences of vdbg with vinfo 8 years ago
  Gregory Nutt 4a7fb2cbc1 binfmt: Cosmetic -- rename binfmt_internal.h to binfmt.h. Move related argument copy logic into new file, binfmt_copyargv.c 9 years ago
  Gregory Nutt 45eebacbb4 binfmt/: More spacing/alignment fixes 9 years ago
  Gregory Nutt b33c2d9cef Move include/nuttx/mm.h to include/nuttx/mm/mm.h 10 years ago
  Gregory Nutt 1863370672 Move include/nuttx/shm.h to include/nuttx/mm/shm.h 10 years ago
  Gregory Nutt 2fa7431ee7 Move include/nuttx/gran.h to include/nuttx/mm/gran.h 10 years ago
  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. 10 years ago
  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 10 years ago
  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 10 years ago
  Gregory Nutt 2eb71d5a35 Fix an ordering problem in integration of kernel stack logic 10 years ago
  Gregory Nutt 3649dab9bd Initial integration of kernel stack (does not work) 10 years ago
  Gregory Nutt 0fc55d042f Misc fixes to repair some of the breakage to the SAMA5D4-EK elf configuration caused by changes for the knsh configuration 10 years ago
  Gregory Nutt 205c23b9d6 Add logic to initialize the per-process user heap when each user process is started 10 years ago
  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. 10 years ago
  Gregory Nutt 76957599a2 When allocating a stack for a new process using the user-sapce allocator, need to select the address environment first 10 years ago
  Gregory Nutt 23147c40a5 Remove final traces of the 8015 from the NuttX source tree 10 years ago
  Gregory Nutt 205260d5e2 Reanem kzalloc to kmm_zalloc for consistency 10 years ago
  Gregory Nutt 54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 10 years ago
  Gregory Nutt 9aca0c1c84 Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming 10 years ago
  Gregory Nutt 9ad7dae4c1 Rename kufree to kumm_free for consistency with other naming 10 years ago
  Gregory Nutt 89593969be nuttx/sched: Remove explicit references to errno. That is a problem from within the kernel for certain configurations 10 years ago