dbgport.h 1.8 KB

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