mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-05 02:53:10 +00:00
Started using virtual memory manager in kernel. Also changes read() function to accept a char* to write to
This commit is contained in:
+1
-4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user