Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.1 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
  4. 1252">
  5. <META NAME="Generator" CONTENT="Microsoft Word 97">
  6. <TITLE>EC</TITLE>
  7. </HEAD>
  8. <BODY LINK="#0000ff">
  9. <FONT FACE="Verdana" SIZE=5><H2>EC</H2>
  10. </FONT><FONT FACE="Verdana" SIZE=2>
  11. <P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary
  12. documentation and subject to change.]</span></P>
  13. <H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  14. This is the device driver
  15. for an ACPI-compliant embedded controller. It allows communication with this drive through device reads and writes,
  16. and implements an ACPI operation region for IO through ACPI control
  17. methods. Note that the driver does not support device
  18. removal. The sample runs on both x86 and Alpha platforms, and is 64-bit compliant.<p>
  19. <H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana"
  20. SIZE=2><P>
  21. Type <b>build</b> while in the
  22. \\Ntddk\Src\Wdm\Acpi\Ec subdirectory. A successful build
  23. creates Acpiec.sys.</p>
  24. <H3>CODE TOUR</H3>
  25. <H4>File Manifest</H4>
  26. </FONT><U><PRE>File&#9;&#9;Description
  27. </U>
  28. Acpiec.c&#9;Mainly standard driver routines and entry points
  29. Acpiec.rc&#9;Resource file
  30. Depend.mk &#9;Microsoft&#174; Windows&#174; 98 dependency files
  31. Ec.mk&#9; Makefile for Embedded Controller device
  32. Eclowio.c&#9;Low-level IO with EC
  33. Ecp.h header&#9;Header file for ACPI EC Driver
  34. Ecpnp.c&#9; Plug and Play routines
  35. Handlers.c&#9;Event handling routines
  36. Makefile&#9;Makefile for battc directory
  37. Query.c &#9;Functions for dealing with EC queries
  38. Service.c&#9;Main IRP service loop
  39. Ec.h&#9; Embedded Controller Header File
  40. Acpimsft.h&#9;Microsoft specific structures, IOCTLS, and Defines
  41. <P>
  42. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  43. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  44. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  45. <P></TD>
  46. </TR>
  47. </TABLE>
  48. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  49. </HTML>