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.

42 lines
950 B

  1. //
  2. // Copy some definitions in mp_dbg.h here
  3. //
  4. #define MP_LOUD 4
  5. #define MP_INFO 3
  6. #define MP_TRACE 2
  7. #define MP_WARN 1
  8. #define MP_ERROR 0
  9. #define SIGN_EXTEND(_v) \
  10. if (GetTypeSize("PVOID") != sizeof(ULONG64)) \
  11. (_v) = (ULONG64) (LONG64) (LONG) (_v)
  12. #define DBG_TEST_FLAG(_V, _F) (((_V) & (_F)) != 0)
  13. void PrintMpTcbDetails(ULONG64 pMpTcb, int Verbosity);
  14. void PrintHwTcbDetails(ULONG64 pHwTcb);
  15. void PrintMpRfdDetails(ULONG64 pMpRfd, int Verbosity);
  16. void PrintHwRfdDetails(ULONG64 pHwRfd);
  17. BOOL GetData( IN LPVOID ptr, IN ULONG64 AddressPtr, IN ULONG size, IN PCSTR type );
  18. ULONG GetFieldOffsetAndSize(
  19. IN LPSTR Type,
  20. IN LPSTR Field,
  21. OUT PULONG pOffset,
  22. OUT PULONG pSize);
  23. ULONG GetUlongFromAddress(
  24. ULONG64 Location);
  25. ULONG64 GetPointerFromAddress(
  26. ULONG64 Location);
  27. ULONG GetUlongValue(
  28. PCHAR String);
  29. ULONG64 GetPointerValue(
  30. PCHAR String);