arch: add use_data to g_tcbinfo
to avoid compiler/linker remove it from the final image Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
4db39d7afd
commit
cb11747f36
10 changed files with 10 additions and 10 deletions
|
|
@ -57,7 +57,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ static const uint16_t g_reg_offs[] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
const struct tcbinfo_s g_tcbinfo =
|
||||
const struct tcbinfo_s g_tcbinfo used_data =
|
||||
{
|
||||
.pid_off = TCB_PID_OFF,
|
||||
.state_off = TCB_STATE_OFF,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue