15 lines
365 B
C
15 lines
365 B
C
#include <stdio.h>
|
|
#include <stdint.h>
|
|
|
|
void kernel_main(void) {
|
|
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\n", test_string);
|
|
|
|
asm volatile ("int $0x3");
|
|
printf("Test finished success!\n");
|
|
}
|