sched.h: Update doc link for tcbinfo_s

Original documentation link for riscv is broken,
so update to the correct link for all architectures.

Put the link around `reg_off` to avoid the long line warning
from nxstyle.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2024-07-16 09:24:20 +08:00 committed by Xiang Xiao
parent 0df037855a
commit 6acb4532d4

View File

@ -759,10 +759,8 @@ begin_packed_struct struct tcbinfo_s
uint16_t regs_num; /* Num of general regs */ uint16_t regs_num; /* Num of general regs */
/* Offset pointer of xcp.regs, order in GDB org.gnu.gdb.xxx feature. /* Offset pointer of xcp.regs, order in GDB org.gnu.gdb.xxx feature.
* Please refer: * Refer to the link of `reg_off` below for more information.
* https://sourceware.org/gdb/current/onlinedocs/gdb/ARM-Features.html *
* https://sourceware.org/gdb/current/onlinedocs/gdb/RISC_002dV-Features
* -.html
* value UINT16_MAX: This register was not provided by NuttX * value UINT16_MAX: This register was not provided by NuttX
*/ */
@ -772,7 +770,7 @@ begin_packed_struct struct tcbinfo_s
uint8_t u[8]; uint8_t u[8];
FAR const uint16_t *p; FAR const uint16_t *p;
} }
end_packed_struct reg_off; end_packed_struct reg_off; /* Refer to https://sourceware.org/gdb/current/onlinedocs/gdb.html/Standard-Target-Features.html */
} end_packed_struct; } end_packed_struct;
/* This is the callback type used by nxsched_foreach() */ /* This is the callback type used by nxsched_foreach() */