Trap instruction

A trap instruction is sent to when an application in user mode tries to access hardware without using a system call. This is passed to the OS to judge if the call was illegitimate or harmful. Whilst this is happening the process is stopped from doing anything else.