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.

67 lines
1.7 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. // NOTE: Changes to these sizes will require changes to the mapping tables.
  26. #define MinOutBufAlloc 512
  27. #define MaxOutBufAlloc 8192
  28. // Defines the bit range size to look at to map from Min to MaxOutBufAlloc.
  29. #define NumAllocSigBits 4
  30. #define NumOutBufPools 5
  31. #define FreeThisOutBuf -1
  32. extern unsigned MaxOutBufMdlOverhead;
  33. extern const unsigned char OutBufPoolMapping[1 << NumAllocSigBits];
  34. extern const unsigned OutBufPoolAllocSizes[NumOutBufPools];
  35. extern LIST_ENTRY IcaFreeOutBufHead[];
  36. extern FAST_IO_DISPATCH IcaFastIoDispatch;
  37. extern PEPROCESS IcaSystemProcess;
  38. extern CCHAR IcaIrpStackSize;
  39. #define ICA_DEFAULT_IRP_STACK_SIZE 1
  40. extern CCHAR IcaPriorityBoost;
  41. #define ICA_DEFAULT_PRIORITY_BOOST 2
  42. extern TERMSRV_SYSTEM_PARAMS SysParams;
  43. /*
  44. * The following are exported kernel variables
  45. */
  46. extern POBJECT_TYPE *IoFileObjectType;
  47. extern POBJECT_TYPE *ExEventObjectType;