Re: Questions

看板DFBSD_kernel作者時間21年前 (2005/01/13 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
-On [20050112 18:12], Zera William Holladay (zholla1@uic.edu) wrote: >1. What is the diff between a "trap" and an "interrupt?" The distinction >between the two seems blurred at best. An interrupt is where peripheral devices signal the CPU that data is ready to be moved to/from memory from/to the device. The CPU interrupts its current process scheduling to handle IO. That explains also why on a LAN that has a lot of excessive broadcasting traffic a simple NIC can slow down the entire computer. I think the trap should be exception. And those are internal states the CPU triggers for itself: division by zero, breakpoints, overflow, page fault, and so on. -- Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/ http://www.tendra.org/ | http://www.in-nomine.org/ Ignorance is the opportunity to learn...
文章代碼(AID): #11vMNu00 (DFBSD_kernel)
文章代碼(AID): #11vMNu00 (DFBSD_kernel)