From 6acb4532d41eba3733ea90cf1314e9ae8a0e4ed6 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Tue, 16 Jul 2024 09:24:20 +0800 Subject: [PATCH] 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 --- include/nuttx/sched.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index 2dcd7bd9c49..f08ed4e3a4f 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -759,10 +759,8 @@ begin_packed_struct struct tcbinfo_s uint16_t regs_num; /* Num of general regs */ /* Offset pointer of xcp.regs, order in GDB org.gnu.gdb.xxx feature. - * Please refer: - * https://sourceware.org/gdb/current/onlinedocs/gdb/ARM-Features.html - * https://sourceware.org/gdb/current/onlinedocs/gdb/RISC_002dV-Features - * -.html + * Refer to the link of `reg_off` below for more information. + * * value UINT16_MAX: This register was not provided by NuttX */ @@ -772,7 +770,7 @@ begin_packed_struct struct tcbinfo_s uint8_t u[8]; 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; /* This is the callback type used by nxsched_foreach() */