X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Kernel%2Finclude%2Fthreads.h;h=f23c5b5656540b53d2976ec40a29b442d9022aa4;hb=a79ebcb3a2e206251f44e99376ec2ed6c2bacc63;hp=28d669d29eca66c7685db91a1e9482e827bdd9aa;hpb=814b2d0009da73b56c6def5d70a9dd97c7b17e2e;p=tpg%2Facess2.git diff --git a/Kernel/include/threads.h b/Kernel/include/threads.h index 28d669d2..f23c5b56 100644 --- a/Kernel/include/threads.h +++ b/Kernel/include/threads.h @@ -5,6 +5,7 @@ #include #include +#include typedef struct sMessage { @@ -67,6 +68,18 @@ enum { THREAD_STAT_DEAD }; +enum eFaultNumbers +{ + FAULT_MISC, + FAULT_PAGE, + FAULT_ACCESS, + FAULT_DIV0, + FAULT_OPCODE, + FAULT_FLOAT +}; + +#define GETMSG_IGNORE ((void*)-1) + // === FUNCTIONS === extern tThread *Proc_GetCurThread(); extern tThread *Threads_GetThread(Uint TID);