[orbis-kernel] Fix sys_namedobj_delete+

This commit is contained in:
Ivan Chikish 2023-07-15 17:00:47 +03:00
parent 9ccf27ae2e
commit 3eb73b5534
4 changed files with 7 additions and 7 deletions

View file

@ -645,7 +645,7 @@ SysResult sys_osem_post(Thread *thread /* TODO */);
SysResult sys_osem_cancel(Thread *thread /* TODO */);
SysResult sys_namedobj_create(Thread *thread, ptr<const char[32]> name,
ptr<void> object, uint16_t type);
SysResult sys_namedobj_delete(Thread *thread, uint16_t id, uint16_t type);
SysResult sys_namedobj_delete(Thread *thread, uint id, uint16_t type);
SysResult sys_set_vm_container(Thread *thread /* TODO */);
SysResult sys_debug_init(Thread *thread /* TODO */);
SysResult sys_suspend_process(Thread *thread, pid_t pid);

View file

@ -48,6 +48,6 @@ struct Process {
// Named objects for debugging
utils::shared_mutex namedObjMutex;
utils::kmap<void *, utils::kstring> namedObjNames;
utils::OwningIdMap<NamedObjInfo, std::uint16_t, 65535, 1> namedObjIds;
utils::OwningIdMap<NamedObjInfo, uint, 65535, 1> namedObjIds;
};
} // namespace orbis