Files
E3-20260112-pitch/e3_176_ref-buding/arch/include/armv7-r/svcall.h
2026-01-12 18:46:01 +08:00

26 lines
588 B
C

/*
* 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_
/* sys call 0: save the current context according to the provided register array. */
#define SYS_save_context (0)
/* sys call 1: restore the full context according to the provided register array. */
#define SYS_restore_context (1)
/* sys call 2: switch the context. */
#define SYS_switch_context (2)
#endif /* ARM_V7R_SVCALL_H_ */