Is IDT is different for different process?

35 views
Skip to first unread message

marathi...@gmail.com

unread,
Feb 2, 2021, 12:27:22 AM2/2/21
to noc21-cs4...@nptel.iitm.ac.in
Hi,

I have a question about what is happening in this video at 00:25:19 -

http://www.youtube.com/watch?v=xbEksyB1kBc#t=1519s.

if it is different for different process then can 2 process have different IST for a unique interrupt right? which may cause problems. If it is unique for all process then why do we need IDTR when can use specific memory area to store IDT like in case of arm all ISR addresses are stored at starting location.

Thanks!



Reference Key - Key('StudentQuestionEntity', 5545663197609984, namespace='ns_noc21_cs44')

Parth Dhar

unread,
Mar 24, 2021, 8:02:43 PM3/24/21
to Discussion forum for Operating System, marathi...@gmail.com
Yes, else IDTs would also be switched on a context-switch.

Having the IDT reside anywhere in memory and not at a hardcoded address is an x86 design choice. It allows for more flexibility.

Gireesh Marathi

unread,
Mar 24, 2021, 10:04:41 PM3/24/21
to Parth Dhar, Discussion forum for Operating System
Ok, thanks for the clarification. 
Reply all
Reply to author
Forward
0 new messages