Home
last modified time | relevance | path

Searched refs:stackTop (Results 1 – 21 of 21) sorted by relevance

/haiku/src/system/kernel/arch/x86/32/
H A Dthread.cpp134 addr_t stackTop = thread->signal_stack_base + thread->signal_stack_size; in get_signal_stack() local
135 return (uint8*)arch_randomize_stack_pointer(stackTop - spaceNeeded); in get_signal_stack()
183 addr_t* stackTop = (addr_t*)_stackTop; in arch_thread_init_kthread_stack() local
186 "%p\n", stackTop, function, data)); in arch_thread_init_kthread_stack()
189 *--stackTop = (addr_t)data; in arch_thread_init_kthread_stack()
192 *--stackTop = 0; in arch_thread_init_kthread_stack()
196 *--stackTop = (addr_t)function; in arch_thread_init_kthread_stack()
200 *--stackTop = 0; in arch_thread_init_kthread_stack()
203 thread->arch_info.current_stack.esp = (uint32*)stackTop; in arch_thread_init_kthread_stack()
225 addr_t stackTop = thread->user_stack_base + thread->user_stack_size; in arch_thread_enter_userspace() local
[all …]
H A Dsyscalls.cpp30 void (*gX86SetSyscallStack)(addr_t stackTop) = NULL;
53 set_intel_syscall_stack(addr_t stackTop) in set_intel_syscall_stack() argument
55 x86_write_msr(IA32_MSR_SYSENTER_ESP, stackTop); in set_intel_syscall_stack()
/haiku/src/system/kernel/arch/x86/
H A Dx86_syscalls.h19 extern void (*gX86SetSyscallStack)(addr_t stackTop);
23 x86_set_syscall_stack(addr_t stackTop) in x86_set_syscall_stack() argument
28 gX86SetSyscallStack(stackTop); in x86_set_syscall_stack()
/haiku/src/system/kernel/arch/x86/64/
H A Dthread.cpp130 addr_t stackTop = thread->signal_stack_base + thread->signal_stack_size; in get_signal_stack() local
131 return (uint8*)arch_randomize_stack_pointer(stackTop - spaceNeeded); in get_signal_stack()
240 uintptr_t* stackTop = static_cast<uintptr_t*>(_stackTop); in arch_thread_init_kthread_stack() local
251 *--stackTop = uintptr_t(data); in arch_thread_init_kthread_stack()
252 *--stackTop = uintptr_t(function); in arch_thread_init_kthread_stack()
255 thread->arch_info.current_stack = stackTop; in arch_thread_init_kthread_stack()
277 addr_t stackTop = thread->user_stack_base + thread->user_stack_size; in arch_thread_enter_userspace() local
281 "stackTop %#lx\n", entry, args1, args2, stackTop); in arch_thread_enter_userspace()
283 stackTop = arch_randomize_stack_pointer(stackTop - sizeof(codeAddr)); in arch_thread_enter_userspace()
293 if (user_memcpy((void*)stackTop, (const void*)&codeAddr, sizeof(codeAddr)) in arch_thread_enter_userspace()
[all …]
H A Dsyscalls.cpp35 void (*gX86SetSyscallStack)(addr_t stackTop) = NULL;
103 set_intel_syscall_stack(addr_t stackTop) in set_intel_syscall_stack() argument
105 x86_write_msr(IA32_MSR_SYSENTER_ESP, stackTop); in set_intel_syscall_stack()
/haiku/src/system/kernel/arch/arm/
H A Darch_thread.cpp95 addr_t* stackTop = (addr_t*)_stackTop; in arch_thread_init_kthread_stack() local
98 "%p\n", thread->name, stackTop, function, data); in arch_thread_init_kthread_stack()
102 *--stackTop = (addr_t)function; in arch_thread_init_kthread_stack()
106 *--stackTop = 0; in arch_thread_init_kthread_stack()
109 *--stackTop = (addr_t)data; in arch_thread_init_kthread_stack()
112 thread->arch_info.sp = stackTop; in arch_thread_init_kthread_stack()
184 addr_t stackTop = thread->user_stack_base + thread->user_stack_size; in arch_thread_enter_userspace() local
187 "ustack_top 0x%" B_PRIxADDR "\n", entry, args1, args2, stackTop); in arch_thread_enter_userspace()
202 frame.usr_sp = stackTop; in arch_thread_enter_userspace()
238 addr_t stackTop = thread->signal_stack_base + thread->signal_stack_size; in get_signal_stack() local
[all …]
/haiku/src/system/boot/platform/openfirmware/
H A Dstart.cpp66 addr_t stackTop = gKernelArgs.cpu_kstack[0].start in platform_start_kernel() local
70 printf("kernel stack top: %p\n", (void*)stackTop); in platform_start_kernel()
77 status_t error = arch_start_kernel(&gKernelArgs, kernelEntry, stackTop); in platform_start_kernel()
/haiku/src/system/boot/platform/amiga_m68k/
H A Dstart.cpp72 addr_t stackTop in platform_start_kernel() local
89 : : "m" (stackTop)); in platform_start_kernel()
/haiku/src/system/boot/platform/atari_m68k/
H A Dstart.cpp72 addr_t stackTop in platform_start_kernel() local
89 : : "m" (stackTop)); in platform_start_kernel()
/haiku/src/system/boot/platform/bios_ia32/
H A Dstart.cpp133 addr_t stackTop in platform_start_kernel() local
152 : : "m" (stackTop)); in platform_start_kernel()
H A Dlong.cpp36 extern "C" void long_enter_kernel(int currentCPU, uint64 stackTop);
/haiku/src/system/boot/platform/riscv/
H A Dstart.cpp180 addr_t stackTop in platform_start_kernel() local
182 arch_enter_kernel(satp, args, image->elf_header.e_entry, stackTop); in platform_start_kernel()
/haiku/headers/private/kernel/arch/
H A Dthread.h25 void *stackTop, void (*function)(void*), const void *data);
/haiku/src/add-ons/kernel/generic/bios/
H A Dbios.cpp275 uint32 stackTop = bios_physical_address(state, stack) + kStackSize; in bios_interrupt() local
301 M.x86.R_SS = stackTop >> 4; in bios_interrupt()
302 M.x86.R_ESP = stackTop - (M.x86.R_SS << 4); in bios_interrupt()
/haiku/src/system/boot/platform/next_m68k/
H A Dstart.cpp75 addr_t stackTop in platform_start_kernel()
92 : : "m" (stackTop)); in platform_start_kernel()
/haiku/src/system/boot/platform/u-boot/
H A Dstart.cpp108 addr_t stackTop in platform_start_kernel() local
127 stackTop); in platform_start_kernel()
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Darch_start.cpp25 uint64 stackTop);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_thread.cpp173 addr_t stackTop = thread->signal_stack_base in get_signal_stack() local
175 return (uint8*)ROUNDDOWN(stackTop - spaceNeeded, 16); in get_signal_stack()
/haiku/src/kits/interface/
H A DColumnListView.cpp4881 int32 stackTop = 0; local
4883 stack[stackTop].list = &fRows;
4884 stack[stackTop].isVisible = true;
4885 stack[stackTop].listIndex = 0;
4894 stack_entry* currentEntry = &stack[stackTop];
4917 stackTop++;
4918 ASSERT(stackTop < kMaxDepth);
4919 stack[stackTop].listIndex = 0;
4920 stack[stackTop].list = childList;
4921 stack[stackTop].isVisible = (currentEntry->isVisible && parentRow->fIsExpanded);
[all …]
/haiku/build/jam/
H A DBuildFeatureRules88 local stackTop = $(evaluationStack[1]) ;
126 if $(processElement) && $(stackTop) = 1 {
/haiku/src/system/kernel/
H A Dthread.cpp766 uint8* stackTop = (uint8*)thread->kernel_stack_top; in init_thread_kernel_stack() local
783 clonedData = (void*)ROUNDDOWN((addr_t)stackTop - dataSize, 16); in init_thread_kernel_stack()
784 stackTop = (uint8*)clonedData; in init_thread_kernel_stack()
792 arch_thread_init_kthread_stack(thread, stack, stackTop, in init_thread_kernel_stack()