ipc works better, pagefault still

This commit is contained in:
user
2026-02-24 21:16:31 +01:00
parent fcc2e73350
commit e3452cf051
5 changed files with 28 additions and 19 deletions

View File

@@ -55,12 +55,12 @@ extern "C" void main() {
for (unsigned i = 1;; ++i) {
if(id == 2){
send(4, text, strlen(text), text, 5);
write(1, text, strlen(text), 15, (int)id);
write(1, text, strlen(text), 25, (int)id);
}
if(id == 4){
char blubb[10];
receive(blubb, 10);
write(1, blubb, strlen(blubb), 15, (int)id);
write(1, blubb, strlen(blubb), 25, (int)id);
reply("toast", 5);
}