19 lines
391 B
C
19 lines
391 B
C
#define PORT 0x3f8
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <kernel/tty.h>
|
|
#include "serial.h"
|
|
|
|
void kernel_main(void) {
|
|
terminal_initialize();
|
|
printf("Hello from OrionOS!\n");
|
|
printf("Testing serial\n");
|
|
init_serial();
|
|
serial_print("Test is success!\n");
|
|
serial_print("Newline test\n");
|
|
serial_print("No newline test ");
|
|
serial_print("No newline test");
|
|
printf("Test finished success!\n");
|
|
}
|