About selector
Posted: Wed Jan 12, 2005 5:27 am
I am now learninng about protected mode, if I am setting a GDT and siwtch to protected mode. Let say I am putting a code descriptor entry at 0x08 and data at 0x10.
for accessing address in protected, my CS has to be 0x08, Is it the selector is 0x08? and it should put in CS?
#2 question, if 0x08 is a selector, the selector format I found is like these,
Why my selector don't need to put RPL and TI bit to be set?
should it be
but the needed is just put 0x08 into _CS and everything OK. so why is it. Or the selector is not 0x08.
#3 question, what is cascade for PIC. I check for the dictionary and it talk about waterfall, so what is it about?
I have a lot of question about cascade.
for accessing address in protected, my CS has to be 0x08, Is it the selector is 0x08? and it should put in CS?
#2 question, if 0x08 is a selector, the selector format I found is like these,
Code: Select all
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
[ Pointer into a Descriptor Table ] TI [ RPL ]
should it be
Code: Select all
selector = 0x08 << 3 + TI << 2 + RPL
_CS = selector
#3 question, what is cascade for PIC. I check for the dictionary and it talk about waterfall, so what is it about?
I have a lot of question about cascade.