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.
Share with your friends: |