arch: sim: Fix comments in up_setjmp64.S and up_smpsignal.c

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-11-28 20:57:44 +09:00 committed by Xiang Xiao
parent 298e1ddebf
commit 3ec743f72f
2 changed files with 10 additions and 10 deletions

View File

@ -149,17 +149,17 @@ SYMBOL(up_longjmp):
/* Restore registers */ /* Restore registers */
movq JB_RBX(REGS),%rbx /* Save 1: rbx */ movq JB_RBX(REGS),%rbx /* Load 1: rbx */
movq JB_RSP(REGS),%rsp /* Save 2: rsp */ movq JB_RSP(REGS),%rsp /* Load 2: rsp */
movq JB_RBP(REGS),%rbp /* Save 3: rdi */ movq JB_RBP(REGS),%rbp /* Load 3: rdi */
movq JB_R12(REGS),%r12 /* Save 4: r12 */ movq JB_R12(REGS),%r12 /* Load 4: r12 */
movq JB_R13(REGS),%r13 /* Save 5: r13 */ movq JB_R13(REGS),%r13 /* Load 5: r13 */
movq JB_R14(REGS),%r14 /* Save 6: r14 */ movq JB_R14(REGS),%r14 /* Load 6: r14 */
movq JB_R15(REGS),%r15 /* Save 7: rbp */ movq JB_R15(REGS),%r15 /* Load 7: rbp */
/* And return */ /* Jump to the saved return address (rsi) */
jmp *JB_RSI(REGS) /* Save 8: rsi */ jmp *JB_RSI(REGS)
#ifdef __ELF__ #ifdef __ELF__
.size SYMBOL(up_longjmp), . - SYMBOL(up_longjmp) .size SYMBOL(up_longjmp), . - SYMBOL(up_longjmp)

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* arch/sim/src/sim/up_simsmp.c * arch/sim/src/sim/up_smpsignal.c
* *
* Copyright (C) 2016 Gregory Nutt. All rights reserved. * Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>