EC

[This is preliminary documentation and subject to change.]

SUMMARY

This is the device driver for an ACPI-compliant embedded controller. It allows communication with this drive through device reads and writes, and implements an ACPI operation region for IO through ACPI control methods. Note that the driver does not support device removal. The sample runs on both x86 and Alpha platforms, and is 64-bit compliant.

BUILDING THE SAMPLE

Type build while in the \\Ntddk\Src\Wdm\Acpi\Ec subdirectory. A successful build creates Acpiec.sys.

CODE TOUR

File Manifest

File		Description

Acpiec.c	Mainly standard driver routines and entry points
Acpiec.rc	Resource file
Depend.mk 	Microsoft® Windows® 98 dependency files
Ec.mk		Makefile for Embedded Controller device
Eclowio.c	Low-level IO with EC
Ecp.h header	Header file for ACPI EC Driver
Ecpnp.c		Plug and Play routines
Handlers.c	Event handling routines
Makefile	Makefile for battc directory
Query.c 	Functions for dealing with EC queries
Service.c	Main IRP service loop
Ec.h		Embedded Controller Header File
Acpimsft.h	Microsoft specific structures, IOCTLS, and Defines

Top of page

© 1999 Microsoft Corporation