Commit Graph

8421 Commits

Author SHA1 Message Date
Gregory Nutt
d35723749b Minor address environment clean-up. Cannot generate debug contexts in certain contexts 2014-08-27 14:22:00 -06:00
Gregory Nutt
a2463148fc Can't used task_create() if address environments enabled 2014-08-27 14:19:41 -06:00
Gregory Nutt
ad53cabf34 ADDRENV: Use a group flag to determine if there is an address environment (instead of the thread type) 2014-08-27 09:37:28 -06:00
Gregory Nutt
355bef617f Updated CC3200 Launchpad defconfig file 2014-08-26 16:42:06 -06:00
Gregory Nutt
c3a498264e CC3200 Launchpad updates 2014-08-26 16:31:47 -06:00
Gregory Nutt
f65b319037 Updates to CC3200 board config. Does not quite build yet 2014-08-26 15:49:50 -06:00
Gregory Nutt
95dd304d11 Update ChangeLog 2014-08-26 15:38:11 -06:00
Gregory Nutt
b831f241d8 Add basic support for the CC3200 Launchpad. From Jim Ewing 2014-08-26 15:36:02 -06:00
Gregory Nutt
2c40815569 Support the the TC3200 from Jim Ewing 2014-08-26 15:13:57 -06:00
Gregory Nutt
582800a04d Add group_addrenv() which will be called during context switches in order to change address environments. Not yet hooked in 2014-08-26 14:57:05 -06:00
Gregory Nutt
af22f273d3 Add group_addrenv() which will be called during context switches in order to change address environments. Not yet hooked in 2014-08-26 14:54:39 -06:00
Gregory Nutt
0db7da1858 Add up_addrenv_coherent which will be called before address environment switches 2014-08-26 14:53:19 -06:00
Gregory Nutt
519e9c85e9 up_coherent_dcache should do nothing the the length is zero 2014-08-26 14:51:53 -06:00
Gregory Nutt
b13d9b4161 Rename up_addrenv_assign() to up_addrenv_clone() and generalize its arguments so that can be used for other purposes 2014-08-26 12:16:05 -06:00
Gregory Nutt
a14cb94b45 Mostly cosmetic use of uintptr_t to hold addresses instead of uint32_t 2014-08-26 10:44:10 -06:00
Gregory Nutt
7e0ce83e47 Can't dump loaded code unless we first establish the mappings 2014-08-26 10:42:42 -06:00
Gregory Nutt
3a44227caa Fix confusion about what is a page of data and what is a page of L2 page table; restructure functions to reduce duplicated logic 2014-08-26 10:41:43 -06:00
Gregory Nutt
d52599fe8e Change when address environment is instantiated; there are/were locations where access is made to the allocation address environment when it is not yet in place 2014-08-26 07:57:30 -06:00
Gregory Nutt
dbeba82e85 Add lots of debug output 2014-08-26 07:54:43 -06:00
Gregory Nutt
66a5328a68 Cortex-A address environment: Fix some section mapping and address increments 2014-08-26 06:33:26 -06:00
Gregory Nutt
e87804cc8c ARMv7-A: Use of write back might be unpredictable 2014-08-25 16:34:22 -06:00
Gregory Nutt
00f5e8f70e Bugfixes.. still integrating SAMA5 ELF with address environment 2014-08-25 15:27:58 -06:00
Gregory Nutt
17cc5caa98 SAMA5 ELF configuration with address environments finally builds without errors 2014-08-25 13:59:02 -06:00
Gregory Nutt
1725946447 Misc changed to get the SAMA5 ELF configuration with address environments working 2014-08-25 13:28:13 -06:00
Gregory Nutt
8c535f00dd Update configs/sama5d4-ek/elf/defconfig 2014-08-25 11:24:54 -06:00
Gregory Nutt
b4268bfe9c Update ChangeLog 2014-08-25 11:23:19 -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
e0a48b60b6 Change naming of ELF interfaces from arch_ to up_ for consistency 2014-08-25 06:47:14 -06:00
Gregory Nutt
a832f97e90 Resolve ChangeLog conflicts 2014-08-25 06:26:48 -06:00
Gregory Nutt
2c0bc7f261 Update ChangeLog 2014-08-25 06:12:32 -06:00
Gregory Nutt
7e9f569ac6 Add build support for ELF modules. Useless at the moment because there is no x86 relocation logic 2014-08-25 06:09:09 -06:00
Gregory Nutt
285e1cd7be Update some sim/ defconfig files. This now automatically switches them to x86_64 builds 2014-08-25 06:08:17 -06:00
Gregory Nutt
ff6b6af425 Update ChangeLog 2014-08-24 14:14:32 -06:00
Gregory Nutt
7aea220ebf After cached related fix, the ELF example is now functional 2014-08-24 14:12:45 -06:00
Gregory Nutt
a8034f495f Add a SAMA5 ELF configuration that is buing used to test the address environment changes 2014-08-24 12:59:13 -06:00
Gregory Nutt
df4525de25 Add linker scripts needed to build ELF modules 2014-08-24 12:57:42 -06:00
Gregory Nutt
1708a133f5 Fix some compilation errors in ELF logic that were introduced in a recent commit 2014-08-24 12:57:02 -06:00
Gregory Nutt
021c3be415 Add ELF CFLAGS and LDFLAGS in some Make.defs files 2014-08-24 12:56:28 -06:00
Gregory Nutt
ed2d8e438e Fix some SAMA5 configuration dependency problems that are only visible when networking is disabled 2014-08-24 12:55:51 -06:00
Gregory Nutt
10b621ac10 Modify ADDRENV Kconfigs. Z180 does not need all of the virtual address settings that the ARM does 2014-08-24 12:54:37 -06:00
Gregory Nutt
bccacc4fa0 Update ChangeLog 2014-08-24 11:55:58 -06:00
Gregory Nutt
241a7e17bd addrenv interface changes: up_addrenv_create() may need to create .text and .bss/.data separately because of differing access privileges (read/execute vs read/write). And, as a consequence, up_addrenv_vaddr() needs to be split into up_addrenv_vtext(0 and up_addrenv_vdata(). 2014-08-24 11:54:14 -06:00
Gregory Nutt
c1e40b1d12 Update ChangeLog 2014-08-24 09:59:54 -06:00
Gregory Nutt
2cb9d5c7b0 Add addrenv.h; First cut at Cortex-A address environment structures; Add configuration options to setup address enviornment 2014-08-24 09:57:53 -06:00
Gregory Nutt
aa48638d57 Update ChangeLog 2014-08-24 06:44:22 -06:00
Gregory Nutt
1624e2fbcf Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support 2014-08-24 06:42:11 -06:00
Gregory Nutt
29a40668eb Update ChangeLog 2014-08-23 19:00:54 -06:00
Gregory Nutt
03830250e7 ARMv7-A: Add skeleton environment and build support for process address environments 2014-08-23 18:59:24 -06:00
Gregory Nutt
3eee39dff5 Upate ChangeLog 2014-08-23 16:38:25 -06:00
Gregory Nutt
b028fb31e9 include/nuttx/pgalloc.h and mm/mm_pgalloc.c: Add a simple page allocator based on the existing NuttX granule allocator. I am not certain if the granule allocator is sufficiently deterministic for long range use, but it gets get a page allocator in place for testing very quickly. 2014-08-23 16:37:16 -06:00