Searched refs:stack_base (Results 1 – 5 of 5) sorted by relevance
| /system/ulib/mini-process/ |
| A D | mini-process.c | 44 static zx_status_t prepare_stack_vmo(zx_handle_t vmar, zx_vaddr_t* stack_base, zx_vaddr_t* sp) { in prepare_stack_vmo() argument 65 status = zx_vmar_map(vmar, perms, 0, stack_vmo, 0, stack_size, stack_base); in prepare_stack_vmo() 70 *sp = compute_initial_stack_pointer(*stack_base, stack_size); in prepare_stack_vmo() 83 zx_vaddr_t stack_base = 0; in start_mini_process_etc() local 85 zx_status_t status = prepare_stack_vmo(vmar, &stack_base, &sp); in start_mini_process_etc() 96 status = zx_process_start(process, thread, stack_base, sp, transferred_handle, 0); in start_mini_process_etc() 147 status = zx_process_start(process, thread, stack_base, sp, chn[1], channel_read); in start_mini_process_etc() 253 zx_vaddr_t stack_base = 0; in start_mini_process_thread() local 255 zx_status_t status = prepare_stack_vmo(vmar, &stack_base, &sp); in start_mini_process_thread() 259 return zx_thread_start(thread, stack_base, sp, 0, 0); in start_mini_process_thread()
|
| /system/utest/perftest/ |
| A D | process-test.cpp | 19 uintptr_t compute_stack_pointer(uintptr_t stack_base, size_t stack_size) { in compute_stack_pointer() argument 20 uintptr_t sp = stack_base + stack_size; in compute_stack_pointer() 121 uintptr_t stack_base; in Init() local 123 &stack_base) == ZX_OK); in Init() 124 sp_ = compute_stack_pointer(stack_base, stack_size); in Init()
|
| /system/utest/core/pthread/ |
| A D | pthread.cpp | 249 void* stack_base; in pthread_getstack_check() local 251 result = pthread_attr_getstack(&attr, &stack_base, &stack_size); in pthread_getstack_check() 256 uintptr_t low = reinterpret_cast<uintptr_t>(stack_base); in pthread_getstack_check()
|
| /system/core/userboot/ |
| A D | start.c | 265 zx_vaddr_t stack_base; in bootstrap() local 267 stack_vmo, 0, stack_size, &stack_base); in bootstrap() 269 uintptr_t sp = compute_initial_stack_pointer(stack_base, stack_size); in bootstrap()
|
| /system/ulib/launchpad/ |
| A D | launchpad.c | 1128 zx_vaddr_t stack_base; in prepare_start() local 1131 0, stack_vmo, 0, stack_size, &stack_base); in prepare_start() 1134 sp = compute_initial_stack_pointer(stack_base, stack_size); in prepare_start()
|
Completed in 9 milliseconds