CV-Bowen opened a new pull request, #21386:
URL: https://github.com/apache/nuttx/pull/21386
## Summary
Two additions to `enum boardioc_softreset_subreason_e` needed by the
rptun reset rework:
- `BOARDIOC_SOFTRESETCAUSE_POWEROFF`: a remote core can tell its peer
that it is powering off rather than rebooting.
- `BOARDIOC_SOFTRESETCAUSE_MAX`: marks the end of the enum, so rptun
can encode its own core states above the reset subreasons in the
status it shares with the peer.
The rptun change that uses them follows in a separate PR.
## Impact
Two new enum values at the end of the enum; existing values unchanged.
## Testing
Host: Ubuntu 22.04.5 LTS x86_64, QEMU version 10.2.1, sim: cc (Ubuntu
13.1.0-8ubuntu1~22.04) 13.1.0, qemu-armv8a: aarch64-none-elf-gcc (Arm GNU
Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205
Header only, no user in this PR. No regression in rpmsg:
sim:rpserver/rpproxy and qemu-armv8a:rpserver/rpproxy boot and pass the fixed
rpmsg cases (dump, ping, rpmsgfs; 15/15). qemu-armv8a was built with
LIBC_ENVPATH and BINFMT_CHECKEXEC disabled, which current master needs for
nxinit to start nsh there; unrelated to this change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]