Message type for SYS_ABORT
Change-Id: Ic24a4779cc7955cb94f81fec58a358057ca85cb1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* m_type: SYS_ABORT
|
||||
*
|
||||
* The parameters for this kernel call are:
|
||||
* m1_i1: ABRT_HOW (how to abort, possibly fetch monitor params)
|
||||
* m_lsys_krn_sys_abort.how (how to abort, possibly fetch monitor params)
|
||||
*/
|
||||
|
||||
#include "kernel/system.h"
|
||||
@@ -18,7 +18,7 @@ int do_abort(struct proc * caller, message * m_ptr)
|
||||
/* Handle sys_abort. MINIX is unable to continue. This can originate e.g.
|
||||
* in the PM (normal abort) or TTY (after CTRL-ALT-DEL).
|
||||
*/
|
||||
int how = m_ptr->ABRT_HOW;
|
||||
int how = m_ptr->m_lsys_krn_sys_abort.how;
|
||||
|
||||
/* Now prepare to shutdown MINIX. */
|
||||
prepare_shutdown(how);
|
||||
|
||||
Reference in New Issue
Block a user