refactoring pid_to_slot:

- use constants instead of hardcoded values
- add more comments

git-svn-id: svn://kolibrios.org@8851 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad)
2021-06-14 11:48:48 +00:00
parent 31048e6d73
commit 75fe8b68da
2 changed files with 10 additions and 5 deletions

View File

@@ -219,6 +219,7 @@ OS_BASE = 0x80000000
window_data = OS_BASE + 0x0001000
TASK_TABLE = OS_BASE + 0x0003000
CURRENT_TASK = OS_BASE + 0x0003000
TASK_COUNT = OS_BASE + 0x0003004
TASK_BASE = OS_BASE + 0x0003010