/haiku/headers/private/kernel/arch/riscv64/ |
H A D | arch_thread_types.h | 16 struct iframe { struct 74 iframe* userFrame; 86 iframe frame; 98 void arch_load_user_iframe(arch_stack* stackHeader, iframe* frame)
|
/haiku/headers/private/kernel/arch/x86/32/ |
H A D | iframe.h | 12 struct iframe { struct 13 uint32 type; // iframe type 34 // user_sp and user_ss are only present when the iframe is a userland 35 // iframe (IFRAME_IS_USER()). A kernel iframe is shorter.
|
/haiku/headers/private/kernel/arch/mipsel/ |
H A D | arch_cpu.h | 16 struct iframe { struct 17 #warning struct iframe
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_int.cpp | 38 // An iframe stack used in the early boot process when we don't have 75 print_iframe(const char *event, struct iframe *frame) 204 // iframe stack as used by KDL. 207 IFrameScope(struct iframe *iframe) { argument 210 arm64_push_iframe(&fThread->arch_info.iframes, iframe); 212 arm64_push_iframe(&gBootFrameStack, iframe); 216 // pop iframe 228 do_sync_handler(iframe * frame) 384 do_error_handler(iframe * fram [all...] |
H A D | arch_thread.cpp | 31 arm64_push_iframe(struct iframe_stack *stack, struct iframe *frame) 110 extern "C" void _eret_with_iframe(iframe *frame); 129 iframe frame;
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_thread.cpp | 34 ppc_push_iframe(struct iframe_stack *stack, struct iframe *frame) 49 /** Returns the current iframe structure of the running thread. 51 * sure that such iframe exists; ie. from syscalls, but usually not 54 static struct iframe * 65 * userland->kernel transition iframe (usually the first one, save for 67 * \return The iframe, or \c NULL, if there is no such iframe (e.g. when 70 struct iframe * 77 struct iframe *frame = thread->arch_info.iframes.frames[i];
|
/haiku/headers/private/kernel/arch/x86/64/ |
H A D | iframe.h | 9 struct iframe { struct
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_thread.cpp | 46 m68k_push_iframe(struct iframe_stack *stack, struct iframe *frame) 61 /** Returns the current iframe structure of the running thread. 63 * sure that such iframe exists; ie. from syscalls, but usually not 66 static struct iframe * 77 * userland->kernel transition iframe (usually the first one, save for 79 * \return The iframe, or \c NULL, if there is no such iframe (e.g. when 82 struct iframe * 89 struct iframe *frame = thread->arch_info.iframes.frames[i];
|
H A D | arch_user_debugger.cpp | 46 if (struct iframe* frame = m68k_get_user_iframe()) {
|
H A D | arch_debug.cpp | 164 kprintf("iframe %p (end = %p)\n", 185 // see if the frame pointer matches the iframe 186 struct iframe *frame = NULL; 189 // it's an iframe 196 kprintf("iframe at %p\n", frame); 204 #warning M68K: a7 in iframe ?? 302 // see if the frame pointer matches the iframe 303 struct iframe *frame = NULL; 306 // it's an iframe
|
/haiku/src/system/kernel/arch/x86/32/ |
H A D | interrupts.h | 17 struct iframe; 80 void x86_double_fault_exception(struct iframe* frame); 81 void x86_page_fault_exception_double_fault(struct iframe* frame);
|
H A D | thread.cpp | 85 x86_restart_syscall(struct iframe* frame) 125 get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action, 245 // prepare the user iframe 246 iframe frame = {}; 266 /*! Sets up the user iframe for invoking a signal handler. 270 be handled), and sets up the user iframe so that when returning to userland 296 struct iframe *frame = x86_get_current_iframe(); 298 panic("arch_setup_signal_frame(): No user iframe!"); 356 // Adjust the iframe's esp and eip, so that the thread will continue with 371 struct iframe* fram [all...] |
/haiku/src/system/boot/platform/riscv/ |
H A D | traps.cpp | 18 struct iframe { struct 82 MTrap(iframe* frame)
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_debug.cpp | 426 print_iframe(iframe* frame) 431 kprintf("%s iframe at %p (end = %p)\n", isUser ? "user" : "kernel", frame, 447 kprintf("%s iframe at %p (end = %p)\n", isUser ? "user" : "kernel", frame, 561 static iframe* 564 // iterate backwards through the stack frames, until we hit an iframe 567 return (iframe*)frame; 576 static iframe* 577 get_previous_iframe(Thread* thread, iframe* frame) 586 static iframe* 607 iframe* fram [all...] |
H A D | arch_int.cpp | 87 x86_invalid_exception(iframe* frame) 98 x86_fatal_exception(iframe* frame) 107 x86_unexpected_exception(iframe* frame) 216 x86_hardware_interrupt(struct iframe* frame) 264 x86_page_fault_exception(struct iframe* frame) 355 // the page fault handler wants us to modify the iframe to set the
|
H A D | arch_user_debugger.cpp | 79 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) 120 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) 148 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) 173 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) 202 get_cpu_state(Thread* thread, iframe* frame, debug_cpu_state* cpuState) 675 // TODO: Since we need an iframe, this doesn't work when KDL wasn't entered 678 iframe* frame = x86_get_current_iframe(); 680 kprintf("Failed to get the current iframe!\n"); 730 if (iframe* frame = x86_get_user_iframe()) { 746 if (iframe* fram [all...] |
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_thread.cpp | 47 arm_push_iframe(struct iframe_stack *stack, struct iframe *frame) 198 // prepare the user iframe 199 iframe frame = {}; 218 struct iframe* frame = thread->arch_info.userFrame; 220 panic("arch_on_signal_stack(): No user iframe!"); 231 get_signal_stack(Thread* thread, struct iframe* frame, 250 iframe* frame = thread->arch_info.userFrame; 252 panic("arch_setup_signal_frame(): No user iframe!"); 313 iframe* frame = thread_get_current_thread()->arch_info.userFrame; 315 panic("arch_restore_signal_frame(): No user iframe!"); [all...] |
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_thread.cpp | 124 iframe frame; 149 struct iframe* frame = thread->arch_info.userFrame; 151 panic("arch_on_signal_stack(): No user iframe!"); 162 get_signal_stack(Thread* thread, struct iframe* frame, 186 iframe* frame = thread->arch_info.userFrame; 269 iframe* frame = thread_get_current_thread()->arch_info.userFrame; 327 sizeof(iframe));
|
H A D | arch_user_debugger.cpp | 48 iframe* frame = thread_get_current_thread()->arch_info.userFrame; 96 iframe* frame = thread->arch_info.userFrame;
|
H A D | arch_int.cpp | 166 static void WriteRegisters(iframe* frame) 208 WriteTrapInfo(iframe* frame) 353 STrap(iframe* frame) 358 iframe oldFrame = *frame;
|
/haiku/headers/private/kernel/arch/x86/ |
H A D | arch_cpu.h | 466 // iframe types 674 void x86_invalid_exception(iframe* frame); 675 void x86_fatal_exception(iframe* frame); 676 void x86_unexpected_exception(iframe* frame); 677 void x86_hardware_interrupt(iframe* frame); 678 void x86_page_fault_exception(iframe* iframe);
|
/haiku/src/system/kernel/arch/x86/64/ |
H A D | thread.cpp | 82 x86_restart_syscall(iframe* frame) 121 get_signal_stack(Thread* thread, iframe* frame, struct sigaction* action, 297 // Prepare the user iframe. 298 iframe frame = {}; 315 /*! Sets up the user iframe for invoking a signal handler. 319 be handled), and sets up the user iframe so that when returning to userland 345 iframe* frame = x86_get_current_iframe(); 347 panic("arch_setup_signal_frame(): No user iframe!"); 405 // Set up the iframe to execute the signal handler wrapper on our prepared 423 iframe* fram [all...] |
H A D | descriptors.cpp | 159 typedef void interrupt_handler_function(iframe* frame); 350 x86_64_general_protection_fault(iframe* frame) 369 x86_64_stack_fault_exception(iframe* frame)
|
/haiku/src/add-ons/kernel/drivers/misc/ |
H A D | poke.cpp | 107 iframe* frame = x86_get_user_iframe(); 129 iframe* frame = x86_get_user_iframe();
|
/haiku/headers/private/kernel/arch/ppc/ |
H A D | arch_cpu.h | 22 struct iframe { struct
|