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.

55 lines
873 B

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. bdcpu.h
  5. Abstract:
  6. Machine specific kernel debugger data types and constants.
  7. Author:
  8. Mark Lucovsky (markl) 29-Aug-1990
  9. Revision History:
  10. --*/
  11. #ifndef _BDCPU_
  12. #define _BDCPU_
  13. #include "bldrx86.h"
  14. //
  15. // Define debug routine prototypes.
  16. //
  17. typedef
  18. LOGICAL
  19. (*PBD_DEBUG_ROUTINE) (
  20. IN PEXCEPTION_RECORD ExceptionRecord,
  21. IN PKEXCEPTION_FRAME ExceptionFrame,
  22. IN PKTRAP_FRAME TrapFrame
  23. );
  24. LOGICAL
  25. BdTrap (
  26. IN PEXCEPTION_RECORD ExceptionRecord,
  27. IN PKEXCEPTION_FRAME ExceptionFrame,
  28. IN PKTRAP_FRAME TrapFrame
  29. );
  30. LOGICAL
  31. BdStub (
  32. IN PEXCEPTION_RECORD ExceptionRecord,
  33. IN PKEXCEPTION_FRAME ExceptionFrame,
  34. IN PKTRAP_FRAME TrapFrame
  35. );
  36. #define BD_BREAKPOINT_TYPE UCHAR
  37. #define BD_BREAKPOINT_ALIGN 0
  38. #define BD_BREAKPOINT_VALUE 0xcc
  39. #endif // _BDCPU_