From 9fc6241057f8dba33091d11648903a2d716882ba Mon Sep 17 00:00:00 2001 From: arvinzzz Date: Tue, 6 Apr 2021 21:04:31 +0800 Subject: [PATCH] Description: Fix the problem that the actual implementation of the function does not match the description. Change-Id: Icdbc0182efc023734ccbe7e80b1926d64a18d01c --- kernel/common/los_config.h | 4 ++-- kernel/include/los_sem.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/common/los_config.h b/kernel/common/los_config.h index be16a712..1462f018 100755 --- a/kernel/common/los_config.h +++ b/kernel/common/los_config.h @@ -153,8 +153,8 @@ extern UINT32 __heap_end; * @ingroup los_config * Minimum stack size. * - * 0x600 bytes, aligned on a boundary of 8. - * 0x600 bytes, aligned on a boundary of 4. + * 0x800 bytes, aligned on a boundary of 8. + * 0x800 bytes, aligned on a boundary of 4. */ #ifndef LOS_TASK_MIN_STACK_SIZE #ifdef __LP64__ diff --git a/kernel/include/los_sem.h b/kernel/include/los_sem.h index 6e37a569..a4ac824b 100644 --- a/kernel/include/los_sem.h +++ b/kernel/include/los_sem.h @@ -185,7 +185,7 @@ extern "C" { *
  • None.
  • * * - * @param count [IN] Initial number of available semaphores. The value range is [0, OS_SEM_COUNT_MAX). + * @param count [IN] Initial number of available semaphores. The value range is [0, OS_SEM_COUNT_MAX]. * @param semHandle [OUT] ID of the semaphore control structure that is initialized. * * @retval #LOS_ERRNO_SEM_PTR_NULL The passed-in semHandle value is NULL. -- GitLab