Gregory Nutt
|
a604a86980
|
Fix an error introduced in a previous commit
|
2016-02-13 10:48:30 -06:00 |
|
Gregory Nutt
|
8ac699b63d
|
SMP: Need to perform all IDLE task memory allocations on initializatin thread prior to starting the other CPUs
|
2016-02-13 09:04:54 -06:00 |
|
Gregory Nutt
|
f45166af32
|
SMP: Fix a IDLE task semaphore operation
|
2016-02-12 18:03:08 -06:00 |
|
Gregory Nutt
|
3f7f58de9d
|
SMP: Fix some debug assertion problems when DEBUG is enabled; Partial fix for one bring-up issue
|
2016-02-12 17:13:38 -06:00 |
|
Gregory Nutt
|
7d7f4e140c
|
OS: Add a RUNNABLE attribute to the tasklists to indicate if the task list includes the currently executing task. Use this additional bit of information to determine if a context switch could really occur when removing a TCB from a task list
|
2016-02-12 08:15:16 -06:00 |
|
Gregory Nutt
|
c315479a04
|
SMP: Move IDLE thread init logic from sim to OS; need to assign unique IDs to each IDLE task
|
2016-02-11 14:11:26 -06:00 |
|
Gregory Nutt
|
ddbc948895
|
SMP: Minor SMP-related clean-up/improvements
|
2016-02-11 12:18:54 -06:00 |
|
Gregory Nutt
|
49227fa554
|
Scheduler: Replace the boolean 'prioritized' with a uint8_t bit set so that additional attributes of a list can be specified without adding more boolean values.
|
2016-02-11 08:06:33 -06:00 |
|
Gregory Nutt
|
0a7e136a5a
|
SMP: Idle thread must be assigned to a CPU
|
2016-02-11 08:01:09 -06:00 |
|
Gregory Nutt
|
96223cedf1
|
SMP: A little more
|
2016-02-10 15:43:05 -06:00 |
|
Gregory Nutt
|
3147dfc7d5
|
SMP: Add some tentative initialization logic
|
2016-02-10 13:49:27 -06:00 |
|
Gregory Nutt
|
47a5663f8c
|
SMP: A few preliminary data structure definitions
|
2016-02-10 11:45:26 -06:00 |
|
Gregory Nutt
|
2dc258986d
|
Add a state variable that provides the current level of OS initialization. This is needed by some logic that may attempt to run early in the start-up sequence, but cannot run if a sufficient level of initializaitn has not not yet occurred
|
2016-02-05 08:34:03 -06:00 |
|
Gregory Nutt
|
79d554939e
|
sched/: Fix some spacing issues
|
2015-10-07 19:59:14 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -06:00 |
|
Gregory Nutt
|
d78d3ef4ab
|
Logic for delayed memory garbage collection for the case of user space memory will not work as implemented for the case of the kernel build. That is because the correct context is in place in order to free the user memory when sched_kufree is called, but will not be in place later when the memory garbage collection runs. If this feature is really needed, then some more substantial redesign is required
|
2015-09-07 14:40:18 -06:00 |
|
Gregory Nutt
|
12d61531aa
|
Move board_ prototypes from arch.h to board.h
|
2015-02-27 20:02:03 -06:00 |
|
Gregory Nutt
|
8840102554
|
Networking: Divide net_intiialize() into net_setup() and net_initialize() to solve a chicken-and-egg problem. net_setup() must be caleld before up_initialize() is called so that networking data structures are ready to register new network devices.
net_initialize() now does only timer related operations and is called AFTER up_initialize() where the timers are configured. This is really.
|
2015-02-14 06:36:53 -06:00 |
|
Gregory Nutt
|
a1d3faaa8a
|
Update ChangeLog
|
2015-02-13 18:39:43 -06:00 |
|
Gregory Nutt
|
bc273596bb
|
Back out commit d998cbdfa6c10dbd8074dd43c39c23a006505987
|
2015-02-13 18:32:15 -06:00 |
|
Gregory Nutt
|
0fcd620404
|
Move the initialization of the networking subsystem to AFTER up_initialize is called. Fromo Macs Neklyudov.
|
2015-02-13 13:41:21 -06:00 |
|
Gregory Nutt
|
937f9f23f1
|
strncpy will not copy the terminating \0 into the destination if the source is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
|
2014-12-17 12:24:02 -06:00 |
|
Gregory Nutt
|
1aa528a572
|
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
|
2014-11-25 14:10:35 -06:00 |
|
Gregory Nutt
|
6f94e5e4be
|
Cosmetic chnages to comments
|
2014-11-20 07:10:48 -06:00 |
|
Gregory Nutt
|
b78fe7c270
|
Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORK
|
2014-10-11 15:59:40 -06:00 |
|
Gregory Nutt
|
b2cebaa9d4
|
Modularize starting of worker threads to better isolate individual initialization characteristics
|
2014-10-10 09:38:28 -06:00 |
|
Gregory Nutt
|
1afc9773ac
|
Decoupling work queue data structures. This is part of the preparation to support multiple low-priority worker threads
|
2014-10-10 08:35:58 -06:00 |
|
Gregory Nutt
|
6220256a09
|
Repartition work queue code. Move kernel-specific parts from libc/wqueue to sched/wqueue
|
2014-10-10 06:22:51 -06:00 |
|
Gregory Nutt
|
322f9f401c
|
Simplify how C source files are selected in the build
|
2014-10-07 07:42:36 -06:00 |
|
Gregory Nutt
|
37cf4135c4
|
fs_initialize() is no longer weak
|
2014-10-06 11:45:35 -06:00 |
|
Gregory Nutt
|
1f2cc9f4fe
|
Complete re-implementation of mq_close
|
2014-09-29 15:33:34 -06:00 |
|
Gregory Nutt
|
8c958be5ab
|
Semaphore initialization is now only required if priority inheritance is initialized
|
2014-09-29 06:50:48 -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
|
a73a3ef99f
|
Add shared memory initializatin logic
|
2014-09-23 08:46:31 -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
|
e958040269
|
Add capability to perform initial board initialization on a separate worker thread.
|
2014-09-03 18:36:43 -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
|
c81093913a
|
IDLE TCB setup needs to indicate the the IDLE thread is a privileged, kernel thread
|
2014-09-03 13:47:11 -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
|
a5af2568eb
|
sbrk() need to initialized the memory manager on the first call
|
2014-09-02 08:05:11 -06:00 |
|
Gregory Nutt
|
0e3c182e3b
|
Fix error in initialize of IDLE TCB due to last change. The argument list is no long in the TCB, but in the stack. But not for the IDLE task. It needs its own mini-argv[] list so that it looks more like other threads.
|
2014-09-01 16:49:42 -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
|
2904fb0420
|
Clean up some kernel build heap allocation issues. The Cortex-A kernel build now compiles without errors (but cannot link until brk() and sbrk() are implemented).
|
2014-08-31 12:50:05 -06:00 |
|
Gregory Nutt
|
34ff07008a
|
Add configuration options to start the system from a program on a file system
|
2014-08-30 13:27:23 -06:00 |
|
Gregory Nutt
|
2906ff6a4a
|
Cosmetic: Fix all comments, defaults, etc. that references the defunct name user_start
|
2014-08-30 11:14:51 -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
|
e1799b0423
|
Cortex-A/SAMA5 address environment support is code complete (untested)
|
2014-08-25 11:18:32 -06:00 |
|
Gregory Nutt
|
e1769b22f1
|
Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures
|
2014-08-08 18:39:28 -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 |
|