增加bootload程序

This commit is contained in:
2025-11-14 21:41:29 +08:00
parent daaf7aea06
commit 9c16ad5e3d
8378 changed files with 2997890 additions and 0 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_ */