Fix sycalls for messages
This commit is contained in:
parent
339a4e3357
commit
24ca0aa079
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user