xtensa: rename files with hyphens to underscores

Simply to provide some consistencies on file naming under
arch/xtensa.

These are all internally used files and are not public.
So there is no need to provide a deprecation path for
them.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2023-12-06 13:42:05 -08:00 committed by Carles Cufí
commit 106061b307
17 changed files with 16 additions and 16 deletions

View file

@ -8,8 +8,8 @@ zephyr_library_sources(
cpu_idle.c cpu_idle.c
fatal.c fatal.c
window_vectors.S window_vectors.S
xtensa-asm2-util.S xtensa_asm2_util.S
xtensa-asm2.c xtensa_asm2.c
irq_manage.c irq_manage.c
) )

View file

@ -6,7 +6,7 @@
#include <string.h> #include <string.h>
#include <zephyr/debug/coredump.h> #include <zephyr/debug/coredump.h>
#include <xtensa-asm2-context.h> #include <xtensa_asm2_context.h>
#include <offsets.h> #include <offsets.h>
#define ARCH_HDR_VER 1 #define ARCH_HDR_VER 1

View file

@ -8,7 +8,7 @@
#include <xtensa/corebits.h> #include <xtensa/corebits.h>
#include <xtensa/config/system.h> #include <xtensa/config/system.h>
#include <xtensa/hal.h> #include <xtensa/hal.h>
#include <xtensa-asm2-context.h> #include <xtensa_asm2_context.h>
#include <offsets.h> #include <offsets.h>

View file

@ -9,7 +9,7 @@
#include <zephyr/toolchain.h> #include <zephyr/toolchain.h>
#include <zephyr/debug/gdbstub.h> #include <zephyr/debug/gdbstub.h>
#include <xtensa-asm2-context.h> #include <xtensa_asm2_context.h>
#include <xtensa/corebits.h> #include <xtensa/corebits.h>
static bool not_first_break; static bool not_first_break;

View file

@ -7,7 +7,7 @@
#include <kernel_offsets.h> #include <kernel_offsets.h>
#include <zephyr/arch/xtensa/thread.h> #include <zephyr/arch/xtensa/thread.h>
#include <xtensa-asm2-context.h> #include <xtensa_asm2_context.h>
GEN_ABSOLUTE_SYM(___xtensa_irq_bsa_t_SIZEOF, sizeof(_xtensa_irq_bsa_t)); GEN_ABSOLUTE_SYM(___xtensa_irq_bsa_t_SIZEOF, sizeof(_xtensa_irq_bsa_t));
GEN_ABSOLUTE_SYM(___xtensa_irq_stack_frame_raw_t_SIZEOF, sizeof(_xtensa_irq_stack_frame_raw_t)); GEN_ABSOLUTE_SYM(___xtensa_irq_stack_frame_raw_t_SIZEOF, sizeof(_xtensa_irq_stack_frame_raw_t));

View file

@ -10,8 +10,8 @@ if(CONFIG_XTENSA_RESET_VECTOR)
) )
zephyr_library_sources( zephyr_library_sources(
memerror-vector.S memerror_vector.S
memctl_default.S memctl_default.S
reset-vector.S reset_vector.S
) )
endif() endif()

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <xtensa-asm2-s.h> #include <xtensa_asm2_s.h>
#include <offsets.h> #include <offsets.h>
#include <offsets_short.h> #include <offsets_short.h>
#include <zephyr/syscall.h> #include <zephyr/syscall.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <string.h> #include <string.h>
#include <xtensa-asm2-context.h> #include <xtensa_asm2_context.h>
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <ksched.h> #include <ksched.h>
#include <zephyr/kernel_structs.h> #include <zephyr/kernel_structs.h>

View file

@ -3,7 +3,7 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <xtensa-asm2-s.h> #include <xtensa_asm2_s.h>
#include <offsets.h> #include <offsets.h>
#include <zsr.h> #include <zsr.h>

View file

@ -8,7 +8,7 @@
#define ZEPHYR_ARCH_XTENSA_INCLUDE_XTENSA_ASM2_S_H #define ZEPHYR_ARCH_XTENSA_INCLUDE_XTENSA_ASM2_S_H
#include <zsr.h> #include <zsr.h>
#include "xtensa-asm2-context.h" #include "xtensa_asm2_context.h"
#include <offsets.h> #include <offsets.h>

View file

@ -304,14 +304,14 @@ SECTIONS
* TLB multi-hit exception. * TLB multi-hit exception.
*/ */
*libarch__xtensa__core.a:xtensa-asm2-util.S.obj(.literal .text) *libarch__xtensa__core.a:xtensa_asm2_util.S.obj(.literal .text)
*libarch__xtensa__core.a:xtensa-asm2-util.S.obj(.iram.text .iram0.text) *libarch__xtensa__core.a:xtensa_asm2_util.S.obj(.iram.text .iram0.text)
*libarch__xtensa__core.a:window_vectors.S.obj(.iram.text) *libarch__xtensa__core.a:window_vectors.S.obj(.iram.text)
*libarch__xtensa__core.a:crt1.S.obj(.literal .text) *libarch__xtensa__core.a:crt1.S.obj(.literal .text)
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,xtensa-asm2.c.obj,*) LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,xtensa_asm2.c.obj,*)
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,fatal.c.obj,*) LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,fatal.c.obj,*)
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,cpu_idle.c.obj,*) LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,cpu_idle.c.obj,*)

View file

@ -5,7 +5,7 @@
*/ */
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <xtensa-asm2-context.h> #include <xtensa_asm2_context.h>
#include <zephyr/debug/gdbstub.h> #include <zephyr/debug/gdbstub.h>
#include <offsets.h> #include <offsets.h>