This website requires JavaScript.
Explore
Help
Sign In
Sinipelto
/
banan-os
forked from
Bananymous/banan-os
Watch
1
Star
0
Fork
You've already forked banan-os
0
Code
Pull Requests
Activity
c45ada6ccb
banan-os
/
kernel
/
include
/
kernel
/
Serial.h
11 lines
102 B
C
Raw
Normal View
History
Unescape
Escape
Kernel: Add new generic Printer class kprint is now just a #define to Printer::print<terminal_putc>. This allows us to use same print formatting for serial output :)
2022-12-10 00:33:03 +02:00
#
pragma once
namespace
Serial
{
All: rename every function from UpperCamelCase to snake_case This was a mess since I didn't know which to use but now I decided to go with snake_case :)
2023-02-01 21:05:44 +02:00
void
initialize
(
)
;
bool
is_initialized
(
)
;
Kernel: Add new generic Printer class kprint is now just a #define to Printer::print<terminal_putc>. This allows us to use same print formatting for serial output :)
2022-12-10 00:33:03 +02:00
Kernel: Move debug printing to its own file It didn't make sense that dprint was defined in Serial.h. We also now dump dprint to tty if there is no serial and tty is initialized
2023-01-25 21:39:03 +02:00
void
putchar
(
char
)
;
Kernel: Add new generic Printer class kprint is now just a #define to Printer::print<terminal_putc>. This allows us to use same print formatting for serial output :)
2022-12-10 00:33:03 +02:00
}