This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.
from 7d58e62 drivers/note: Add macro guard for instrumention switch new e9018b2 xtensa_context.S: Remove the CALL0 ABI version of xtensa_context_switch as it's the same as the Window ABI now. new 5bd2e97 xtensa_context.S: Fix the type of _xtensa_context_restore. new 2dcbf28 xtensa_context.S: A1 should be restored by the caller not xtensa_context_resotred. Here it was being restored twice. Remove the one in xtensa_context_restore. new 4786963 xtensa_context.S: No need to save A2 before calling _xtensa_save_context. It uses CALL0, in this case A1 is callee saved and we can it directly. new 2445de1 xtensa_dumpstate.c: Don't dump temporary registers. new 5305f76 xtensa_context.S: Use Zephyr's version of spilling the window register file. new 4d1bb20 xtensa_user_handler.S: In syscall handler store context before continuing the rest of the syscall handling. new 6fa4a42 xtensa/: Save A3 as part of the regular context saving. new cff3d9d arch/xtensa: Fix some indentations. The 9 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: arch/xtensa/include/irq.h | 7 +- arch/xtensa/src/common/xtensa_asm_utils.h | 76 ++++++++++ arch/xtensa/src/common/xtensa_context.S | 199 +++++++++------------------ arch/xtensa/src/common/xtensa_dumpstate.c | 4 - arch/xtensa/src/common/xtensa_int_handlers.S | 86 +++++------- arch/xtensa/src/common/xtensa_panic.S | 3 +- arch/xtensa/src/common/xtensa_user_handler.S | 34 ++--- 7 files changed, 189 insertions(+), 220 deletions(-) create mode 100644 arch/xtensa/src/common/xtensa_asm_utils.h