arch:change tcbinfo regs num
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
9a32cf7a1a
commit
c02fea36d8
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user