tss entry format question
Posted: Wed Aug 05, 2020 1:22 am
James molloy sets the access byte in the tss's gdt entry as 0xE9... the flag byte is set to zero
ok, let me break this down
0xE9 is 0b11101001
dpl is set to 3 ----> why is dpl for tss set to user mode? why?
ex bit is 1 ---> why is tss executable? why?
rw bit is 0 -----> what does it mean? tss should be writable right, before esp0 and ss0 will be used to store esp and ss?
sz bit is 0 -----> it is 16 bit protected mode? 32 bit sounds more right?
also the limit field is the size of the tss struct right? james molloy also had bug computing the limit field of tss..
Someone please explain those bits to me!!!!
ok, let me break this down
0xE9 is 0b11101001
dpl is set to 3 ----> why is dpl for tss set to user mode? why?
ex bit is 1 ---> why is tss executable? why?
rw bit is 0 -----> what does it mean? tss should be writable right, before esp0 and ss0 will be used to store esp and ss?
sz bit is 0 -----> it is 16 bit protected mode? 32 bit sounds more right?
also the limit field is the size of the tss struct right? james molloy also had bug computing the limit field of tss..
Someone please explain those bits to me!!!!