Skip to content

Commit 24fba43

Browse files
xiaoxiang781216Alan C. Assis
authored andcommitted
Revert "Kernel build: enter exception save sp_sl0,exit exception restroe sp_el0"
This reverts commit 52a4fb6.
1 parent 5095955 commit 24fba43

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

arch/arm64/src/common/arm64_vector_table.S

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@
7878
#endif
7979
stp x0, x1, [sp, #8 * REG_ELR]
8080

81-
mrs x0, sp_el0
82-
mrs x1, tpidrro_el0
83-
stp x0, x1, [sp, #8 * REG_SP_EL0]
84-
8581
/* Increment exception depth */
8682

8783
mrs x0, tpidrro_el0
@@ -266,10 +262,6 @@ SECTION_FUNC(text, arm64_exit_exception)
266262
msr spsr_el1, x1
267263
#endif
268264

269-
ldp x0, x1, [sp, #8 * REG_SP_EL0]
270-
msr sp_el0, x0
271-
msr tpidrro_el0, x1
272-
273265
/* decrement exception depth */
274266

275267
mrs x0, tpidrro_el0

0 commit comments

Comments
 (0)