Skip to main content

Module death

Module death 

Source
Expand description

How a task ended, as the kernel says it in the death notice (name, NUL, then one of these). The kernel’s task::death holds the same values; ask asserts its copy against these.

Constants§

EXITED
Ended itself with exit; the status it gave (u32 LE) follows.
FAULT
Ended by a user-mode CPU fault; the kind below and the address (u64 LE) follow.
F_ALIGNMENT
A misaligned access the CPU refuses.
F_ILLEGAL
An instruction the CPU will not run; the address is the instruction’s.
F_INSTRUCTION
An instruction fetch its page tables do not allow; the address is the fetch address.
F_MEMORY
A load or store its page tables do not allow; the address is the data address.
F_OTHER
A fault the port does not classify.
F_PROTECTION
x86’s general protection fault; the address is the instruction’s.
KILLED
Ended by the kill syscall; the name of the task that called it follows.