Skip to content

Commit 8dd84bc

Browse files
Flavio Ceolincarlescufi
authored andcommitted
arch: xtensa: Rename xtensa_mmu.c to ptables.c
Initial work to split page table manipulation from mmu hardware interaction. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
1 parent e7e8f66 commit 8dd84bc

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

arch/xtensa/core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ zephyr_library_sources_ifdef(CONFIG_XTENSA_ENABLE_BACKTRACE debug_helpers_asm.S)
2121
zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP coredump.c)
2222
zephyr_library_sources_ifdef(CONFIG_TIMING_FUNCTIONS timing.c)
2323
zephyr_library_sources_ifdef(CONFIG_GDBSTUB gdbstub.c)
24-
zephyr_library_sources_ifdef(CONFIG_XTENSA_MMU xtensa_mmu.c)
24+
zephyr_library_sources_ifdef(CONFIG_XTENSA_MMU ptables.c)
2525
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
2626
zephyr_library_sources_ifdef(CONFIG_XTENSA_SYSCALL_USE_HELPER syscall_helper.c)
2727

File renamed without changes.

soc/xtensa/dc233c/include/xtensa-dc233c.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ SECTIONS
324324

325325
/* Userspace related stuff */
326326
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,userspace.S.obj,z_xtensa_do_syscall)
327-
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,xtensa_mmu.c.obj,z_xtensa_swap_update_page_tables)
327+
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,ptables.c.obj,z_xtensa_swap_update_page_tables)
328328

329329
/* Below are to speed up execution by avoiding TLB misses
330330
* on frequently used functions.

0 commit comments

Comments
 (0)