From 7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 3 Sep 2017 22:02:48 -0400 Subject: pru: Support config_reset command to manually reset mcu Add support for resetting the MCU via a software only mechanism. This is useful on the PRU. Signed-off-by: Kevin O'Connor --- src/basecmd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/basecmd.h') diff --git a/src/basecmd.h b/src/basecmd.h index 8787b194..21555bf8 100644 --- a/src/basecmd.h +++ b/src/basecmd.h @@ -10,6 +10,7 @@ void *oid_lookup(uint8_t oid, void *type); void *oid_alloc(uint8_t oid, void *type, uint16_t size); void *oid_next(uint8_t *i, void *type); void stats_update(uint32_t start, uint32_t cur); +void config_reset(uint32_t *args); #define foreach_oid(pos,data,oidtype) \ for (pos=-1; (data=oid_next(&pos, oidtype)); ) -- cgit v1.2.3-70-g09d2