Skip to content

Commit

Permalink
Get the correct frame (#379) (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Aug 28, 2023
1 parent 3e0acc3 commit 75c283e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/machine/asm/execute_aarch64.S
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
bne .exit_invalid_permission SEP \
orr TEMP2, TEMP2, CKB_VM_ASM_MEMORY_FLAG_DIRTY SEP \
strb TEMP2w, [MACHINE, TEMP5] SEP \
lsr TEMP1, TEMP1, CKB_VM_ASM_RISCV_PAGE_SHIFTS SEP \
lsr TEMP1, TEMP1, CKB_VM_ASM_MEMORY_FRAME_PAGE_SHIFTS SEP \
ldr TEMP5, =CKB_VM_ASM_ASM_CORE_MACHINE_OFFSET_FRAMES SEP \
add TEMP5, TEMP1, TEMP5 SEP \
ldrb TEMP3w, [MACHINE, TEMP5] SEP \
Expand Down

0 comments on commit 75c283e

Please sign in to comment.