123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- /*++
- Copyright (c) 2014 Minoca Corp. All Rights Reserved
- Module Name:
- dbgdev.h
- Abstract:
- This header contains definitions for the hardware layer debug device
- support.
- Author:
- Evan Green 8-Apr-2014
- --*/
- //
- // ------------------------------------------------------------------- Includes
- //
- #include <minoca/kernel/kdusb.h>
- //
- // ---------------------------------------------------------------- Definitions
- //
- //
- // ------------------------------------------------------ Data Type Definitions
- //
- //
- // -------------------------------------------------------------------- Globals
- //
- //
- // -------------------------------------------------------- Function Prototypes
- //
- KSTATUS
- HlpInitializeDebugDevices (
- ULONG DebugDeviceIndex,
- PDEBUG_DEVICE_DESCRIPTION *DebugDevice
- );
- /*++
- Routine Description:
- This routine initializes the hardware layer's debug device support.
- This routine is called on the boot processor before the debugger is online.
- Arguments:
- DebugDeviceIndex - Supplies the index of successfully enumerated debug
- interfaces to return.
- DebugDevice - Supplies a pointer where a pointer to the debug device
- description will be returned on success.
- Return Value:
- Kernel status code.
- --*/
- VOID
- HlpTestUsbDebugInterface (
- VOID
- );
- /*++
- Routine Description:
- This routine runs the interface test on a USB debug interface if debugging
- the USB transport itself.
- Arguments:
- None.
- Return Value:
- None.
- --*/
- KSTATUS
- HlpDebugDeviceRegisterHardware (
- PDEBUG_DEVICE_DESCRIPTION Description
- );
- /*++
- Routine Description:
- This routine is called to register a new debug device with the system.
- Arguments:
- Description - Supplies a pointer to a structure describing the new debug
- device.
- Return Value:
- Status code.
- --*/
- KSTATUS
- HlpDebugUsbHostRegisterHardware (
- PDEBUG_USB_HOST_DESCRIPTION Description
- );
- /*++
- Routine Description:
- This routine is called to register a new debug USB host controller with the
- system.
- Arguments:
- Description - Supplies a pointer to a structure describing the new debug
- device.
- Return Value:
- Status code.
- --*/
- KSTATUS
- HlpArchInitializeDebugDevices (
- VOID
- );
- /*++
- Routine Description:
- This routine performs architecture-specific initialization for the serial
- subsystem.
- Arguments:
- None.
- Return Value:
- Status code.
- --*/
|