mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
Kernel: due to performance and real hardware testing reasons, put syscall logging and e9 behind compile time options
This commit is contained in:
@@ -3,11 +3,15 @@
|
||||
// TODO compile time options for disabling output to port e9h
|
||||
|
||||
void arch_e9_putc(char c) {
|
||||
#ifdef X86_64_ENABLE_E9
|
||||
outb(0xe9, c);
|
||||
#endif
|
||||
}
|
||||
|
||||
void arch_e9_puts(char *c) {
|
||||
#ifdef X86_64_ENABLE_E9
|
||||
while (*c) {
|
||||
outb(0xe9, *c++);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user