19 lines
419 B
C
19 lines
419 B
C
#define PORT 0x3f8
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <kernel/tty.h>
|
|
#include "serial.h"
|
|
|
|
void kernel_main(void) {
|
|
terminal_initialize();
|
|
init_serial();
|
|
printf("Hello from OrionOS!\n");
|
|
printf("Testing serial\n");
|
|
serial_printf("Test is success!\n");
|
|
serial_printf("Newline test\n");
|
|
char * test_string = "test";
|
|
serial_printf("This is string from variable: %s", test_string);
|
|
printf("Test finished success!\n");
|
|
}
|