初始化版本

This commit is contained in:
冯佳
2026-02-09 10:27:21 +08:00
commit 64d767932f
4467 changed files with 2486822 additions and 0 deletions

19
osal/include/osal_irq.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef __OSAL_IRQ_H__
#define __OSAL_IRQ_H__
#include "osal_def.h"
#ifdef __cplusplus
extern "C" {
#endif
/* IRQ/Critical Section API */
void osal_enter_critical(void);
void osal_exit_critical(void);
osal_uint8_t osal_interrupt_get_nest(void);
#ifdef __cplusplus
}
#endif
#endif /* __OSAL_IRQ_H__ */