arch:change tcbinfo regs num

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2023-01-03 12:23:09 +08:00 committed by Xiang Xiao
parent 9a32cf7a1a
commit c02fea36d8
8 changed files with 8 additions and 8 deletions

View File

@ -66,7 +66,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 17,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -73,7 +73,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 17,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -108,7 +108,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 17,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -114,7 +114,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 17,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -108,7 +108,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 17,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -114,7 +114,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 17,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -120,7 +120,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = 33,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},

View File

@ -65,7 +65,7 @@ const struct tcbinfo_s g_tcbinfo =
.name_off = TCB_NAME_OFF,
.regs_off = TCB_REGS_OFF,
.basic_num = COMMON_CTX_REGS,
.total_num = XCPTCONTEXT_REGS,
.total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
{
.p = g_reg_offs,
},