增加所有文件

This commit is contained in:
2025-11-07 10:05:24 +08:00
parent e248b10f07
commit 7dc1e89694
8376 changed files with 2995205 additions and 42 deletions

View File

@@ -0,0 +1,39 @@
/*
* svcall.h
*
* Copyright (c) 2022 Semidrive Semiconductor.
* All rights reserved.
*
* Description: SV call header file.
*
* Revision History:
* -----------------
*/
#ifndef ARM_V7R_SVCALL_H_
#define ARM_V7R_SVCALL_H_
/* Cortex-R system calls ************************************************************/
/* SYS call 0:
*
* int arm_saveusercontext(uint32_t *saveregs);
*/
#define SYS_save_context (0)
/* SYS call 1:
*
* void arm_fullcontextrestore(uint32_t *restoreregs) noreturn_function;
*/
#define SYS_restore_context (1)
/* SYS call 2:
*
* void arm_switchcontext(void);
*/
#define SYS_switch_context (2)
#endif /* ARM_V7R_SVCALL_H_ */