|
LumaOS
v0.1.116
An experimental x86-64 OS
|
Serial utilities and configuration. More...
#include <stddef.h>#include <stdbool.h>#include <stdint.h>#include <drivers/serial.h>#include <arch/x86_64/io.h>Go to the source code of this file.
Functions | |
| bool | get_serial_status (void) |
| Returns the status of the serial output (enabled or disabled). | |
| int | serial_init (void) |
| Initializes the serial port & output. | |
| void | serial_puts (char *str) |
| Prints a string to the serial port. | |
| void | serial_putc (char c) |
| Prints a character to serial port. | |
| void | serial_print_int (uint64_t value) |
| Prints a number to the serial port. | |
| void | serial_print_hex (uint64_t address, uint64_t digit_count) |
| Print a hex number to serial output. | |
Variables | |
| bool | serial_enabled = false |
Serial utilities and configuration.
Definition in file serial.c.
| bool get_serial_status | ( | void | ) |
| int serial_init | ( | void | ) |
| void serial_print_hex | ( | uint64_t | address, |
| uint64_t | byte_count ) |
| void serial_print_int | ( | uint64_t | value | ) |
| void serial_putc | ( | char | c | ) |
| void serial_puts | ( | char * | str | ) |