mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
armv7-a: add SYS_switch_context to fix build break
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> Change-Id: I9891c64793457e1ebe7582c84b434ac465269cc4
This commit is contained in:
@@ -29,6 +29,14 @@
|
||||
|
||||
#include <syscall.h>
|
||||
|
||||
/* SYS call 2:
|
||||
*
|
||||
* void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs);
|
||||
*/
|
||||
|
||||
#define SYS_switch_context (2)
|
||||
|
||||
|
||||
#ifdef CONFIG_LIB_SYSCALL
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user