diff options
author | Chris Johns <chrisj@rtems.org> | 2016-04-08 18:39:38 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-05-11 11:45:01 +1000 |
commit | 014292a164b8bb5286b6c7dae7c37a469ef6f0cc (patch) | |
tree | c7343485ef520fc71f36e5cf8271e08a2c1de789 /c/src/lib/libbsp/shared/console_private.h | |
parent | bsp/qoriq: Add portal clear functions (diff) | |
download | rtems-014292a164b8bb5286b6c7dae7c37a469ef6f0cc.tar.bz2 |
i386/pc386: Add support for the gdb stub to use available console drivers.
Move the gdb stub from the i386 UART code to use the libchip drivers.
Use any ports discovered during the probes.
Add gdb control to the boot command line.
Change the device naming to the full device path, not a partial path.
For example /dev/com1.
Diffstat (limited to 'c/src/lib/libbsp/shared/console_private.h')
-rw-r--r-- | c/src/lib/libbsp/shared/console_private.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/console_private.h b/c/src/lib/libbsp/shared/console_private.h index 42a8ee9206..3855e83100 100644 --- a/c/src/lib/libbsp/shared/console_private.h +++ b/c/src/lib/libbsp/shared/console_private.h @@ -41,6 +41,19 @@ int vt_ioctl( ); /** + * @brief console_find_console_entry + * + * This method is used to search the console entries for a + * specific device entry and return it. If match is NULL the + * minor number provided is matched. + */ +console_tbl* console_find_console_entry( + const char *match, + size_t length, + rtems_device_minor_number *match_minor +); + +/** * @brief console_initialize_data * * This must be called before dynamic registration of devices can occur. |