Skip to content

Commit

Permalink
arch: xtensa: Rename xtensa_mmu.c to ptables.c
Browse files Browse the repository at this point in the history
Initial work to split page table manipulation from
mmu hardware interaction.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
  • Loading branch information
ceolin committed Nov 20, 2023
1 parent 9982d5c commit b73b570
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/xtensa/core/CMakeLists.txt
Expand Up @@ -21,7 +21,7 @@ zephyr_library_sources_ifdef(CONFIG_XTENSA_ENABLE_BACKTRACE debug_helpers_asm.S)
zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP coredump.c)
zephyr_library_sources_ifdef(CONFIG_TIMING_FUNCTIONS timing.c)
zephyr_library_sources_ifdef(CONFIG_GDBSTUB gdbstub.c)
zephyr_library_sources_ifdef(CONFIG_XTENSA_MMU xtensa_mmu.c)
zephyr_library_sources_ifdef(CONFIG_XTENSA_MMU ptables.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
zephyr_library_sources_ifdef(CONFIG_XTENSA_SYSCALL_USE_HELPER syscall_helper.c)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion soc/xtensa/dc233c/include/xtensa-dc233c.ld
Expand Up @@ -324,7 +324,7 @@ SECTIONS

/* Userspace related stuff */
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,userspace.S.obj,z_xtensa_do_syscall)
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,xtensa_mmu.c.obj,z_xtensa_swap_update_page_tables)
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,ptables.c.obj,z_xtensa_swap_update_page_tables)

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

0 comments on commit b73b570

Please sign in to comment.