arch/xtensa/xtensa_context: Place the functions in EXCEPTION_HANDLER

section (IRAM for ESP32xx chips).

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2022-06-13 14:55:54 +02:00 committed by Petro Karashchenko
parent 73a1e0fc58
commit 5ab888692e
1 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,7 @@
#include <arch/xtensa/xtensa_abi.h>
#include <arch/xtensa/xtensa_specregs.h>
#include "chip.h"
#include "syscall.h"
#include "xtensa_asm_utils.h"
#include "xtensa_coproc.S"
@ -74,8 +75,6 @@
* Public Functions
****************************************************************************/
.text
/****************************************************************************
* Name: _xtensa_context_save
*
@ -106,6 +105,7 @@
*
****************************************************************************/
.section HANDLER_SECTION, "ax"
.global _xtensa_context_save
.type _xtensa_context_save, @function
@ -235,6 +235,7 @@ _xtensa_context_save:
*
****************************************************************************/
.section HANDLER_SECTION, "ax"
.global _xtensa_context_restore
.type _xtensa_context_restore,@function