Refine
This commit is contained in:
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user