Which instructions can not be issued in specific CPU ring

后端 未结 1 1293
广开言路
广开言路 2021-01-14 13:23

According to this source (Level 3 - 5) specific CPU rings can not do certain things, such as ring 1, 2, 3 code can not set up GDT, as os kernel would crash.

While i

1条回答
  •  忘掉有多难
    2021-01-14 13:36

    The following instructions cannot be executed in Ring 3:

    LGDT
    LLDT
    LTR
    LIDT
    MOV (to and from control registers only)
    MOV (to and from debug registers only)
    LMSW
    CLTS
    INVD
    WBINVD
    INVLPG
    HLT
    RDMSR
    WRMSR
    RDPMC
    RDTSC
    

    0 讨论(0)
提交回复
热议问题