include vmm.inc
mov ebx, SysVMHandle
mov esi, OFFSET32 CommandTail
mov eax, Device_Init
VMMCall System_Control
Directs the virtual device to initialize itself. The virtual device typically allocates memory for a device-specific section in the control block, allocates other memory areas, hooks interrupts and I/O ports, and specifies instance data. The virtual device may use all general registers and flags.
The virtual device should allocate a device-specific section in the control block of the system virtual machine and then initialize the section.
The virtual device can call the Simulate_Int and Exec_Int services in the system virtual machine.
For dynamically loaded VxDs, the EBX register does not contain a VM handle.
Init_Complete, Sys_Critical_Init