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.

94 lines
2.1 KiB

5 years ago
  1. /*++
  2. Copyright (c) 1993 Digital Equipment Corporation
  3. Module Name:
  4. eb66def.h
  5. Abstract:
  6. This module specifies platform-specific definitions for the
  7. EB66p modules.
  8. Author:
  9. Joe Notarangelo 25-Oct-1993
  10. Revision History:
  11. Ken Curewitz [DEC] December 1994
  12. Adapted for EB66p from eb66def.h
  13. --*/
  14. #ifndef _EB66PDEF_
  15. #define _EB66PDEF_
  16. #include "alpharef.h"
  17. #include "lca4.h"
  18. #include "isaaddr.h"
  19. #define NUMBER_ISA_SLOTS 4
  20. #define NUMBER_PCI_SLOTS 4
  21. //
  22. // QVA definitions for base addresses on the PCI
  23. //
  24. #define PCI_SPARSE_IO_BASE_QVA \
  25. ((ULONG)(HAL_MAKE_QVA(LCA4_PASS2_PCI_IO_BASE_PHYSICAL)))
  26. #define PCI_SPARSE_MEMORY_BASE_QVA \
  27. ((ULONG)(HAL_MAKE_QVA(LCA4_PCI_MEMORY_BASE_PHYSICAL)))
  28. //
  29. // Highest Virtual local PCI Slot
  30. //
  31. // On the EB66 we can only probe for 13 devices
  32. //
  33. #define PCI_MAX_LOCAL_DEVICE 13
  34. //
  35. // Highest PCI interrupt vector is in PCI vector space
  36. //
  37. #define PCI_MAX_INTERRUPT_VECTOR (MAXIMUM_PCI_VECTOR - PCI_VECTORS)
  38. #define EB66P_INTERRUPT_MASK0_QVA \
  39. ((PUCHAR)HAL_MAKE_QVA(LCA4_PASS2_PCI_IO_BASE_PHYSICAL) + 0x804)
  40. #define EB66P_INTERRUPT_MASK1_QVA \
  41. ((PUCHAR)HAL_MAKE_QVA(LCA4_PASS2_PCI_IO_BASE_PHYSICAL) + 0x805)
  42. #define EB66P_INTERRUPT_MASK2_QVA \
  43. ((PUCHAR)HAL_MAKE_QVA(LCA4_PASS2_PCI_IO_BASE_PHYSICAL) + 0x806)
  44. #define EB66P_SIO_INTERRUPT_MASK 0x10
  45. #define EB66_INTERRUPT_MASK0_QVA \
  46. ((PUCHAR)HAL_MAKE_QVA(LCA4_PASS2_PCI_IO_BASE_PHYSICAL) + 0x26)
  47. #define EB66_INTERRUPT_MASK1_QVA \
  48. ((PUCHAR)HAL_MAKE_QVA(LCA4_PASS2_PCI_IO_BASE_PHYSICAL) + 0x27)
  49. #define EB66_INTERRUPT_MASK2_QVA NULL
  50. #define EB66_SIO_INTERRUPT_MASK 0x20
  51. extern PVOID INTERRUPT_MASK0_QVA;
  52. extern PVOID INTERRUPT_MASK1_QVA;
  53. extern PVOID INTERRUPT_MASK2_QVA;
  54. extern ULONG SIO_INTERRUPT_MASK;
  55. //
  56. // Define the default processor frequency to be used before the actual
  57. // frequency can be determined.
  58. //
  59. #define DEFAULT_PROCESSOR_FREQUENCY_MHZ (233)
  60. //
  61. // Define the location of the flash environment block
  62. //
  63. extern BOOLEAN SystemIsEB66P;
  64. #define EB66P_ENVIRONMENT_QVA \
  65. ((ULONG)HAL_MAKE_QVA(LCA4_PCI_MEMORY_BASE_PHYSICAL) + 0xf0000)
  66. #endif // _EB66PDEF_