commit
b7de7f6085
|
@ -163,16 +163,6 @@ extern "C" {
|
||||||
#define LEVEL4 4
|
#define LEVEL4 4
|
||||||
#define LEVEL5 5
|
#define LEVEL5 5
|
||||||
|
|
||||||
#ifdef YES
|
|
||||||
#undef YES
|
|
||||||
#endif
|
|
||||||
#define YES 1
|
|
||||||
|
|
||||||
#ifdef NO
|
|
||||||
#undef NO
|
|
||||||
#endif
|
|
||||||
#define NO 0
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#if (OS_SYS_MEM_CHECK == YES)
|
#if (OS_SYS_MEM_CHECK == 1)
|
||||||
#define LOS_DLNK_ENABLE_ALLOC_CHECK
|
#define LOS_DLNK_ENABLE_ALLOC_CHECK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ typedef struct tagLOS_DLNK_NODE {
|
||||||
* @param pool [IN] Starting address of memory.
|
* @param pool [IN] Starting address of memory.
|
||||||
* @param size [IN] Memory size.
|
* @param size [IN] Memory size.
|
||||||
*
|
*
|
||||||
* @retval #OS_ERROR ¨C1: The dynamic memory fails to be initialized.
|
* @retval #OS_ERROR <EFBFBD>C1: The dynamic memory fails to be initialized.
|
||||||
* @retval #LOS_OK 0: The dynamic memory is successfully initialized.
|
* @retval #LOS_OK 0: The dynamic memory is successfully initialized.
|
||||||
* @par Dependency:
|
* @par Dependency:
|
||||||
* <ul>
|
* <ul>
|
||||||
|
|
|
@ -188,12 +188,12 @@ extern EVENT_CB_S g_exampleEvent;
|
||||||
#define TST_IT
|
#define TST_IT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TEST_PT YES
|
#define TEST_PT 1
|
||||||
|
|
||||||
#if (YES == OS_INCLUDE_DYNMEM)
|
#if (1 == OS_INCLUDE_DYNMEM)
|
||||||
#define TEST_BIG YES
|
#define TEST_BIG 1
|
||||||
#else
|
#else
|
||||||
#define TEST_BIG NO
|
#define TEST_BIG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TASK_PRIO_TEST 25
|
#define TASK_PRIO_TEST 25
|
||||||
|
|
|
@ -57,7 +57,7 @@ VOID ItSuiteLosHwi()
|
||||||
ItLosHwi022();
|
ItLosHwi022();
|
||||||
ItLosHwi023();
|
ItLosHwi023();
|
||||||
ItLosHwi024();
|
ItLosHwi024();
|
||||||
#if (LOSCFG_BASE_CORE_SWTMR_ALIGN == YES)
|
#if (LOSCFG_BASE_CORE_SWTMR_ALIGN == 1)
|
||||||
ItLosHwi026();
|
ItLosHwi026();
|
||||||
#endif
|
#endif
|
||||||
ItLosHwi027();
|
ItLosHwi027();
|
||||||
|
|
|
@ -44,7 +44,7 @@ extern "C" {
|
||||||
#include "iCunit.h"
|
#include "iCunit.h"
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
|
|
||||||
#define OS_MEM_WATERLINE YES
|
#define OS_MEM_WATERLINE 1
|
||||||
|
|
||||||
#define LOS_DLNK_NODE_HEAD_SIZE 0
|
#define LOS_DLNK_NODE_HEAD_SIZE 0
|
||||||
#define MIN_DLNK_POOL_SIZE 0
|
#define MIN_DLNK_POOL_SIZE 0
|
||||||
|
|
|
@ -59,7 +59,7 @@ VOID ItSuiteLosSem(void)
|
||||||
ItLosSem026();
|
ItLosSem026();
|
||||||
ItLosSem028();
|
ItLosSem028();
|
||||||
ItLosSem029();
|
ItLosSem029();
|
||||||
#if (LOSCFG_BASE_CORE_SWTMR_ALIGN == YES)
|
#if (LOSCFG_BASE_CORE_SWTMR_ALIGN == 1)
|
||||||
ItLosSem031();
|
ItLosSem031();
|
||||||
#endif
|
#endif
|
||||||
ItLosSem032();
|
ItLosSem032();
|
||||||
|
|
|
@ -278,7 +278,7 @@ UINT32 TestHwiDelete(UINT32 hwiNum)
|
||||||
VOID TestHwiClear(UINT32 hwiNum) {}
|
VOID TestHwiClear(UINT32 hwiNum) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LOSCFG_BASE_IPC_SEM == YES)
|
#if (LOSCFG_BASE_IPC_SEM == 1)
|
||||||
UINT32 TestSemDelete(UINT32 semHandle)
|
UINT32 TestSemDelete(UINT32 semHandle)
|
||||||
{
|
{
|
||||||
return LOS_SemDelete(semHandle);
|
return LOS_SemDelete(semHandle);
|
||||||
|
|
Loading…
Reference in New Issue