dbgparch.c 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /*++
  2. Copyright (c) 2014 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. dbgparch.c
  5. Abstract:
  6. This module contains architecture specific debug port routines.
  7. Author:
  8. Evan Green 31-Mar-2014
  9. Environment:
  10. Boot
  11. --*/
  12. //
  13. // ------------------------------------------------------------------- Includes
  14. //
  15. #include <minoca/kernel/kernel.h>
  16. #include "firmware.h"
  17. #include "bootlib.h"
  18. #include "loader.h"
  19. //
  20. // --------------------------------------------------------------------- Macros
  21. //
  22. //
  23. // ---------------------------------------------------------------- Definitions
  24. //
  25. //
  26. // ------------------------------------------------------ Data Type Definitions
  27. //
  28. //
  29. // ----------------------------------------------- Internal Function Prototypes
  30. //
  31. //
  32. // -------------------------------------------------------------------- Globals
  33. //
  34. //
  35. // ------------------------------------------------------------------ Functions
  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. {
  51. return;
  52. }
  53. KSTATUS
  54. BopExploreForDebugDevice (
  55. PDEBUG_PORT_TABLE2 *CreatedTable
  56. )
  57. /*++
  58. Routine Description:
  59. This routine performs architecture-specific actions to go hunting for a
  60. debug device.
  61. Arguments:
  62. CreatedTable - Supplies a pointer where a pointer to a generated debug
  63. port table will be returned on success.
  64. Return Value:
  65. Status code.
  66. --*/
  67. {
  68. return STATUS_SUCCESS;
  69. }
  70. //
  71. // --------------------------------------------------------- Internal Functions
  72. //