Gregory Nutt
|
c7f5435637
|
Implement deferred IRQ locking. The rest of the support for Xtensa. Untested.
|
2016-12-23 11:56:45 -06:00 |
|
Gregory Nutt
|
cb1cc66d81
|
Implement deferred IRQ locking. Adds partial support for Xtensa. More is needed.
|
2016-12-23 11:39:44 -06:00 |
|
Gregory Nutt
|
5f9caad078
|
Xtensa ESP32: Correct copyright info; update some comments
|
2016-12-22 12:34:55 -06:00 |
|
Gregory Nutt
|
714e6f80ca
|
Xtensa ESP32: Corrects a problem with dispatching to signal handlers: Cannot vector directly to the signal handling function as in other ABIs under the Xtensa Window ABI. In that case, we need to go through a tiny hook when performs the correct window call (call4) otherwise registers will be scrambled in the signal handler
|
2016-12-22 11:19:38 -06:00 |
|
Gregory Nutt
|
733a57b4df
|
Xtensa SMP: Avoid a nasty situation in SMP by assuring that up_release_pending() is not re-entered.
|
2016-12-21 13:34:01 -06:00 |
|
Gregory Nutt
|
e5182acbe3
|
Xtensa ESP32: Make sure that SMP configuratin still builds without errors.
|
2016-12-19 14:12:19 -06:00 |
|
Gregory Nutt
|
e61549d8b9
|
Xtensa ESP32: Clean-up and fixes from last commits
|
2016-12-19 13:57:37 -06:00 |
|
Gregory Nutt
|
a9a39800a4
|
Xtensa ESP32: Fixes some double faults and user errors, but I do not fully understand why.
|
2016-12-19 11:14:08 -06:00 |
|
Gregory Nutt
|
886ce88b4f
|
Xtensa ESP32: Automatically mount /proc at start-up.
|
2016-12-19 09:43:16 -06:00 |
|
Gregory Nutt
|
4bd530d026
|
Xtensa ESP32: Last change should be conditioned on the window ABI.
|
2016-12-18 13:17:31 -06:00 |
|
Gregory Nutt
|
665c1647b5
|
Xtensa ESP32: Need to spill registers to memory as the last dying action before switching to a new thread.
|
2016-12-18 12:54:47 -06:00 |
|
Gregory Nutt
|
586f0aab50
|
Fix context save logic when called in window ABI configuration. Add an IDLE stack. Don't depend on the mystery stack received from the bootloader.
|
2016-12-18 10:08:08 -06:00 |
|
Gregory Nutt
|
93e6d16f75
|
Xtensa ESP32: wsr, not rsr.
|
2016-12-17 11:23:10 -06:00 |
|
Gregory Nutt
|
a88c50d366
|
Xtensa ESP32: Need to clone some logic for syncrhonous context switch. Window spill logic in the conmon restores logic is inappropriate in this context
|
2016-12-17 11:00:12 -06:00 |
|
Gregory Nutt
|
6b80e5f15f
|
Xtensa ESP32: Fix clobbered a9 in co-processor context save/restore
|
2016-12-17 11:00:12 -06:00 |
|
Gregory Nutt
|
8de1127899
|
Xtensa ESP32: Using wrong register to disable interrupts.
|
2016-12-17 11:00:12 -06:00 |
|
Gregory Nutt
|
38ebe6c13f
|
Xtensa ESP32: Change that should have been included in a previous commit was not.
|
2016-12-17 08:11:32 -06:00 |
|
Gregory Nutt
|
05e798488b
|
One register getting clobber on context save
|
2016-12-17 08:10:10 -06:00 |
|
Gregory Nutt
|
adbacfc42c
|
Xtensa ESP32: Fix a duplicate in Kconfig files. Level 1 should return via RFE.
|
2016-12-17 07:07:33 -06:00 |
|
Gregory Nutt
|
6599feb310
|
Xtensa ESP32: Fixes a few issue with restoring registers on interrupt return, but there is still a problem
|
2016-12-16 17:56:22 -06:00 |
|
Gregory Nutt
|
cdd8dc72a5
|
Xtensa ESP32: Basically a redesign of the interrupt dispatch logic.
|
2016-12-16 15:36:52 -06:00 |
|
Gregory Nutt
|
34a994b0f6
|
Correct a logic problem the prevented dumping the IDLE thread's stack on an assertion
|
2016-12-16 13:21:01 -06:00 |
|
Gregory Nutt
|
6337fadd8c
|
Missing escape character on CR of CR-LF expansion.
|
2016-12-16 10:49:42 -06:00 |
|
Gregory Nutt
|
935e49f5bb
|
Update some comments
|
2016-12-16 09:38:08 -06:00 |
|
Gregory Nutt
|
f1a5b91cd8
|
Use r6, not r2 when passing paramters with call4
|
2016-12-16 09:21:44 -06:00 |
|
Gregory Nutt
|
41cf32a20e
|
Fix windowspill register handling + Use r6, not r2 when passing paramters with call4
|
2016-12-16 09:20:36 -06:00 |
|
Gregory Nutt
|
aa5a8b0ca2
|
Xtensa: Make sure that all C callable assembly functions includes ENTRY prologue and RET epilogue.
|
2016-12-15 14:02:19 -06:00 |
|
Gregory Nutt
|
c56268b416
|
Fix missing CALL0 ABI condition.
|
2016-12-15 11:06:41 -06:00 |
|
Gregory Nutt
|
ea9e6c48e4
|
Cosmetic update to comments.
|
2016-12-15 10:43:34 -06:00 |
|
Gregory Nutt
|
10b9a10d2f
|
Xtensa ESP32: Fix several build-related issues associated with vector section
|
2016-12-15 10:08:26 -06:00 |
|
Gregory Nutt
|
4052ec2d90
|
Add missing ENTRY() and RET() macros in C callable assembly language. At one time I though the that the ESP32 support the CALL0 ABI. I was mistaken so there may be a few more like this.
|
2016-12-14 12:14:51 -06:00 |
|
Gregory Nutt
|
d65be718c2
|
sched_note: Extend OS instrumentation to include some SMP events.
|
2016-11-27 17:14:57 -06:00 |
|
Gregory Nutt
|
e3fe320e08
|
SMP: Add support for linking spinlocks into a special, non-cached memory region.
|
2016-11-26 08:47:03 -06:00 |
|
Gregory Nutt
|
6a875bcb61
|
Xtensa: Add EXPERIMENTAL hooks to support lazy co-processor state restore in the future.
|
2016-11-16 06:48:13 -06:00 |
|
Gregory Nutt
|
c84db68103
|
Xtensa ESP32: Fix some compilation errors that snuck with some of the last changes
|
2016-11-14 13:29:08 -06:00 |
|
Gregory Nutt
|
b6d6b774e9
|
Xtensa: In this model, co-processor state restore must enable co-processors in CPENABLE.
|
2016-11-08 08:23:52 -06:00 |
|
Gregory Nutt
|
cfcc7edded
|
Xtensa/ESP32: Add window spill logic; Add C++ support to linker script
|
2016-10-31 17:51:48 -06:00 |
|
Gregory Nutt
|
4d0b0e44f1
|
Xtensa/ESP32: Add up_cpu_idlestack() and fix some compile issues.
|
2016-10-31 14:56:48 -06:00 |
|
Gregory Nutt
|
28d1478480
|
Xtensa/ESP32: Add CPU1 startup logic
|
2016-10-31 13:15:15 -06:00 |
|
Gregory Nutt
|
a8e3f79494
|
Xtensa/ESP32: Add User Exception handler
|
2016-10-31 12:04:52 -06:00 |
|
Gregory Nutt
|
a787a99071
|
ESP32: Add inter-cpu interrupts
|
2016-10-31 08:29:28 -06:00 |
|
Gregory Nutt
|
6ff833e56e
|
Forgot to add a file in the last commit
|
2016-10-30 15:40:42 -06:00 |
|
Gregory Nutt
|
85ed3dae9a
|
Update some compilation issues
|
2016-10-30 15:38:51 -06:00 |
|
Gregory Nutt
|
a4c3fef0b7
|
Xtensa: Add more exception vectors. All just cause a PANIC now.
|
2016-10-30 12:20:11 -06:00 |
|
Gregory Nutt
|
fdede8099b
|
Xtensa/ESP32: Add Level1 handler, panic handler, remove EXECHOOKS.
|
2016-10-30 10:57:57 -06:00 |
|
Gregory Nutt
|
eaa5968a22
|
Xtensa: Convert some CALL0 C calls to be compatible with Window ABI
|
2016-10-30 08:46:35 -06:00 |
|
Gregory Nutt
|
261e0edc61
|
Xtensa: Adapt co-processor state save/restore functions so that they are call-able from C with Windows ABI.
|
2016-10-30 08:35:09 -06:00 |
|
Gregory Nutt
|
c0da94fc3e
|
Xtensa: Remove xtensa_macros.h; duplicates xtensa_abi.h
|
2016-10-30 07:45:28 -06:00 |
|
Gregory Nutt
|
8c96221093
|
Xtensa: Replace CONFIG_XTENSA_CALL0_ABI with compiler defined __XTENSA_CALL0_ABI__
|
2016-10-30 07:37:51 -06:00 |
|
Gregory Nutt
|
dc82fa81b8
|
Xtensa: Remove XTENSA_EXTRA_SA_SIZE. It is not used.
|
2016-10-30 07:09:24 -06:00 |
|
Gregory Nutt
|
4997ec7a1e
|
ESP32 Core V2: Add an SMP configuration to support development (not yet usable).
|
2016-10-29 14:56:07 -06:00 |
|
Gregory Nutt
|
c993a0267c
|
Xtensa: Add Window vector
|
2016-10-29 12:30:24 -06:00 |
|
Gregory Nutt
|
804f9c5de7
|
Xtensa: Rename some files.
|
2016-10-29 11:24:02 -06:00 |
|
Gregory Nutt
|
d346f25aae
|
Xtensa/ESP32: Fix some compile issues related to new co-processor logic
|
2016-10-29 10:27:46 -06:00 |
|
Gregory Nutt
|
4943b09ffa
|
Xtensa: Remove co-processor ownership array. I think that this is not needed (but I might be wrong).
|
2016-10-29 09:50:51 -06:00 |
|
Gregory Nutt
|
ccf5b4e357
|
Xtensa: Cleanup of co-processor logic; remove some unnecessary things.
|
2016-10-29 09:36:33 -06:00 |
|
Gregory Nutt
|
2fa8b9ba34
|
Xtensa ESP32: Co-processor state is code complete but uncompiled and untested.
|
2016-10-28 13:03:25 -06:00 |
|
Gregory Nutt
|
9345c6f4db
|
Xtensa: More co-processor save logic. Still not complete.
|
2016-10-28 11:56:35 -06:00 |
|
Gregory Nutt
|
a90d0bbf2e
|
ESP32: A little more co-processor logic. Still not complete.
|
2016-10-28 11:19:23 -06:00 |
|
Gregory Nutt
|
b4b26285f1
|
ESP32: Add tie-asm.h
|
2016-10-28 10:53:14 -06:00 |
|
Gregory Nutt
|
be2a801e30
|
Xtensa: Add xtensa_coproc.h
|
2016-10-28 10:33:20 -06:00 |
|
Gregory Nutt
|
e93bcda8ae
|
ESP32: Partial co-processor state save logic. Incomplete and will probably be redesigned.
|
2016-10-28 09:05:39 -06:00 |
|
Gregory Nutt
|
afcda29646
|
ESP32: Fix some warnings
|
2016-10-27 16:46:34 -06:00 |
|
Gregory Nutt
|
650757bbf0
|
ESP32: Add GPIO support
|
2016-10-26 12:11:24 -06:00 |
|
Gregory Nutt
|
d5fceadacd
|
Xtensa: Fix some compilation issues
|
2016-10-25 12:34:23 -06:00 |
|
Gregory Nutt
|
2a59205ffa
|
ESP32: Add CPU interrupt managmement logic; improve level interrupt decoding.
|
2016-10-25 12:02:53 -06:00 |
|
Gregory Nutt
|
818b0171d7
|
ESP32: Clock configuration is not yet implemented. ESP32 will be running a XTAL frequency.
|
2016-10-24 07:30:11 -06:00 |
|
Gregory Nutt
|
4cf60022ca
|
Xtensa: Correct some compile issues
|
2016-10-23 16:25:55 -06:00 |
|
Gregory Nutt
|
2514ddec8b
|
Xtensa: Add NMI handler
|
2016-10-23 16:24:09 -06:00 |
|
Gregory Nutt
|
261eec110b
|
Xtensa: Mismatched #endif
|
2016-10-23 14:19:08 -06:00 |
|
Gregory Nutt
|
9a9488ae92
|
ESP32: Fix heap initialization
|
2016-10-23 14:20:03 -06:00 |
|
Gregory Nutt
|
6bbe55602c
|
Xtensa: Add tie.h
|
2016-10-23 13:25:41 -06:00 |
|
Gregory Nutt
|
1fcced12eb
|
Xtensa: Timer code now compiles okay
|
2016-10-23 11:31:48 -06:00 |
|
Gregory Nutt
|
2b33768d09
|
Xtensa: Revert back to some XCHAL naming
|
2016-10-23 10:39:51 -06:00 |
|
Gregory Nutt
|
bf363d103b
|
Merge branch 'esp32' of bitbucket.org:nuttx/nuttx into esp32
|
2016-10-23 10:47:31 -06:00 |
|
Gregory Nutt
|
9f06b13ffb
|
Xtensa: Add core.h header file
|
2016-10-23 10:43:16 -06:00 |
|
Gregory Nutt
|
c3d76d56bc
|
Xtensa: Fix some compilation issues
|
2016-10-23 10:06:30 -06:00 |
|
Gregory Nutt
|
09b462e419
|
Xtensa: Add region protected; Implement some missing signal handling logic.
|
2016-10-23 09:02:50 -06:00 |
|
Gregory Nutt
|
112b62a14e
|
Xtensa: Correct variou compilation issues
|
2016-10-23 08:04:57 -06:00 |
|
Gregory Nutt
|
a9a4f6384d
|
Xtensa: Add interrupt enable/disable controls. Add dummy timer and IRQ initialization.
|
2016-10-23 08:00:17 -06:00 |
|
Gregory Nutt
|
ea175cd98b
|
Xtensa: Flesh out other interrupt handlers. Suppress nested interrupts, at least for now.
|
2016-10-23 07:08:19 -06:00 |
|
Gregory Nutt
|
75df09fd40
|
Remove support for software prioritization of interrupts
|
2016-10-23 06:37:28 -06:00 |
|
Gregory Nutt
|
2c83d79465
|
Xtensa: Remove 'virtual' interrupt support
|
2016-10-23 06:24:35 -06:00 |
|
Gregory Nutt
|
23b003c649
|
Xtensa: Some things in Kconfig are really core options, not user configurations.
|
2016-10-22 12:25:56 -06:00 |
|
Gregory Nutt
|
53de345f05
|
Xtensa: Add up_cpu_index()
|
2016-10-22 09:29:15 -06:00 |
|
Gregory Nutt
|
764ef72641
|
Xtensa: Restore XCHAL_ naming convenction
|
2016-10-22 09:03:43 -06:00 |
|
Gregory Nutt
|
1ea22b680d
|
Xtensa: Add timer dispatch logic
|
2016-10-21 13:23:28 -06:00 |
|
Gregory Nutt
|
cf217c6e87
|
Xtensa: Fix a few more compilation issues
|
2016-10-21 11:24:23 -06:00 |
|
Gregory Nutt
|
c8fd15d315
|
Merge branch 'esp32' of bitbucket.org:nuttx/nuttx into esp32
|
2016-10-21 10:44:21 -06:00 |
|
Gregory Nutt
|
f07601a067
|
Xtensa: First cat at context switching functions
|
2016-10-21 10:43:59 -06:00 |
|
Gregory Nutt
|
7a007a1e8e
|
ESP32: The ESP32 Core V2 board does not have any user controllable LEDs.
|
2016-10-21 07:35:56 -06:00 |
|
Gregory Nutt
|
363fe19ff6
|
Xtensa: Fix some compile issues
|
2016-10-20 16:42:37 -06:00 |
|
Gregory Nutt
|
7a89808deb
|
ESP32: Add interrupt decode logic
|
2016-10-20 16:22:37 -06:00 |
|
Gregory Nutt
|
bd6633dd84
|
Xtensa: Add some data structures needed for SMP support.
|
2016-10-20 15:21:29 -06:00 |
|
Gregory Nutt
|
67c98baaea
|
Xtensa: Add a missing include file
|
2016-10-20 14:28:13 -06:00 |
|
Gregory Nutt
|
520513f456
|
Xtensa: Add interrupt decode framework
|
2016-10-20 14:34:51 -06:00 |
|
Gregory Nutt
|
ed8377af72
|
Xtensa: More interrupt-related logic
|
2016-10-20 14:28:14 -06:00 |
|
Gregory Nutt
|
30c4a41332
|
Fix a few compile-related issues
|
2016-10-20 11:33:53 -06:00 |
|
Gregory Nutt
|
5c3afd088e
|
Xtensa: A little more interrupt handling logic
|
2016-10-20 11:44:14 -06:00 |
|
Gregory Nutt
|
d75fb34b62
|
Xtensa: Fix some xtensa_context.S assemble issues
|
2016-10-20 08:58:33 -06:00 |
|