Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by ikoo
Wed, 05 Aug 1998 00:00
Virtual Device Initialization
Author: ikoo
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
32 lines
2121 bytes
2121 bytes
VIRTUAL DEVICE INITIALIZATION The VMM initializes a virtual device by doing the following: 1. Loads the real-mode initialization segment and calls the real-mode initialization procedure. The procedure can prevent the virtual device from being loaded, prevent Windows from starting, specify instance data for the device, and select pages in memory for its exclusive use. 2. Loads the rest of the virtual device segments in32-bit, flat-model protected-mode memory and discards the real-mode initialization segment. 3. Sends a Sys_Critical_Init message to the virtual device conrtol procedure. Hardware interrupts are enabled, so the virtual devices should spent as little time as possible initializing itself. 4. Sends a Device_Init message to the device control procedure. Hardware interrupts are enabled, so the virtual device must be prepared to manage interrupts from its own device. 5. Sends a Init_Complete message to the device control procedure. 6. Discards the initialization code and data segments, freeing this memory for other uses. The virtual device must not attempt to access the procedures and data in these segments after it has processed the Init_Complete message. At any time during initialization, a virtual device can set the carry flag and return to the VMM to prevent the virtual device from loading. Some VMM services, such as the Initialization Information services, are available only during initialization. -- [m[1;33m�� ��Դ:���������� BBS bbs.nease.net��[FROM: 202.96.133.218][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads