From 2645e59901038ee8f43bb8da3421d7e64eec6c90 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Wed, 26 Jul 2023 14:30:25 +0800 Subject: [PATCH] sim/tcbinfo:add ebp to tcbinfo Signed-off-by: anjiahao --- arch/sim/src/sim/sim_tcbinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sim/src/sim/sim_tcbinfo.c b/arch/sim/src/sim/sim_tcbinfo.c index e811af1287..51efbf0750 100644 --- a/arch/sim/src/sim/sim_tcbinfo.c +++ b/arch/sim/src/sim/sim_tcbinfo.c @@ -67,7 +67,7 @@ static const uint16_t g_reg_offs[] = UINT16_MAX, /* RDX */ TCB_REG_OFF(JB_EBX), /* RBX */ TCB_REG_OFF(JB_ESP), /* ESP */ - UINT16_MAX, /* EBP */ + TCB_REG_OFF(JB_EBP), /* EBP */ TCB_REG_OFF(JB_ESI), /* ESI */ TCB_REG_OFF(JB_EDI), /* EDI */ TCB_REG_OFF(JB_EIP), /* EIP */