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.

74 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. ioctl.h
  5. Abstract:
  6. ACPI BIOS Simulator / Generic 3rd Party Operation Region Provider
  7. IO Device Control Handler module
  8. Author(s):
  9. Vincent Geglia
  10. Michael T. Murphy
  11. Chris Burgess
  12. Environment:
  13. Kernel mode
  14. Notes:
  15. This header file shows all of the functions that must be exported
  16. in order to compile against the ACPI BIOS Simulator Library.
  17. Revision History:
  18. --*/
  19. #if !defined(_ACPISIM_H_)
  20. #define _ACPISIM_H_
  21. //
  22. // Defines
  23. //
  24. #define OPREGION_SIZE 1024 // use a hardcoded value of 1024 for our operation region size
  25. #define ACPISIM_POOL_TAG (ULONG) 'misA'
  26. //
  27. // Specify the operation region type here
  28. //
  29. #define ACPISIM_OPREGION_TYPE 0x81
  30. //
  31. // Public function prototypes
  32. //
  33. NTSTATUS
  34. AcpisimHandleIoctl
  35. (
  36. IN PDEVICE_OBJECT DeviceObject,
  37. IN PIRP Irp
  38. );
  39. NTSTATUS
  40. AcpisimRegisterOpRegionHandler
  41. (
  42. IN PDEVICE_OBJECT DeviceObject
  43. );
  44. NTSTATUS
  45. AcpisimUnRegisterOpRegionHandler
  46. (
  47. IN PDEVICE_OBJECT DeviceObject
  48. );
  49. #endif // _ACPISIM_H_