Skip to content

Commit

Permalink
still not working
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Dec 2, 2024
1 parent 7ab310f commit 0064b70
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions xtensa-lx-rt/src/exception/asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ use crate::cfg_global_asm;
//
// With the exception of XT_STK_TMP, the fields must be aligned with the
// `Context` struct in context.rs
cfg_global_asm!(
".set XT_STK_PC, 0
global_asm!(
"
.set XT_STK_PC, 0
.set XT_STK_PS, 4
.set XT_STK_A0, 8
.equ XT_STK_A1, 12
Expand Down Expand Up @@ -202,7 +203,12 @@ cfg_global_asm!(
rfi \\level
.endm
"
);


cfg_global_asm!(
"
// Save processor state to stack.
//
// *Must only be called with call0.*
Expand Down

0 comments on commit 0064b70

Please sign in to comment.