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.

64 lines
909 B

  1. #ifndef _ARBP_
  2. #define _ARBP_
  3. #ifndef FAR
  4. #define FAR
  5. #endif
  6. #if DBG
  7. #define ARB_DBG 1 // DBG
  8. #endif
  9. #if NTOS_KERNEL
  10. //
  11. // If we are in the kernel use the in-kernel headers so we get the efficient
  12. // definitions of things
  13. //
  14. #include "ntos.h"
  15. #include "zwapi.h"
  16. #else
  17. //
  18. // If we are building the library for bus drivers to use make sure we use the
  19. // same definitions of things as them
  20. //
  21. #include "ntddk.h"
  22. #endif
  23. #include "arbiter.h"
  24. #include <stdlib.h> // for __min and __max
  25. #if ARB_DBG
  26. extern const CHAR* ArbpActionStrings[];
  27. extern ULONG ArbStopOnError;
  28. extern ULONG ArbReplayOnError;
  29. VOID
  30. ArbDumpArbiterInstance(
  31. LONG Level,
  32. PARBITER_INSTANCE Arbiter
  33. );
  34. VOID
  35. ArbDumpArbiterRange(
  36. LONG Level,
  37. PRTL_RANGE_LIST List,
  38. PUCHAR RangeText
  39. );
  40. VOID
  41. ArbDumpArbitrationList(
  42. LONG Level,
  43. PLIST_ENTRY ArbitrationList
  44. );
  45. #endif // ARB_DBG
  46. #endif _ARBP_