[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/modem/psbase/inc/ms_crit.h b/cp/ps/modem/psbase/inc/ms_crit.h
new file mode 100644
index 0000000..bab28eb
--- /dev/null
+++ b/cp/ps/modem/psbase/inc/ms_crit.h
@@ -0,0 +1,25 @@
+#include "base_api.h"

+

+#if MS_OS_CRITICAL_SECTION_SUPPORT > 0

+

+int os_enter_critical_section_sem(NU_SEMAPHORE *sem);

+

+int os_leave_critical_section_sem(NU_SEMAPHORE *sem);

+

+int os_sem_is_custom_style(OPTION sema_style);

+

+int os_sem_is_custom(NU_SEMAPHORE *sem_p);

+

+VOID os_sem_set_custom(NU_SEMAPHORE *sem, OPTION sema_style);

+

+UINT32 os_sem_create_custom(
+    NU_SEMAPHORE *sem_p,
+    const char *name,
+    int i,
+    OPTION sema_style);

+

+STATUS os_sem_kill_custom(NU_SEMAPHORE *sem_p);

+

+

+// P98C-YXS VOID os_sem_preset_crit_sect(NU_SEMAPHORE *sem, NU_TASK task_ptr);

+#endif