Commit Graph

8696 Commits

Author SHA1 Message Date
Gregory Nutt
4660e0e7f8 Enable NSH file applications in thise configureation 2014-09-12 12:46:06 -06:00
Gregory Nutt
6295203a82 Cosmetic changes 2014-09-12 12:44:03 -06:00
Gregory Nutt
4ee47eca8e Update ChangeLog 2014-09-12 10:34:12 -06:00
Gregory Nutt
1329c29ecd ELF: Critical bugfix.. BSS was not being cleared 2014-09-12 10:32:23 -06:00
Gregory Nutt
e411e8aa3f Comsetic updates to comments, debug output 2014-09-12 10:31:58 -06:00
Gregory Nutt
3fa0f7ed83 Update ChangeLog 2014-09-12 08:06:49 -06:00
Gregory Nutt
f8170550e1 ARMv7-A: Modify up_fullcontextrestore() for CONFIG_BUILD_KERNEL. It changed CPSR while in kernel. That will crash is the new CPSR is user mode while executing in kernel space. Fixed by adding a SYS_context_restore system call. There is an alternative, simpler modification to up_fullcontextrestore() that could have been done: It might have been possible to use the SPSR instead of the CPRSR and then do an exception return from up_fullcontextrestore(). That would be more efficient, but I never tried it. 2014-09-12 08:04:27 -06:00
Gregory Nutt
5a96bc37e4 Update ChangeLog 2014-09-11 18:45:50 -06:00
Gregory Nutt
814ac67f62 Fix logic for returning from exceptions to user-mode contexts 2014-09-11 18:43:30 -06:00
Gregory Nutt
bb7b5f3490 All tasks, even user mode tasks, must start in supervisor mode until they get past the start-up trampoline 2014-09-11 18:42:52 -06:00
Gregory Nutt
67838239c4 Update some comments/function headers 2014-09-11 17:15:26 -06:00
Gregory Nutt
ba7d5acf94 Fix a couple more places where the wrong allocator is being used 2014-09-11 15:56:04 -06:00
Gregory Nutt
8f2e9bcfdf Tighten up some ARM assembly language. You can always do better 2014-09-11 15:12:08 -06:00
Gregory Nutt
4f4d1daa9b Update ChangeLog 2014-09-11 14:47:22 -06:00
Gregory Nutt
9e990b4cbe Add LED support for the CC3200 Launchpad. From Jim Ewing 2014-09-11 14:45:20 -06:00
Gregory Nutt
47b1d64d9f Update ChangeLog 2014-09-11 14:35:52 -06:00
Gregory Nutt
57d78ddd93 ARMv7-A: Exception register save/restore needs to work a little differently if we support user mode processes 2014-09-11 14:34:10 -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
a20e584dab Update ChangeLog 2014-09-11 10:30:21 -06:00
Gregory Nutt
8d9df11ca2 Fix for UART7 and UART8 on STM32 clock enable from Aton 2014-09-11 10:27:40 -06:00
Gregory Nutt
5620909005 Update ChangeLog 2014-09-11 09:03:46 -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
a0c22020be Refresh NTOSD configurations. Fix some minor bit rot build issues 2014-09-11 07:44:16 -06:00
Gregory Nutt
81a4de4a4d Kconfig choice value needs a prompt 2014-09-11 07:18:33 -06:00
Gregory Nutt
0614f69b72 Fix some minor issues with the exampls/udp Makefile 2014-09-10 19:49:55 -06:00
Gregory Nutt
4a20cd65c5 clock_gettime.c: Fix a cornercase bug in clock_gettime() 2014-09-10 17:10:54 -06:00
Gregory Nutt
bb9e709c55 Update ChangeLog 2014-09-10 16:39:12 -06:00
Gregory Nutt
c19659d7d2 Fixes to clock bias logic. Remove vestiges of g_tickbias; apply bias instead to g_basetime 2014-09-10 16:36:25 -06:00
Gregory Nutt
c99c9ccb03 Update ChangeLog 2014-09-10 15:59:38 -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
0ee23991fd Update ChangeLog 2014-09-10 08:46:40 -06:00
Gregory Nutt
9a5640b542 SAMA5D4-EK: These configurations now use the fixed DRAM mapping for manipulating the page memory pool. 2014-09-10 08:44:09 -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
1f2adbd4c3 pcDuino: Several fixes so that it still builds after other Cortex-A changes. 2014-09-10 06:24:39 -06:00
Gregory Nutt
bf5eee323f Update ChangeLog 2014-09-09 17:33:46 -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
c40e60ac65 Updata ChangeLog 2014-09-09 16:55:14 -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
e00538967c Update ChangeLog 2014-09-09 15:47:48 -06:00
Gregory Nutt
de7fbf92a0 Add logic that will permit us to build user libraries with different CFLAGS than kernel code. This is needed because we need the -fno-common option when building ELF code to prevent SHN_COMMON relocations 2014-09-09 15:45:37 -06:00
Gregory Nutt
fc1c4131f3 Updata changelog 2014-09-09 14:55:37 -06:00
Gregory Nutt
43409eea31 Move commit library targets out of Makefile.unix and Makeifle.win into a new LibTargets.mk 2014-09-09 14:49:36 -06:00
Gregory Nutt
a9e0e7b41d Update changelog 2014-09-09 13:54:56 -06:00
Gregory Nutt
d7a3a2c432 SAMA5D4-EK kernel config can now boot from a ROMFS file system 2014-09-09 13:51:13 -06:00
Gregory Nutt
bcc400cffd Update ChangeLog 2014-09-09 08:15:33 -06:00
Gregory Nutt
a7681312f9 Add README.txt file for CC3200 Launchpad 2014-09-09 08:14:44 -06:00
Gregory Nutt
42299e4394 Update README file 2014-09-08 16:00:57 -06:00
Gregory Nutt
4cda2db309 Update CC3200 OpenOCD config 2014-09-08 16:00:26 -06:00