xtensa: userspace: swap page tables via assembly code
Since the necessary register values are now pre-computed and stored in the memory domain struct, we can use them directly in various assembly locations, thus replacing the function call to xtensa_swap_update_page_tables(). Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
689e1121cf
commit
277fa9e8ac
8 changed files with 77 additions and 13 deletions
|
@ -162,7 +162,6 @@ SECTIONS
|
|||
|
||||
/* Userspace related stuff */
|
||||
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,userspace.S.obj,xtensa_do_syscall)
|
||||
LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,ptables.c.obj,xtensa_swap_update_page_tables)
|
||||
|
||||
/* Below are to speed up execution by avoiding TLB misses
|
||||
* on frequently used functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue