Searched refs:iframe (Results 1 - 25 of 58) sorted by last modified time

123

/haiku/headers/private/kernel/arch/arm64/
H A Darch_cpu.h130 struct iframe { struct
H A Darch_thread_types.h15 struct iframe *frames[IFRAME_TRACE_DEPTH];
/haiku/src/system/kernel/arch/x86/
H A Darch_int.cpp87 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 Darch_debug.cpp426 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 Darch_thread.cpp30 extern "C" void x86_return_to_userland(iframe* frame);
38 static struct iframe*
41 // iterate backwards through the stack frames, until we hit an iframe
48 return (struct iframe*)frame;
58 static struct iframe*
59 get_previous_iframe(struct iframe* frame)
69 Returns the current iframe structure of the running thread.
71 sure that such iframe exists; ie. from syscalls, but usually not
74 static struct iframe*
84 userland->kernel transition iframe (usuall
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp166 static void WriteRegisters(iframe* frame)
208 WriteTrapInfo(iframe* frame)
353 STrap(iframe* frame)
358 iframe oldFrame = *frame;
H A Darch_debug.cpp28 void WriteRegisters(iframe* frame);
295 WriteTrapInfo((iframe*)fp - 1);
H A Darch_thread.cpp124 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));
/haiku/src/system/kernel/arch/ppc/
H A Darch_int.cpp46 // An iframe stack used in the early boot process when we don't have
81 print_iframe(struct iframe *frame)
83 dprintf("iframe at %p:\n", frame);
99 extern "C" void ppc_exception_entry(int vector, struct iframe *iframe);
101 ppc_exception_entry(int vector, struct iframe *iframe) argument
104 dprintf("ppc_exception_entry: time %lld vector 0x%x, iframe %p, "
105 "srr0: %p\n", system_time(), vector, iframe, (void*)iframe
[all...]
H A Darch_debug.cpp164 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);
/haiku/src/system/kernel/arch/m68k/
H A Darch_int.cpp62 // An iframe stack used in the early boot process when we don't have
107 print_iframe(struct iframe *frame)
109 dprintf("iframe at %p:\n", frame);
134 fault_address(struct iframe *iframe) argument
136 switch (iframe->cpu.type) {
141 return iframe->cpu.type_2.instruction_address;
143 return iframe->cpu.type_3.effective_address;
145 return iframe->cpu.type_7.effective_address;
147 return iframe
159 fault_was_write(struct iframe *iframe) argument
178 m68k_exception_entry(struct iframe *iframe) argument
[all...]
H A Darch_debug.cpp164 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
H A Darch_thread.cpp46 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];
/haiku/src/system/kernel/arch/arm64/
H A Darch_int.cpp38 // 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 Darch_debug.cpp363 kprintf("iframe %p (end = %p)\n",
384 // see if the frame pointer matches the iframe
385 struct iframe *frame = NULL;
388 // it's an iframe
395 kprintf("iframe at %p\n", frame);
H A Darch_thread.cpp31 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/arm/
H A Darch_int.cpp67 // An iframe stack used in the early boot process when we don't have
103 print_iframe(const char *event, struct iframe *frame)
204 // iframe stack as used by KDL.
207 IFrameScope(struct iframe *iframe) { argument
210 arm_push_iframe(&fThread->arch_info.iframes, iframe);
212 arm_push_iframe(&gBootFrameStack, iframe);
216 // pop iframe
228 arch_arm_undefined(struct iframe *iframe) argument
238 arch_arm_syscall(struct iframe *iframe) argument
467 arch_arm_irq(struct iframe *iframe) argument
497 arch_arm_fiq(struct iframe *iframe) argument
[all...]
H A Darch_debug.cpp373 kprintf("iframe %p (end = %p)\n",
394 // see if the frame pointer matches the iframe
395 struct iframe *frame = NULL;
398 // it's an iframe
405 kprintf("iframe at %p\n", frame);
H A Darch_thread.cpp47 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/add-ons/kernel/drivers/misc/
H A Dpoke.cpp107 iframe* frame = x86_get_user_iframe();
129 iframe* frame = x86_get_user_iframe();
/haiku/src/system/kernel/arch/x86/64/
H A Dthread.cpp82 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...]
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h16 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/arm/
H A Darch_thread_types.h12 struct iframe { struct
37 struct iframe *frames[IFRAME_TRACE_DEPTH];
54 struct iframe* userFrame;
66 struct iframe frame;
74 void arch_return_to_userland(struct iframe *);
/haiku/headers/private/kernel/arch/x86/
H A Darch_cpu.h466 // 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/boot/platform/riscv/
H A Dtraps.cpp18 struct iframe { struct
82 MTrap(iframe* frame)

Completed in 113 milliseconds

123