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.

27 lines
717 B

  1. /*
  2. * HDTABLE.H
  3. * This provides a work around for the Laguna hostdata bug.
  4. *
  5. * Copyright (c) 1995 Cirrus Logic, Inc.
  6. */
  7. /* the ExtraDwodTable is indexed by as follows (verilog notation)
  8. * index[15:00] = bltext [10:0] dst_phase [2:0] src_phase [1:0]
  9. *
  10. * index[15:05] = bltext [10:00]
  11. * index[04:02] = dst_phase [02:00]
  12. * index[01:00] = src_phase [01:00]
  13. */
  14. #if ! DRIVER_5465
  15. #define MAKE_HD_INDEX(ext_x, src_phase, dst_x) \
  16. (((((ext_x) & 0x07FF) << 5) | \
  17. (((dst_x) & 0x07) << 2)) | \
  18. ((src_phase) & 0x03))
  19. extern unsigned char ExtraDwordTable[];
  20. #endif
  21. //
  22. // The table is actually defined in HDTABLE.C
  23. //