Source code of Windows XP (NT5)
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.

84 lines
1.2 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1993 - 1999
  3. Module Name:
  4. readwrit.h
  5. Abstract:
  6. This module contains Read/Write and bus flip logic used by other 1284 modules.
  7. Author:
  8. Robbie Harris (Hewlett-Packard) 13-June-1998
  9. Environment:
  10. Kernel mode
  11. Revision History :
  12. --*/
  13. #ifndef _READWRIT_
  14. #define _READWRIT_
  15. NTSTATUS
  16. ParForwardToReverse(
  17. IN PDEVICE_EXTENSION Extension
  18. );
  19. BOOLEAN
  20. ParHaveReadData(
  21. IN PDEVICE_EXTENSION Extension
  22. );
  23. NTSTATUS
  24. ParPing(
  25. IN PDEVICE_EXTENSION Extension
  26. );
  27. NTSTATUS
  28. ParReverseToForward(
  29. IN PDEVICE_EXTENSION Extension
  30. );
  31. NTSTATUS
  32. ParRead(
  33. IN PDEVICE_EXTENSION Extension,
  34. OUT PVOID Buffer,
  35. IN ULONG NumBytesToRead,
  36. OUT PULONG NumBytesRead
  37. );
  38. VOID
  39. ParReadIrp(
  40. IN PDEVICE_EXTENSION Extension
  41. );
  42. NTSTATUS
  43. ParSetFwdAddress(
  44. IN PDEVICE_EXTENSION Extension
  45. );
  46. VOID
  47. ParTerminate(
  48. IN PDEVICE_EXTENSION Extension
  49. );
  50. NTSTATUS
  51. ParWrite(
  52. IN PDEVICE_EXTENSION Extension,
  53. OUT PVOID Buffer,
  54. IN ULONG NumBytesToWrite,
  55. OUT PULONG NumBytesWritten
  56. );
  57. VOID
  58. ParWriteIrp(
  59. IN PDEVICE_EXTENSION Extension
  60. );
  61. #endif