Gregory Nutt
|
a41c1de32c
|
Add basic data structures that will allow us to move named semaphore support out of the OS and into the VFS (not complete).
|
2014-09-28 10:15:33 -06:00 |
|
Gregory Nutt
|
7c6ba7bb77
|
Add prototype for MTD R/W buffering support
|
2014-09-25 09:31: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
|
566dc8dd38
|
Add interfaces to support un-initializing a granule allocator.
|
2014-09-23 15:50:45 -06:00 |
|
Gregory Nutt
|
edbaed19f9
|
Add logic necessary to handler remapping of shared memory on contex switches
|
2014-09-23 13:19:30 -06:00 |
|
Gregory Nutt
|
bf1e6224d5
|
Add platform-specific interfaces needed to support the shared memory feature
|
2014-09-23 12:16:44 -06:00 |
|
Gregory Nutt
|
5efd5738e9
|
Flesh out basic logic for shmget()
|
2014-09-23 10:42:18 -06:00 |
|
Gregory Nutt
|
a73a3ef99f
|
Add shared memory initializatin logic
|
2014-09-23 08:46:31 -06:00 |
|
Gregory Nutt
|
242d5f2068
|
Add README files and configuration support for the shared memory logic
|
2014-09-23 07:11:47 -06:00 |
|
Gregory Nutt
|
29075cf666
|
Add system calls for shared memory interfaces
|
2014-09-22 15:24:09 -06:00 |
|
Gregory Nutt
|
18ce64d61e
|
Add the build framework and skeleton files for the shared memory feature (no logic yet provided)
|
2014-09-22 14:53:56 -06:00 |
|
Gregory Nutt
|
34a057334c
|
Update SMART FS procfs support. From Ken Pettit
|
2014-09-22 11:19:49 -06:00 |
|
Gregory Nutt
|
b660a708d4
|
Add shared memory definitions, types, prototypes
|
2014-09-22 09:29:37 -06:00 |
|
Gregory Nutt
|
ffb60d064b
|
More naming changes to get the stm3240g-eval/nxterm configuration building again
|
2014-09-20 15:53:28 -06:00 |
|
Gregory Nutt
|
fefc4f624b
|
Change all occurrences of NxConsole to NxTerm
|
2014-09-20 15:01:50 -06:00 |
|
Gregory Nutt
|
0b67b111ae
|
Rename CONFIG_NXCONSOLE* to CONFIG_NXTERM*
|
2014-09-20 14:18:08 -06:00 |
|
Gregory Nutt
|
925fc9ad81
|
First round of changes to get the ELF configuration building again
|
2014-09-16 15:37:05 -06:00 |
|
Gregory Nutt
|
31824f5b53
|
execl() is not a system interface. It belongs in libc and should not have a system call associated with it.
|
2014-09-15 10:17:04 -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
|
3649dab9bd
|
Initial integration of kernel stack (does not work)
|
2014-09-14 11:19:34 -06:00 |
|
Gregory Nutt
|
de4956a2cd
|
Add the initial implementation of the process kernel stack logic. Not yet integrated into the main OS logic nor tested.
|
2014-09-14 09:53:54 -06:00 |
|
Gregory Nutt
|
b255883b0a
|
Rename everything associated with the dynamic process stack to ustack to make room in the name space for a kstack
|
2014-09-14 09:10:09 -06:00 |
|
Gregory Nutt
|
e12213592b
|
Don't build task_create() or task_spawn() interfaces if there is an addres environment
|
2014-09-14 08:22:21 -06:00 |
|
Gregory Nutt
|
6e48516a31
|
Add logic need to manage a virtualized stack. Not yet incorporated into base OS logic.
|
2014-09-13 13:45:35 -06:00 |
|
Gregory Nutt
|
f965ca1fed
|
Move static helper routines from arm_addrenv.c and may them global so that they can be shared both forthcoming stack address environment logic.
|
2014-09-13 13:17:44 -06:00 |
|
Gregory Nutt
|
ed9fced470
|
Add a configuration option for dynamic stack management
|
2014-09-13 12:25:32 -06:00 |
|
Gregory Nutt
|
282fe4aa10
|
exevc, execvl, posix_spawn, and posix_spawnp were not properly integrated as system calls.
|
2014-09-12 12:47:20 -06:00 |
|
Gregory Nutt
|
17e798993d
|
Trivial kernel build related fixes for consistency
|
2014-09-11 12:35:23 -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
|
fc35e35165
|
When a privileged thread exits, we have to use the kernel alloctor to free memory; when an unprivileged thread exits, we don't have to do anything... heap memory will be cleaned up when the address environment is torn down
|
2014-09-11 09:00:10 -06:00 |
|
Gregory Nutt
|
44499ed46c
|
Rename some functions and reshuffling some paramters
|
2014-09-11 08:37:06 -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
|
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
|
e953fb11cd
|
A const storage class to to phthread parameters. From Freddie Chopin
|
2014-09-08 06:21:48 -06:00 |
|
Gregory Nutt
|
1822b86373
|
Fix some conditional compilation in kernel build mode. And, while we are touching this logic, make g_default_pthread_attr const.
|
2014-09-07 10:46:58 -06:00 |
|
Gregory Nutt
|
166d46a819
|
Fix error in new macro definition that causes compile problem when not using a kernel-mode build
|
2014-09-04 07:01:22 -06:00 |
|
Gregory Nutt
|
b2a94b6f2b
|
Fix more places where the user-mode allocator is used to allocate kernel thread resources -- before the user-mode allocator even exists
|
2014-09-03 14:58:24 -06:00 |
|
Gregory Nutt
|
764e1235da
|
Add a flag to group structure: If the group is created by a kernel thread, then all resources in the group must be priviliged
|
2014-09-03 13:48:38 -06:00 |
|
Gregory Nutt
|
b05f29dbfe
|
I love/hate conditional compilation
|
2014-09-03 11:43:23 -06:00 |
|
Gregory Nutt
|
0c8cc8c691
|
Fix a typo in conditional compilation
|
2014-09-03 10:59:22 -06:00 |
|
Gregory Nutt
|
67d516d9d1
|
Fix several compile errors for logic added for CONFIG_BUILD_KERNEL, but which cause problems for other configurations
|
2014-09-03 09:21:59 -06:00 |
|
Gregory Nutt
|
1a4f8914c5
|
Add support for delivery of use-mode signals in the kernel build.
|
2014-09-02 15:58:14 -06:00 |
|
Gregory Nutt
|
b4438e44c5
|
Restructuring of build to allow use of use-space allocators by kernel logic in the kernel build.
|
2014-09-02 11:22:09 -06:00 |
|
Gregory Nutt
|
b085e084f4
|
Space at the beginning of the process data space is now reserved for user heap management structures. In the kernel build mode, these heap structures are shared between the kernel and use code in order to allocate user-specific data.
|
2014-09-02 11:21:23 -06:00 |
|
Gregory Nutt
|
8b082a167b
|
Add SYSCALL support for pgalloc()
|
2014-09-02 08:29:44 -06:00 |
|