Well I'm sorry but I didn't know IDT was marked as read only by Linux. If it is read only, how can you
register any new interrupt handler? I guess it's a way of securing stuff against malicious attacks.
I was taking for granted that the IDT was written when registering a new irq handler,
given that when an interrupt is raised, the new specified handler has to be called
and its address should be retrieved in some way, that is by storing it in the IDT.
I'm sorry, I'm a student and I'm trying to understand things,
Thank you,
Lorenzo