View Point of Pc Assembly Language by Paul A. Carter
Interrupts ---------- External: Caused by Devices Outside the CPU | | | | | | ---- Traps: Error Interrupts (General DO NOT RETURN | | | ______ Software Interrupts: Interrupts Generated from The Interrupt Instruction (Eg DOS Uses these To Implement ITS API, Modern OS Use a c based Interface OR A LOWER Lever Interface At the Kernel Lever)
View Point of Operating Systems Principles by LuboMir F. Bic & Alan C. Shaw
Interrupts: a Hardware Signal Issued to the CPU from Some External Device | | | ------ Process Management (A Time-Out Interrupt Generated By A Timer Device) | | ______ device management (E.G I / O Devices)
Traps: handled through internal interrupt mechanisms | | | ------ overflow or underflow | | | ------ pages / segments management | | | ______ SVC (supervisor call, which form the basic interface between the OS kernel And the rest of the software)
My Opinion
Interrupts and Traps Are Same Enssentially, The Software Interrupts and the SVC Refer The Same Thing.