mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
Tweak _test.o to use the putch() syscall.
It's still running in kernel space. Once I make it possible for ELFLoader to set up a ring 3 task, we'll really be cooking!
This commit is contained in:
parent
3a3c57357c
commit
e4afa2a041
Notes:
sideshowbarker
2024-07-19 18:45:36 +09:00
Author: https://github.com/awesomekling
Commit: e4afa2a041
7 changed files with 13 additions and 3 deletions
|
@ -8,5 +8,8 @@ extern "C" int elf_entry()
|
|||
char buf[2048];
|
||||
int nread = read(fd, buf, sizeof(buf));
|
||||
buf[nread] = '\0';
|
||||
for (int i = 0; i < nread; ++i) {
|
||||
putch(buf[i]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue