Eliminate references to k_memset() and k_memcpy()
Since the kernel now provides a minimal string library, there is no longer any reason not to use the standard memset() and memcpy() APIs. Change-Id: Iad587ace6f41fd94c9c961d13d9322495a7da1be Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
63720a9af3
commit
140d314336
10 changed files with 22 additions and 18 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <microkernel.h>
|
||||
#include <nanokernel.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <string.h>
|
||||
#include <toolchain.h>
|
||||
#include <sections.h>
|
||||
|
||||
|
@ -209,7 +210,7 @@ void start_task(struct k_proc *X, /* ptr to task control block */
|
|||
/* Note: the field X->worksize now represents the task size in bytes */
|
||||
|
||||
#ifdef CONFIG_INIT_STACKS
|
||||
k_memset(X->workspace, 0xaa, X->worksize);
|
||||
memset(X->workspace, 0xaa, X->worksize);
|
||||
#endif
|
||||
|
||||
contextOptions = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue