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 <[email protected]>
  • Loading branch information
Flavio Ceolin authored and carlescufi committed Nov 21, 2023
1 parent e7e8f66 commit 8dd84bc
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 8dd84bc

Please sign in to comment.