Windows NT 4.0 source code leak
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.

95 lines
2.0 KiB

4 years ago
  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1991 Microsoft Corporation
  3. Copyright (c) 1992 Digital Equipment Corporation
  4. Module Name:
  5. jxisa.h
  6. Abstract:
  7. This header file defines the private Hardware Architecture Layer (HAL)
  8. EISA/ISA specific interfaces, defines and structures.
  9. Author:
  10. Jeff Havens (jhavens) 20-Jun-91
  11. Jeff McLeman (mcleman) 01-Jun-1992
  12. Revision History:
  13. 17-Jul-1992 Jeff McLeman (mcleman)
  14. Remove adapter object structure from here.
  15. 01-Jun-1992 Jeff McLeman
  16. modify for Jensen EISA/ISA
  17. --*/
  18. #ifndef _JXISA_
  19. #define _JXISA_
  20. //
  21. // The MAXIMUM_MAP_BUFFER_SIZE defines the maximum map buffers which the system
  22. // will allocate for devices which require phyically contigous buffers.
  23. //
  24. #define MAXIMUM_MAP_BUFFER_SIZE 0x40000
  25. //
  26. // Define the initial buffer allocation size for a map buffers for systems with
  27. // no memory which has a physical address greater than MAXIMUM_PHYSICAL_ADDRESS.
  28. //
  29. #define INITIAL_MAP_BUFFER_SMALL_SIZE 0x20000
  30. //
  31. // Define the initial buffer allocation size for a map buffers for systems with
  32. // no memory which has a physical address greater than MAXIMUM_PHYSICAL_ADDRESS.
  33. //
  34. #define INITIAL_MAP_BUFFER_LARGE_SIZE 0x30000
  35. //
  36. // Define the incremental buffer allocation for a map buffers.
  37. //
  38. #define INCREMENT_MAP_BUFFER_SIZE 0x10000
  39. //
  40. // Define the maximum number of map registers that can be requested at one time
  41. // if actual map registers are required for the transfer.
  42. //
  43. #define MAXIMUM_ISA_MAP_REGISTER 16
  44. //
  45. // Define the maximum physical address which can be handled by an Isa card.
  46. //
  47. #define MAXIMUM_ISA_PHYSICAL_ADDRESS 0x01000000
  48. //
  49. // Define the scatter/gather flag for the Map Register Base.
  50. //
  51. #define NO_SCATTER_GATHER 0x00000001
  52. //
  53. // Define the EISA_ADAPTER flag for the Map Register Base.
  54. //
  55. #define EISA_ADAPTER 0x00000002
  56. //
  57. // Define the copy buffer flag for the index.
  58. //
  59. #define COPY_BUFFER 0XFFFFFFFF
  60. #define HOLE_BUFFER 0XFFFFFFFE
  61. #define SKIP_BUFFER 0XFFFFFFFD
  62. #endif // _JXISA_