mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:07:36 +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:
parent
cb68b8ff8b
commit
0e2b7f9c9a
12 changed files with 0 additions and 47 deletions
|
@ -58,7 +58,6 @@ struct ThreadData {
|
|||
unsigned inode_faults;
|
||||
unsigned zero_faults;
|
||||
unsigned cow_faults;
|
||||
int icon_id;
|
||||
unsigned times_scheduled;
|
||||
|
||||
unsigned times_scheduled_since_prev { 0 };
|
||||
|
@ -120,7 +119,6 @@ static Snapshot get_snapshot()
|
|||
thread_data.inode_faults = thread.inode_faults;
|
||||
thread_data.zero_faults = thread.zero_faults;
|
||||
thread_data.cow_faults = thread.cow_faults;
|
||||
thread_data.icon_id = stats.icon_id;
|
||||
thread_data.times_scheduled = thread.times_scheduled;
|
||||
thread_data.priority = thread.priority;
|
||||
thread_data.state = thread.state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue