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 年之前 |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 年之前 |
Gregory Nutt
|
e7c52bac60
Squashed commit of the following:
|
7 年之前 |
Gregory Nutt
|
8198ba6a6d
This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_
|
7 年之前 |
Gregory Nutt
|
7370d3171a
Move include/nuttx/lib.h to include/nuttx/lib/lib.h
|
8 年之前 |
Gregory Nutt
|
6e3107650d
nuttx/sched: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
8 年之前 |
Gregory Nutt
|
b90da3f27b
waitpid: CRITICAL BUGFIX. Add a reference counting mechansim to prevent wait from using stale memory that was freed by the exiting task
|
8 年之前 |
Gregory Nutt
|
79d554939e
sched/: Fix some spacing issues
|
9 年之前 |
Gregory Nutt
|
16b32bbadd
Standardize the width of all comment boxes in C files
|
9 年之前 |
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 年之前 |
Gregory Nutt
|
ba7d5acf94
Fix a couple more places where the wrong allocator is being used
|
10 年之前 |
Gregory Nutt
|
44499ed46c
Rename some functions and reshuffling some paramters
|
10 年之前 |
Gregory Nutt
|
e3ff0689bb
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
|
10 年之前 |
Gregory Nutt
|
ad53cabf34
ADDRENV: Use a group flag to determine if there is an address environment (instead of the thread type)
|
10 年之前 |
Gregory Nutt
|
af22f273d3
Add group_addrenv() which will be called during context switches in order to change address environments. Not yet hooked in
|
10 年之前 |
Gregory Nutt
|
1725946447
Misc changed to get the SAMA5 ELF configuration with address environments working
|
10 年之前 |
Gregory Nutt
|
1624e2fbcf
Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support
|
10 年之前 |
Gregory Nutt
|
4e699b00de
Need to release the addess environment when the task group is released
|
10 年之前 |
Gregory Nutt
|
4ff17b3904
Move group logic from sched/ to sched/group
|
10 年之前 |