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.

69 lines
2.6 KiB

  1. /************************************************************************/
  2. /* */
  3. /* INIT_M.H */
  4. /* */
  5. /* Sep 27 1993 (c) 1993, ATI Technologies Incorporated. */
  6. /************************************************************************/
  7. /********************** PolyTron RCS Utilities
  8. $Revision: 1.2 $
  9. $Date: 03 Feb 1995 15:16:10 $
  10. $Author: RWOLFF $
  11. $Log: S:/source/wnt/ms11/miniport/vcs/init_m.h $
  12. *
  13. * Rev 1.2 03 Feb 1995 15:16:10 RWOLFF
  14. * Added prototypes for functions used in DCI support.
  15. *
  16. * Rev 1.1 31 Mar 1994 15:06:00 RWOLFF
  17. * Added prototype for SetPowerManagement_m().
  18. *
  19. * Rev 1.0 31 Jan 1994 11:42:04 RWOLFF
  20. * Initial revision.
  21. *
  22. * Rev 1.2 14 Jan 1994 15:22:00 RWOLFF
  23. * Added prototype for ResetDevice_m(), global variable to store
  24. * extended register status when initializing bank manager.
  25. *
  26. * Rev 1.1 30 Nov 1993 18:17:36 RWOLFF
  27. * Added logging of VCS revision comments to comment block at top of file.
  28. End of PolyTron RCS section *****************/
  29. #ifdef DOC
  30. INIT_M.H - Header file for INIT_M.C
  31. #endif
  32. /*
  33. * Prototypes for functions supplied by INIT_M.C
  34. */
  35. extern void AlphaInit_m(void);
  36. extern void Initialize_m(void);
  37. extern VP_STATUS MapVideoMemory_m(PVIDEO_REQUEST_PACKET RequestPacket, struct query_structure *QueryPtr);
  38. extern VP_STATUS QueryPublicAccessRanges_m(PVIDEO_REQUEST_PACKET RequestPacket);
  39. extern VP_STATUS QueryCurrentMode_m(PVIDEO_REQUEST_PACKET RequestPacket, struct query_structure *QueryPtr);
  40. extern VP_STATUS QueryAvailModes_m(PVIDEO_REQUEST_PACKET RequestPacket, struct query_structure *QueryPtr);
  41. extern void SetCurrentMode_m(struct query_structure *QueryPtr, struct st_mode_table *CrtTable);
  42. extern void ResetDevice_m(void);
  43. extern VP_STATUS SetPowerManagement_m(struct query_structure *QueryPtr, ULONG DpmsState);
  44. DWORD GetPowerManagement_m(PHW_DEVICE_EXTENSION phwDeviceExtension);
  45. extern VP_STATUS ShareVideoMemory_m(PVIDEO_REQUEST_PACKET RequestPacket, struct query_structure *QueryPtr);
  46. extern void BankMap_m(ULONG BankRead, ULONG BankWrite, PVOID Context);
  47. #ifdef INCLUDE_INIT_M
  48. /*
  49. * Private definitions and variables used in INIT_M.C
  50. */
  51. /*
  52. * Used to reset Mach 32 extended registers before going
  53. * to full screen DOS.
  54. */
  55. WORD SavedExtRegs[] = {0x08B0, 0x00B6, 0x00B2};
  56. static DWORD SavedDPMSState = VideoPowerOn;
  57. #endif /* defined INCLUDE_INIT_M */