stacktrace feature.

This commit is contained in:
Ben Gras 2008-12-11 15:33:43 +00:00
parent 6300c26921
commit 5db1a042c2

View file

@ -26,11 +26,6 @@ register message *m_ptr; /* pointer to request message */
vm_init();
if(m_ptr->m_source != VM_PROC_NR) {
kprintf("do_vmctl: source %d, not VM\n", m_ptr->m_source);
return ENOSYS;
}
if(!isokendpt(ep, &proc_nr)) {
kprintf("do_vmctl: unexpected endpoint %d from VM\n", ep);
return EINVAL;
@ -97,6 +92,10 @@ kprintf("SYSTEM: request %d:0x%lx-0x%lx, wrflag %d, failed\n",
}
#endif
return OK;
case VMCTL_STACKTRACE:
kprintf("vmctl stacktrace ");
proc_stacktrace(p);
return OK;
}
/* Try architecture-specific vmctls. */