Introduction to Virtual Device Drivers



Download 274.5 Kb.
Page67/80
Date19.01.2022
Size274.5 Kb.
#58083
1   ...   63   64   65   66   67   68   69   70   ...   80
VXDS
Bit

Meaning

0

Set to 1 to wait until interrupts are enabled.

1

Set to 1 to wait until critical section is released.

All other bits are reserved and must be 0.

Priority

Specifies the priority boost for the virtual machine. It can be one of the following values.



Value

Meaning

Critical_Section_Boost

VM priority is boosted by this value when Begin_Critical_Section is called.

Cur_Run_VM_Boost

Time-slice scheduler boosts each VM in turn by this value to force them to run for their allotted time slice.

High_Pri_Device_Boost

Time critical operations that should not circumvent the critical section boost should use this boost.

Low_Pri_Device_Boost

Used by virtual devices that need an event to be processed in a timely fashion but that are not extremely time critical.

Reserved_High_Boost

Reserved; do not use.

Reserved_Low_Boost

Reserved; do not use.

Time_Critical_Boost

Events that must be processed even when another VM is in a critical section should use this boost. For example, VPICD uses this when simulating hardware interrupts.

The DX register contains the high-order word, the SI register the low-order word.

CallBack

Points to the callback function.

 The return value is a cleared carry flag if successful. Otherwise, the function sets the carry flag and sets the AX register to one of the following error values.


Download 274.5 Kb.

Share with your friends:
1   ...   63   64   65   66   67   68   69   70   ...   80




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

    Main page