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......