Started using virtual memory manager in kernel. Also changes read() function to accept a char* to write to

This commit is contained in:
2024-05-24 15:47:45 +02:00
parent 978ada55ca
commit f009bbdac9
8 changed files with 63 additions and 71 deletions
+1 -4
View File
@@ -1,12 +1,9 @@
#include <time.h>
#include <stdio.h>
__attribute__ ((section ("entry")))
void main() {
char* msg = read();
char msg[8] = { 'H','e','l','l','o','!','\n',0 };
print(msg);
sleep(4500);
return;
}