Serial Ports: Difference between revisions

m
[unchecked revision][unchecked revision]
(→‎Why Use a Serial Port?: Added link to Apple docs for GDB stubs)
m (→‎Why Use a Serial Port?: Fixed grammar.)
Line 18:
==Why Use a Serial Port?==
During the early stages of kernel development, you might wonder why you would bother writing a serial driver. There are several reasons why you might:
* GDB debugging. You can use the serial port to connect to a host computer, and use the GDB debugger to debug your operating system. This involves writing a stub for GDB within your OS. Helpful information might be found at http://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_18.html.
* Headless console. You can operate the computer without a monitor, keyboard or mouse and instead use the serial port as a console using a protocol such as TTY or VT100.
 
Anonymous user