windows-nt/Source/XPSP1/NT/base/ntos/arb/arbp.h
2020-09-26 16:20:57 +08:00

65 lines
909 B
C

#ifndef _ARBP_
#define _ARBP_
#ifndef FAR
#define FAR
#endif
#if DBG
#define ARB_DBG 1 // DBG
#endif
#if NTOS_KERNEL
//
// If we are in the kernel use the in-kernel headers so we get the efficient
// definitions of things
//
#include "ntos.h"
#include "zwapi.h"
#else
//
// If we are building the library for bus drivers to use make sure we use the
// same definitions of things as them
//
#include "ntddk.h"
#endif
#include "arbiter.h"
#include <stdlib.h> // for __min and __max
#if ARB_DBG
extern const CHAR* ArbpActionStrings[];
extern ULONG ArbStopOnError;
extern ULONG ArbReplayOnError;
VOID
ArbDumpArbiterInstance(
LONG Level,
PARBITER_INSTANCE Arbiter
);
VOID
ArbDumpArbiterRange(
LONG Level,
PRTL_RANGE_LIST List,
PUCHAR RangeText
);
VOID
ArbDumpArbitrationList(
LONG Level,
PLIST_ENTRY ArbitrationList
);
#endif // ARB_DBG
#endif _ARBP_