Description: refactor
Reviewed-by: likailong
This commit is contained in:
0
components/bounds_checking_function/COPYRIGHT.OpenSource
Executable file → Normal file
0
components/bounds_checking_function/COPYRIGHT.OpenSource
Executable file → Normal file
0
components/bounds_checking_function/LICENSE
Executable file → Normal file
0
components/bounds_checking_function/LICENSE
Executable file → Normal file
0
components/bounds_checking_function/README.OpenSource
Executable file → Normal file
0
components/bounds_checking_function/README.OpenSource
Executable file → Normal file
0
components/bounds_checking_function/README.en.md
Executable file → Normal file
0
components/bounds_checking_function/README.en.md
Executable file → Normal file
0
components/bounds_checking_function/README.md
Executable file → Normal file
0
components/bounds_checking_function/README.md
Executable file → Normal file
0
components/bounds_checking_function/include/securec.h
Executable file → Normal file
0
components/bounds_checking_function/include/securec.h
Executable file → Normal file
0
components/bounds_checking_function/include/securectype.h
Executable file → Normal file
0
components/bounds_checking_function/include/securectype.h
Executable file → Normal file
0
components/bounds_checking_function/src/fscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/fscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/fwscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/fwscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/gets_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/gets_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/input.inl
Executable file → Normal file
0
components/bounds_checking_function/src/input.inl
Executable file → Normal file
0
components/bounds_checking_function/src/memcpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/memcpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/memmove_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/memmove_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/memset_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/memset_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/output.inl
Executable file → Normal file
0
components/bounds_checking_function/src/output.inl
Executable file → Normal file
0
components/bounds_checking_function/src/scanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/scanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/secinput.h
Executable file → Normal file
0
components/bounds_checking_function/src/secinput.h
Executable file → Normal file
0
components/bounds_checking_function/src/securecutil.c
Executable file → Normal file
0
components/bounds_checking_function/src/securecutil.c
Executable file → Normal file
0
components/bounds_checking_function/src/securecutil.h
Executable file → Normal file
0
components/bounds_checking_function/src/securecutil.h
Executable file → Normal file
0
components/bounds_checking_function/src/secureinput_a.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureinput_a.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureinput_w.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureinput_w.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureprintoutput.h
Executable file → Normal file
0
components/bounds_checking_function/src/secureprintoutput.h
Executable file → Normal file
0
components/bounds_checking_function/src/secureprintoutput_a.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureprintoutput_a.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureprintoutput_w.c
Executable file → Normal file
0
components/bounds_checking_function/src/secureprintoutput_w.c
Executable file → Normal file
0
components/bounds_checking_function/src/snprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/snprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/sprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/sprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/sscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/sscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strcat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strcat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strcpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strcpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strncat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strncat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strncpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strncpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strtok_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/strtok_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/swprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/swprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/swscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/swscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vfscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vfscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vfwscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vfwscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vsnprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vsnprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vsprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vsprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vsscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vsscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vswprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vswprintf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vswscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vswscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vwscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/vwscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcscat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcscat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcscpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcscpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcsncat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcsncat_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcsncpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcsncpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcstok_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wcstok_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wmemcpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wmemcpy_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wmemmove_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wmemmove_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wscanf_s.c
Executable file → Normal file
0
components/bounds_checking_function/src/wscanf_s.c
Executable file → Normal file
0
components/cppsupport/los_cppsupport.c
Executable file → Normal file
0
components/cppsupport/los_cppsupport.c
Executable file → Normal file
0
components/cppsupport/los_cppsupport.h
Executable file → Normal file
0
components/cppsupport/los_cppsupport.h
Executable file → Normal file
4
components/cpup/los_cpup.c
Executable file → Normal file
4
components/cpup/los_cpup.c
Executable file → Normal file
@@ -30,6 +30,8 @@
|
||||
*/
|
||||
|
||||
#include "los_cpup.h"
|
||||
#include "securec.h"
|
||||
#include "los_memory.h"
|
||||
#include "los_debug.h"
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
@@ -37,7 +39,7 @@ extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if (LOSCFG_BASE_CORE_CPUP == YES)
|
||||
#if (LOSCFG_BASE_CORE_CPUP == 1)
|
||||
|
||||
/**
|
||||
* @ingroup los_cpup
|
||||
|
||||
0
components/cpup/los_cpup.h
Executable file → Normal file
0
components/cpup/los_cpup.h
Executable file → Normal file
Reference in New Issue
Block a user