mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:21:51 +08:00
rptun: add rptun_reset support
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
|
||||
#define RPTUNIOC_START _RPTUNIOC(1)
|
||||
#define RPTUNIOC_STOP _RPTUNIOC(2)
|
||||
#define RPTUNIOC_PANIC _RPTUNIOC(3)
|
||||
#define RPTUNIOC_RESET _RPTUNIOC(3)
|
||||
#define RPTUNIOC_PANIC _RPTUNIOC(4)
|
||||
|
||||
#define RPTUN_NOTIFY_ALL (UINT32_MAX - 0)
|
||||
|
||||
@@ -315,6 +316,7 @@ extern "C"
|
||||
|
||||
int rptun_initialize(FAR struct rptun_dev_s *dev);
|
||||
int rptun_boot(FAR const char *cpuname);
|
||||
int rptun_reset(FAR const char *cpuname, int value);
|
||||
int rptun_panic(FAR const char *cpuname);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user