Kernel: Implement deletion of SMO objects

This commit is contained in:
2024-05-31 12:27:56 +03:00
parent 0501f3bd99
commit 8bfacb0091
7 changed files with 38 additions and 1 deletions

View File

@@ -22,6 +22,11 @@ long smo_create(size_t size, int prot)
return syscall(SYS_SMO_CREATE, size, prot);
}
int smo_delete(long key)
{
return syscall(SYS_SMO_DELETE, key);
}
void* smo_map(long key)
{
long ret = syscall(SYS_SMO_MAP, key);