ACPISIM

[This is preliminary documentation and subject to change.]

SUMMARY

This is a 3rd party ACPI Operation Region provider driver sample.  This sample is compatible with both 32bit and 64bit platforms.

BUILDING THE SAMPLE

The sample is build with the standard DDK BUILD utility in the standard checked or free DDK build environment.  Simply type build from the \\ntddk\src\wdm\acpi\acpisim\driver directory.  A successful build produces ACPISIM.SYS.

An installation file, ACPISIM.INF is provided in the \\ntddk\src\wdm\acpi\acpisim\inf directory.  Sample ASL required to enumerate the 3rd party operation region device is included in the \\ntddk\src\wdm\acpi\acpisim\asl directory.  Install ACPISIM.SYS by compiling a BIOS containing a device with the PnP ID of ‘ASIM0000’, and install the driver using the INF when Windows enumerates the virtual device.

RESOURCES

See http://www.teleport.com/~acpi for more information on the ACPI Specification, and 3rd party (vendor specific) operation regions.

CODE TOUR

File Manifest

File           Description
 
Acpisim.c      Routines for handling custom IOCTLs, and op-region handlers
Acpisim.h      Contains public function prototypes
Acpisim.rc     Resource template
Acpisim.inf    Install file for ACPI Simulation sample
Acpisim.lib    Contains compiled driver code to handle standard WDM driver functions
Asimlib.h      Contains public function prototypes for ACPISIM library
Makefile       Standard Windows NT makefile
Sources        Standard Windows NT sources
Acpisim.htm    The documentation for these samples (this file). 
Basetbl.asl    Sample ASL showing how to build a virtual device that uses a 3rd party
               operation region handler.
 

Top of page

 

 

 
 

© 2001 Microsoft Corporation