arm:ddekit use simple alloc to allocate stack.
Workaround for: -ddekit large alloc unnecessarily allocating physical contiguous memory. -the ARM port expecting that physical contiguous memory equals device memory.
This commit is contained in:
parent
afe5cecd7f
commit
eec4c10f33
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ ddekit_thread_create(void (*fun)(void *), void *arg, const char *name)
|
|||
strncpy(th->name, name, DDEKIT_THREAD_NAMELEN);
|
||||
th->name[DDEKIT_THREAD_NAMELEN-1] = 0;
|
||||
|
||||
th->stack = ddekit_large_malloc(DDEKIT_THREAD_STACKSIZE);
|
||||
th->stack = ddekit_simple_malloc(DDEKIT_THREAD_STACKSIZE);
|
||||
|
||||
th->arg = arg;
|
||||
th->fun = fun;
|
||||
|
|
Loading…
Reference in a new issue