about x86 protected mode

well,we only find 2 byte display of segment register in OD, but in fact, the segment register size is 96bit at least. and the protected mode is on segment registers.this

there are some data structures very importent:rest

gdt,idtcode

gdt→segment descriptor(tss task state segment use it)ip

idt→ gate descriptor( operating system code use dpl in this to judge it have the right privilege or not)it

there are too many rules to make it up. but they r not about the functions, so it is hard to understand, but interesting.io

if you just reverse the operating system, you cant understand it. meanwhile you have to know how the cpu works.ast

so, segmentation and paging is the spirit of the protected mode.function

由于看了一些英文资料,因为惯性吧,用英文表达了一段本身的思考。import

相对X86,ARM的寻址方式更像是实模式,至于多任务下的数据保护,由OS来完成。im

arm暂时先无论了,到作arm沙箱的时候再研究吧。

to be continue......

相关文章
相关标签/搜索