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.

41 lines
1.4 KiB

  1. /*++ BUILD Version: 0009 // Increment this if a change has global effects
  2. Copyright (c) 1987-1993 Microsoft Corporation
  3. Module Name:
  4. midatlas.c
  5. Abstract:
  6. This module defines the private data structures used in mapping MIDS
  7. to the corresponding requests/contexts associated with them. it's
  8. separated from the .c portion so the debugger extension can see it.
  9. Author:
  10. Balan Sethu Raman (SethuR) 26-Aug-95 Created
  11. Notes:
  12. --*/
  13. #ifndef _MIDATLAS_PRIVATE_H_
  14. #define _MIDATLAS_PRIVATE_H_
  15. typedef struct _MID_MAP_ {
  16. LIST_ENTRY MidMapList; // the list of MID maps in the MID atlas
  17. USHORT MaximumNumberOfMids; // the maximum number of MIDs in this map
  18. USHORT NumberOfMidsInUse; // the number of MIDs in use
  19. USHORT BaseMid; // the base MID associated with the map
  20. USHORT IndexMask; // the index mask for this map
  21. UCHAR IndexAlignmentCount; // the bits by which the index field is to be shifted
  22. UCHAR IndexFieldWidth; // the index field width
  23. UCHAR Flags; // flags ...
  24. UCHAR Level; // the level associated with this map ( useful for expansion )
  25. PVOID *pFreeMidListHead; // the list of free mid entries in this map
  26. PVOID Entries[1]; // the MID map entries.
  27. } MID_MAP, *PMID_MAP;
  28. #endif //_MIDATLAX_PRIVATE_H_
  29.