1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 03:15:08 +00:00

Kernel: Remove the per-process icon_id and sys$set_process_icon()

This was a goofy kernel API where you could assign an icon_id (int) to
a process which referred to a global shbuf with a 16x16 icon bitmap
inside it.

Instead of this, programs that want to display a process icon now
retrieve it from the process executable instead.
This commit is contained in:
Andreas Kling 2020-12-27 01:13:23 +01:00
parent cb68b8ff8b
commit 0e2b7f9c9a
12 changed files with 0 additions and 47 deletions

View file

@ -496,8 +496,6 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
return virt$kill(arg1, arg2);
case SC_set_mmap_name:
return virt$set_mmap_name(arg1);
case SC_set_process_icon:
return virt$set_process_icon(arg1);
case SC_exit:
virt$exit((int)arg1);
return 0;
@ -744,11 +742,6 @@ int Emulator::virt$kill(pid_t pid, int signal)
return syscall(SC_kill, pid, signal);
}
int Emulator::virt$set_process_icon(int shbuf_id)
{
return syscall(SC_set_process_icon, shbuf_id);
}
int Emulator::virt$gettimeofday(FlatPtr timeval)
{
struct timeval host_timeval;