This commit is contained in:
2026-05-29 13:19:19 +08:00
parent 3daf13dabb
commit 1bc0c7afac
2 changed files with 10 additions and 7 deletions
+9 -6
View File
@@ -19,6 +19,7 @@
extern volatile void* g_os_port_switch_from_sp;
extern volatile void* g_os_port_switch_to_sp;
extern volatile os_bool_t g_os_port_context_switch_flag;
/* ------------------------------------------------------------------------------------------------------------------ */
/* */
@@ -56,6 +57,14 @@ void os_port_clear_context_switch_request(void);
*/
void os_port_on_switch_success(void);
/* ------------------------------------------------------------------------------------------------------------------ */
/* 初始化和启动 */
void os_port_init(void);
void os_port_startup(void);
/* ------------------------------------------------------------------------------------------------------------------ */
/* 中断管理 */
@@ -91,11 +100,5 @@ void os_port_on_switch_success(void);
#define os_port_restore_irq_in_isr
#endif
/* ------------------------------------------------------------------------------------------------------------------ */
/* 初始化和启动 */
void os_port_init(void);
void os_port_startup(void);
#endif /*INCLUDED_OS_PORT_H*/