Remove mail IPC subsystsem
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 1m31s
Build documentation / build-and-deploy (push) Successful in 39s

This commit is contained in:
2026-04-30 21:36:42 +02:00
parent 05d03716cb
commit 6298251e66
18 changed files with 5 additions and 326 deletions

View File

@@ -55,14 +55,6 @@ int describe(const char* path, struct desc* desc) {
return (int)do_syscall(SYS_DESCRIBE, path, desc);
}
int mail_send(int pgid, void* mesg, size_t mesg_size) {
return (int)do_syscall(SYS_MAIL_SEND, pgid, mesg, mesg_size);
}
int mail_receive(void* mesg, size_t mesg_size) {
return (int)do_syscall(SYS_MAIL_RECEIVE, mesg, mesg_size);
}
int get_procgroup(int pid) { return (int)do_syscall(SYS_GET_PROCGROUP, pid); }
int get_exec_pid(void) { return (int)do_syscall(SYS_GET_EXEC_PID, 0); }

View File

@@ -61,12 +61,6 @@ int read_file(const char* path, size_t off, uint8_t* buffer, size_t size);
/* describe a file */
int describe(const char* path, struct desc* desc);
/* send a message to a procgroup's mail */
int mail_send(int pgid, void* mesg, size_t mesg_size);
/* receive a message from mail */
int mail_receive(void* mesg, size_t mesg_size);
/* get procgroup id of a perticular process */
int get_procgroup(int pid);