Skip to content

Commit

Permalink
kernel: fix typo for PT_PARAM_REG
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Jan 9, 2023
1 parent 43bea50 commit a2ec618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define __PT_PARM4_REG r10
// #define __PT_PARM4_REG cx
#define __PT_PARM5_REG r8
#define __PT_PARM5_REG r9
#define __PT_PARM6_REG r9
#define __PT_RET_REG sp
#define __PT_FP_REG bp
#define __PT_RC_REG ax
Expand Down Expand Up @@ -56,4 +56,4 @@
#define PT_REGS_SP(x) (__PT_REGS_CAST(x)->__PT_SP_REG)
#define PT_REGS_IP(x) (__PT_REGS_CAST(x)->__PT_IP_REG)

#endif
#endif

0 comments on commit a2ec618

Please sign in to comment.