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.

68 lines
1.8 KiB

  1. /*************************************************************************
  2. *
  3. * icadata.h
  4. *
  5. * This module declares global data for the Termdd driver.
  6. *
  7. * Copyright 1998, Microsoft.
  8. *
  9. *************************************************************************/
  10. extern PDEVICE_OBJECT IcaDeviceObject;
  11. extern PDEVICE_OBJECT MouDeviceObject;
  12. extern PDEVICE_OBJECT KbdDeviceObject;
  13. extern BOOLEAN PortDriverInitialized;
  14. extern KSPIN_LOCK IcaSpinLock;
  15. extern KSPIN_LOCK IcaTraceSpinLock;
  16. extern KSPIN_LOCK IcaStackListSpinLock;
  17. extern PERESOURCE IcaReconnectResource;
  18. extern PERESOURCE IcaSdLoadResource;
  19. extern LIST_ENTRY IcaSdLoadListHead;
  20. extern LIST_ENTRY IcaStackListHead;
  21. extern PLIST_ENTRY IcaNextStack;
  22. extern ULONG IcaTotalNumOfStacks;
  23. extern PKEVENT pIcaKeepAliveEvent;
  24. extern PKTHREAD pKeepAliveThreadObject;
  25. extern BOOLEAN gCapture;
  26. // NOTE: Changes to these sizes will require changes to the mapping tables.
  27. #define MinOutBufAlloc 512
  28. #define MaxOutBufAlloc 8192
  29. // Defines the bit range size to look at to map from Min to MaxOutBufAlloc.
  30. #define NumAllocSigBits 4
  31. #define NumOutBufPools 5
  32. #define FreeThisOutBuf -1
  33. extern unsigned MaxOutBufMdlOverhead;
  34. extern const unsigned char OutBufPoolMapping[1 << NumAllocSigBits];
  35. extern const unsigned OutBufPoolAllocSizes[NumOutBufPools];
  36. extern LIST_ENTRY IcaFreeOutBufHead[];
  37. extern FAST_IO_DISPATCH IcaFastIoDispatch;
  38. extern PEPROCESS IcaSystemProcess;
  39. extern CCHAR IcaIrpStackSize;
  40. #define ICA_DEFAULT_IRP_STACK_SIZE 1
  41. extern CCHAR IcaPriorityBoost;
  42. #define ICA_DEFAULT_PRIORITY_BOOST 2
  43. extern TERMSRV_SYSTEM_PARAMS SysParams;
  44. /*
  45. * The following are exported kernel variables
  46. */
  47. extern POBJECT_TYPE *IoFileObjectType;
  48. extern POBJECT_TYPE *ExEventObjectType;