Fix sycalls for messages

This commit is contained in:
pjht 2019-05-04 10:40:00 -05:00
parent 339a4e3357
commit 24ca0aa079
2 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ void isr_handler(registers_t r) {
} else if (r.eax==6) {
r.ebx=tasking_get_msg((uint32_t*)r.ebx);
} else if (r.eax==7) {
tasking_send_msg(r.ebx,(void*)r.ecx)
tasking_send_msg(r.ebx,(void*)r.ecx);
}
break;
}

View File

@ -7,6 +7,6 @@ void tasking_init();
void tasking_yield();
Task* tasking_createTask(void* eip);
char isPrivleged(uint32_t pid);
void send_msg(uint32_t pid,void* msg);
void* get_msg(uint32_t* sender);
void tasking_send_msg(uint32_t pid,void* msg);
void* tasking_get_msg(uint32_t* sender);
#endif