Introduction to Virtual Device Drivers


Protected-Mode Instructions



Download 274.5 Kb.
Page18/80
Date19.01.2022
Size274.5 Kb.
#58083
1   ...   14   15   16   17   18   19   20   21   ...   80
VXDS

Protected-Mode Instructions


The source files for a virtual device must start with the .386p directive to inform the assembler that protected-mode instructions are permitted. Although virtual devices have ring 0 privilege, they should not use protected instructions to modify the operation of the CPU, to change descriptors in the global or interrupt descriptor table, or to modify task state segments or registers. Such modifications can adversely affect the operation of Windows. The only exception to this is the virtual math coprocessor device (VMCPD), which is allowed to change the 80387 bits in the CR0 register.

Download 274.5 Kb.

Share with your friends:
1   ...   14   15   16   17   18   19   20   21   ...   80




The database is protected by copyright ©ininet.org 2024
send message

    Main page