I have been doing some hacking for windows and came across a fact when I did SIDT. When I read SIDT, I found that value of IDT limit is 0xFFF(u4096).
I was pretty surprised to find it out. I was under the impression that maximum number of descriptors are 256. Then how come IDTR limit is 0xFFF?
My system is I7 running Win 7 in 64 bit.
Thanks.
Two facts:
256 * 16 = 4096. Bytes would start at offset 0 and end at 4095.
(BTW, 0xFFF is equal to 4095, not 4096.)