1
0

dbgport.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /*++
  2. Copyright (c) 2014 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. dbgport.h
  5. Abstract:
  6. This header contains internal definitions for the debug port functionality.
  7. Author:
  8. Evan Green 26-Mar-2014
  9. --*/
  10. //
  11. // ------------------------------------------------------------------- Includes
  12. //
  13. //
  14. // ---------------------------------------------------------------- Definitions
  15. //
  16. //
  17. // ------------------------------------------------------ Data Type Definitions
  18. //
  19. //
  20. // -------------------------------------------------------------------- Globals
  21. //
  22. //
  23. // -------------------------------------------------------- Function Prototypes
  24. //
  25. VOID
  26. BoSetUpKernelDebugTransport (
  27. PKERNEL_INITIALIZATION_BLOCK KernelParameters
  28. );
  29. /*++
  30. Routine Description:
  31. This routine attempts to set up the kernel debugger transport.
  32. Arguments:
  33. KernelParameters - Supplies a pointer to the kernel initialization block.
  34. Return Value:
  35. None. Failure here is not fatal so it is not reported.
  36. --*/
  37. VOID
  38. BopDisableLegacyInterrupts (
  39. VOID
  40. );
  41. /*++
  42. Routine Description:
  43. This routine shuts off any legacy interrupts routed to SMIs for boot
  44. services.
  45. Arguments:
  46. None.
  47. Return Value:
  48. None.
  49. --*/
  50. KSTATUS
  51. BopExploreForDebugDevice (
  52. PDEBUG_PORT_TABLE2 *CreatedTable
  53. );
  54. /*++
  55. Routine Description:
  56. This routine performs architecture-specific actions to go hunting for a
  57. debug device.
  58. Arguments:
  59. CreatedTable - Supplies a pointer where a pointer to a generated debug
  60. port table will be returned on success.
  61. Return Value:
  62. Status code.
  63. --*/