看板 ASM 關於我們 聯絡資訊
是這樣的, 小弟我之前在上組語的課程時 (課本是用Assembly Language for Intel-Based Computers 5ed, KIP R. IRVINE) 教授上課也只有提到protected mode, real-address mode, 和 system management mode(課本也只有提到這三種) 最近在閱讀有關於 virtualization 的 paper 時, 看到了 The x86 privilege levels are generally described as rings, and are numbered from zero (most privileged) to three (least privileged). 因為跟之前所學的無法連接,所以上網找了一些資料 在 ring 的 wiki 中 http://en.wikipedia.org/wiki/Ring_(computer_security) 提到的所謂的ring 好像是作業系統裡面權限的劃分 與 Intel CPU 的 mode 似乎沒有直接的對應 接著我去找了 IA-32 Intel Architecture Software Developer's Mannual Volumn 1 來看, 整篇文件 432 頁只有一個地方有提到 ring 0 (A numeric exception will trap to the kernel via the real INT 16 residing in the kernel at ring 0.) 所以我還是無法知道 ring 跟 CPU mode 之間的關係 OTZ 希望各位大大解答 <(__)> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.243.43
zha0:找 Volumn 2 呢 ?___? XD 03/14 15:54
zha0:cpu 進化到 pm 後就有分 ring0~3 了 03/14 15:55
king19880326:我看了volumn2 搜尋了 ring 0 還是沒有東西 03/14 17:39
king19880326:不好意思可以告訴我在哪邊嗎 <(__)> 03/14 17:40
Chevelle:我手邊的檔怪怪的 有個 Volume 3 呀 03/14 21:03
Chevelle:system programming guide 03/14 21:03
Chevelle:有個 chap 叫 Protection 在裡頭吧 03/14 21:04
R119:事實上還有一個big real-mode XD 03/19 19:50