Skip to content

Commit cd101d9

Browse files
committed
update comments
Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
1 parent ff287cc commit cd101d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/risc-v32/gnu/example_build/qemu_virt/tx_initialize_low_level.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666
.extern _tx_thread_context_restore
6767
trap_entry:
6868
#if defined(__riscv_float_abi_single) || defined(__riscv_float_abi_double)
69-
addi sp, sp, -260 // Allocate space for all registers - with floating point enabled
69+
addi sp, sp, -260 // Allocate space for all registers - with floating point enabled (65*4)
7070
#else
71-
addi sp, sp, -128 // Allocate space for all registers - without floating point enabled
71+
addi sp, sp, -128 // Allocate space for all registers - without floating point enabled (32*4)
7272
#endif
7373

7474
sw x1, 112(sp) // Store RA (28*4 = 112, because call will override ra [ra is a callee register in riscv])

0 commit comments

Comments
 (0)