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.

69 lines
1.8 KiB

  1. /**************************************************************************\
  2. $Header:$
  3. $Log:$
  4. \**************************************************************************/
  5. /*****************************************************************************
  6. *
  7. * file name: switches.h
  8. *
  9. ******************************************************************************/
  10. //#ifdef NT_UP /* Command-line Define used under Windows NT */
  11. #if 1 /* Command-line Define used under Windows NT */
  12. #define WINDOWS_NT 1
  13. // Specify compilation for Intel or Alpha (where 'Alpha' is defined
  14. // as non-x86)
  15. #if !defined(_X86_)
  16. #define ALPHA 1
  17. #endif
  18. #if defined(ALPHA)
  19. #define MGA_ALPHA
  20. #endif
  21. // Specify compilation for WinNT 3.1 or WinNT 3.5
  22. //#define MGA_WINNT31
  23. #define MGA_WINNT35
  24. #include "dderror.h"
  25. #include "devioctl.h"
  26. #include "miniport.h"
  27. #include "ntddvdeo.h"
  28. #define _Far
  29. #define NO_FLOAT 1
  30. #define WINNT_PCIBIOSCALL 0
  31. #define WINNT_PCIBUS 1
  32. #ifdef MGA_ALPHA
  33. #define DbgBreakPoint() DbgBreakPoint()
  34. #else
  35. #define DbgBreakPoint() _asm {int 3}
  36. #endif
  37. #if (defined(MGA_WINNT35) && defined(MGA_ALPHA))
  38. #define USE_VP_GET_ACCESS_RANGES 1
  39. #define USE_DDC_CODE 0
  40. #define USE_SETUP_VGA 0
  41. #else
  42. #define USE_VP_GET_ACCESS_RANGES 1
  43. #define USE_DDC_CODE 0
  44. #define USE_SETUP_VGA 1
  45. #endif
  46. //#define USE_DDC_CODE (defined (WINDOWS_NT)) && (defined (_X86_))
  47. #else /* #ifdef NT_UP */
  48. #define USE_VP_GET_ACCESS_RANGES TRUE
  49. #define USE_DDC_CODE 0
  50. #define USE_SETUP_VGA 0
  51. #endif /* #ifdef NT_UP */