* let arch_debug_call_with_fault_handler() at least do the call, though without fault handler for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38989 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -319,8 +319,11 @@ void
|
|||||||
arch_debug_call_with_fault_handler(cpu_ent* cpu, jmp_buf jumpBuffer,
|
arch_debug_call_with_fault_handler(cpu_ent* cpu, jmp_buf jumpBuffer,
|
||||||
void (*function)(void*), void* parameter)
|
void (*function)(void*), void* parameter)
|
||||||
{
|
{
|
||||||
// TODO: Implement! Most likely in assembly.
|
// TODO: Implement fault handling! Most likely in assembly.
|
||||||
longjmp(jumpBuffer, 1);
|
// (see src/system/kernel/arch/x86/arch_x86.S)
|
||||||
|
|
||||||
|
// For now, just call the function and hope we don't crash :P
|
||||||
|
function(parameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user