Rev 9822 | Rev 9995 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9822 | Rev 9964 | ||
---|---|---|---|
Line 342... | Line 342... | ||
342 | receives the messages on a keyboard input. For such window |
342 | receives the messages on a keyboard input. For such window |
343 | the position in the window stack coincides with returned value. |
343 | the position in the window stack coincides with returned value. |
344 | * Slot 1 corresponds to special system thread, for which: |
344 | * Slot 1 corresponds to special system thread, for which: |
345 | * the window is in the bottom of the window stack, the fields |
345 | * the window is in the bottom of the window stack, the fields |
346 | +4 and +6 contain value 1 |
346 | +4 and +6 contain value 1 |
347 | * name of the process - "OS/IDLE" (supplemented by spaces) |
347 | * name of the process - "IDLE" (supplemented by spaces) |
348 | * address of the process in memory is 0, size of used memory is |
348 | * address of the process in memory is 0, size of used memory is |
349 | 16 Mb (0x1000000) |
349 | 16 Mb (0x1000000) |
350 | * PID=1 |
350 | * PID=1 |
351 | * coordinates and sizes of the window and the client area are by |
351 | * coordinates and sizes of the window and the client area are by |
352 | convention set to 0 |
352 | convention set to 0 |
353 | * status of the slot is always 0 (running) |
353 | * status of the slot is always 0 (running) |
354 | * the execution time adds of time leaving on operations itself |
354 | * the execution time adds of time leaving on operations itself |
355 | and idle time in waiting for interrupt (which can be got by call |
355 | and idle time in waiting for interrupt (which can be got by call |
356 | to subfunction 4 of function 18). |
356 | to subfunction 4 of function 18). |
- | 357 | * Slot 2 (and some others) correspond to system threads, for which: |
|
357 | * Beginning from slot 2, the normal applications are placed. |
358 | * name of the thread - "OS" (supplemented by spaces) |
358 | * The normal applications are placed in memory at the address |
359 | * The normal applications are placed in memory at the address |
359 | 0 (kernel constant 'std_application_base_address'). |
360 | 0 (kernel constant 'std_application_base_address'). |
360 | There is no intersection, as each process has its own page table. |
361 | There is no intersection, as each process has its own page table. |
361 | * At creation of the thread it is assigned the slot |
362 | * At creation of the thread it is assigned the slot |
362 | in the system table and identifier (Process/Thread IDentifier = |
363 | in the system table and identifier (Process/Thread IDentifier = |